|
FUNCTION Create(spsObjectType$) |
Create XML mapped object of the specified type
|
| Parameter | Description |
| spsObjectType$ |
[input, string] Type of SPS object |
|
| Returns |
[constant, object handle] Handle to the SPS object created |
|
|
FUNCTION FromXML(xmlData$) |
Deserialize an XML string to its proper object type
|
| Parameter | Description |
| xmlData$ |
[string] XML data string |
|
| Returns |
[constant, object handle] Handle to the SPS object created |
|
|
FUNCTION GetUniqueID$() |
Get a unique ID value from the SDK client (UUID)
|
| Returns |
[string] Unique ID |
|
|
FUNCTION TestInternetConnection() |
|
FUNCTION TestInternetConnection(retest) |
Test internet connection
|
| Parameter | Description |
| retest |
{optional} [input, boolean] if true, will retest internet connection |
|
| Returns |
[boolean] Success if there is internet connectivity, otherwise failure. |
|
|
FUNCTION ToXML$(spsObject) |
Convert a serializable object to XML string
|
| Parameter | Description |
| spsObject |
[constant, object handle] The handle for the SPS object |
|
| Returns |
[string] XML string |
|
|
FUNCTION LOCAL CreateRequest(appID$, langID$) |
|
FUNCTION LOCAL CreateRequest(appID$, langID$, appKey$) |
Create and return a Request_v1 object
|
| Parameter | Description |
| appID$ |
[input, string] The SPS application / client ID for MAS 90/200 |
| langID$ |
[input, string] The Language ID (EN for English) |
| appKey$ |
[input, string] The SPS clientKey$ associated with the appID$ |
|
| Returns |
[constant, object handle] Handle to the request object created |
|
|
FUNCTION LOCAL Submit(spsObject) |
Submit object (Request_V1) to the SPS client
|
| Parameter | Description |
| spsObject |
[constant, object handle] The handle for the SPS object |
|
| Returns |
[constant, object handle] The handle to the response object |
|
|
FUNCTION LOCAL Submit(xmlData$) |
Submit XML string to the SPS client
|
| Parameter | Description |
| xmlData$ |
[string] XML data string |
|
| Returns |
[constant, object handle] The handle to the response object |
|