Class NetServices
Helper class to update/parse NetServices URLs and store/update the user preferences.
Inherited Members
Namespace: SuperOffice.CRM
Assembly: SoDataBase.dll
Syntax
public class NetServices
Constructors
NetServices()
Helper class to update/parse NetServices URLs and store/update the user preferences.
Declaration
public NetServices()
Methods
GetNetServicesStatusUrl()
Returns URL to status service. e.g. 'https://help.superoffice.com/sodispatcher/v1/status' Returns NULL if status does not need to be checked yet.
Declaration
public static string GetNetServicesStatusUrl()
Returns
| Type | Description |
|---|---|
| string | NULL or URL of the status service that returns an XML or JSON block. |
GetPocketCentralServicesUrl()
Helper class to update/parse NetServices URLs and store/update the user preferences.
Declaration
public static string GetPocketCentralServicesUrl()
Returns
| Type | Description |
|---|---|
| string |
HasCentralPocketServicesPreference()
Helper class to update/parse NetServices URLs and store/update the user preferences.
Declaration
public static bool HasCentralPocketServicesPreference()
Returns
| Type | Description |
|---|---|
| bool |
UpdateNetServicesStatusAsync(string, CancellationToken)
Helper class to update/parse NetServices URLs and store/update the user preferences.
Declaration
public static Task UpdateNetServicesStatusAsync(string json_or_xml, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| string | json_or_xml | |
| CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| Task |