<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.