-
Notifications
You must be signed in to change notification settings - Fork 2
GetCompanyInformation
Arivetti edited this page Aug 8, 2025
·
2 revisions
The GetCompanyInformation function retrieves information on the company from which the integration has been authorized.
public WSResultOfWSCompanyInformation GetCompanyInformation(string token)| Parameter | Type | Description |
|---|---|---|
| token | String | The session token retrieved during authentication. |
Integration ws = new Integration();
String auth = "";// See Authentication page for more
if (auth != null)
{
var info = ws.GetCompanyInformation(auth);
Assert.AreEqual(OperationStatus.Success, info.Status);
Assert.IsNotNull(info.Result);
Console.WriteLine("The company " + info.Result.CompanyName + " uses " + info.Result.BaseCurrencyCode + " as its base currency.");
}