This function retrieves all service numbers from the client account.
|
None
If the request is performed, 200 OK is returned. See Return Codes for further possible status codes.
A JSON Structure containing the following fields:
Field | Type | Data |
---|---|---|
filter | String | The applied filter. This is reserved for future use. |
limitStart | Integer | The first record index. Currently 0, reserved for future use. |
limitPageSize | Integer | The number of records. -1 indicates all records. Reserved for future use. |
records | ServiceNumbers [] | An array of ServiceNumbers. |
count | Integer | The number of records returned. |
orderBy | String | The field used to sort the records. |
ascending | Boolean | Whether the array of records is sorted ascending or descending. |
status | Integer | The return code (also provided by the http status code). |
Note, the records array has been shortened for readability.
|
This function retrieves a specific service number by ID.
GET {baseURL}/serviceNumbers/serviceNumber/{serviceNumbersID} |
Parameter | Where | Type | Data |
---|---|---|---|
serviceNumbersID | URL | Integer | The ID of the service number. |
If the request is performed, 200 OK is returned. See Return Codes for further possible status codes.
A JSON Structure containing the returned data.
Field | Type | Data |
---|---|---|
records | ServiceNumbers [] | An array of ServiceNumbers, containing ServiceNumber. |
count | Integer | 1 |
status | Integer | The return code (also provided by the http status code). |
Note, the record array has been shortened for readability.
|
This function retrieves one or more ServiceNumbers, depending on the passed name. If more than one ServiceNumber is available which matches the name passed (partial match), then all corresponding service numbers will be returned.
|
Parameter | Where | Type | Data |
---|---|---|---|
ServiceNumbersName | Query | String | The name of the service number(s) to retrieve. |
If the request is performed, 200 OK is returned. See Return Codes for further possible status codes.
A JSON Structure containing the returned acd groups.
Field | Type | Data |
---|---|---|
records | ServiceNumbers [] | An array of ServiceNumbers. |
count | Integer | The number of records returned. |
status | Integer | The return code (also provided by the http status code). |
Note, the records array has been shortened for readability.
|