<a id=“SuperOffice_WebApi_Agents_IApiAgent”></a> Interface IApiAgent
Namespace: SuperOffice.WebApi.AgentsAssembly: SuperOffice.WebApi.dll Interface for API agents: API info, tenant status, Client library version
Implements
IAgentBase, IDisposableMethods
<a id=“SuperOffice_WebApi_Agents_IApiAgent_GetApiVersionAsync_SuperOffice_WebApi_RequestOptions_”></a> GetApiVersionAsync(RequestOptions)
Gets version info from base URL.Parameters
requestOptions RequestOptions
Override language/culture codes on this request.
Returns
Task<StringDictionary> Dictionary containing meta-data: “NetServerVersion”, “Services”, “Version”<a id=“SuperOffice_WebApi_Agents_IApiAgent_GetTenantStatusAsync_System_String_System_String_SuperOffice_WebApi_RequestOptions_”></a> GetTenantStatusAsync(string, string, RequestOptions)
Returns the tenant status for a given customer, in a given environment. Does not need base URL to be set.Parameters
tenantCustId string
The Online customer id: “Cust1234”
subdomain string
“sod”, “qastage” or “online”. Default “online” (production). See <xref href=“SuperOffice.WebApi.SubDomain” data-throw-if-not-resolved=“false”></xref>
requestOptions RequestOptions
Override language/culture codes on this request.