Note |
---|
While technically there is no limit to the number of child service code levels, one must realize that there is practical limit based on usability and storage requirements of the mobile device. |
Resource URL Summary
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
Retrieve the details of a specific Service Code
Retrieve a list of all Service Codes
Insert or Update the details of a specific Service Code
Bulk Insert of Update the details of Service Codes
Update only supplied details of a specific Service Code
Delete a specific Service Code
|
API Specific Parameters
Parameter | Description |
---|---|
| Identifies the REST Object Definitions Work Order Activity Related Objects Service Code Object. Notice that the URL format supports directly accessing child codes. |
Include Page | ||||
---|---|---|---|---|
|
API Specifics
Panel | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||
Retrieve the details of a specific Service CodeThis REST API will return a Service Code with the specified ID, or the specific hierarchy of IDs. The Service Code with the specified ID, or specific hierarchy of IDs, must already exist in the system. The Service Code object returned will contain all child URL
HTTP Request BodyThis request does not require a request body. HTTP Response BodyOn success, an HTTP response code of 200 will be returned, and the response body will contain a REST Object Definitions Work Order Activity Related Objects Service Code Object including all child
|
Panel | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||
Retrieve a list of all Service CodesThis REST API will return a list of all top-level Service Codes that exist in the system. The Service Code objects returned will not contain any child URL
HTTP Request BodyThis request does not require a request body. HTTP ResponseOn success, an HTTP response code of 200 will be returned, and the response body will contain a collection of Service Code Objects, excluding all child It is possible for the returned collection to be empty if the system does not have any Service Codes.
|
Panel | |||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
Insert or Update the details of a specific Service CodeThis REST API will insert a new Service Code Order with the specified ID, or the specific hierarchy of IDs, into the system, if a Service Code with the specified ID, or the specific hierarchy of IDs, does not already exist in the system. If, however, the Work Order Service Code with the specified ID, or the specific hierarchy of IDs, does already exist in the system, then this REST API will update (i.e. replace) the already existing Service Code with the specified ID, or the specific hierarchy of IDs, with the details of the Service Code supplied in the HTTP Request Body. If replacing an existing Service Code object, then the API will replace all child URL
HTTP Request BodyThe HTTP request body must contain a valid REST Object Definitions Work Order Activity Related Objects Service Code Object. Remember to include all required SubCodes. HTTP ResponseOn success the API will return a status code of 200. |
Panel | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
Bulk Insert or Update the details of Service CodesThis REST API will insert new Service Code with the specified IDs into the system, if the Service Codes with the specified IDs do not already exist in the system. If, however, the Service Codes with the specified IDs do already exist in the system, then this REST API will update (i.e. replace) the already existing Service Codes with the specified IDs with the details of the Service Codes supplied in the HTTP Request Body. URL
HTTP Request Body The HTTP request body must be a JSON array of one or more REST Object Definitions Work Order Activity Related Objects Service Code Object definitions.
HTTP ResponseOn success the API will return a status code of 200. |
Panel | |||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
Update only supplied details of a specific Service CodeThis REST API will update an existing Service Code with the information provided. Any existing information not specified in the new request will remain unchanged. The Service Code with the specified ID, or the specific hierarchy of IDs, must already exist in the system. This API provides an easy and safe way to make updates to individual Service Codes or groups of Service Codes without having to provide the entire list, as any Service Codes that already exist, but are not specified in the POST call, are left unmodified, unlike the PUT method which would remove them. URL
HTTP Request BodyThe HTTP request body must contain a valid REST Object Definitions Work Order Activity Related Objects Service Code Object. HTTP ResponseOn success the API will return a response code of 200. |
Panel | |||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
Delete a specific Service CodeThis REST API will delete a Service Code and all of its child All child URL
HTTP Request BodyThis request does not require a request body. HTTP ResponseOn success an HTTP response code of 200 will be returned. The system will return HTTP response code 410 in case of non-existent REST Object Definitions Work Order Activity Related Objects Service Code Object. |