The article includes:
This call provides you with a list of service types eligible on this account.
URLs
Request URL (production) | https://prismproapi.koretelematics.com/4/TransactionalAPI.svc/json/queryServiceTypeCodes |
Request URL (sandbox) | https://prismproapi.sandbox.koretelematics.com/4/TransactionalAPI.svc/json/queryServiceTypeCodes |
Request method | Post |
Request
Field | Data type | Mandatory | Min length | Max length | Description |
N/A | Nothing required. |
JSON request example
N/A
Response
Parameter name | Data type | Min length | Max length | Description |
requestStatus | int | Request status code. | ||
Items: code | string | 50 | Service type shortcode. | |
Items: name | string | 50 | Service type name. |
JSON request example
{ "d": { "__type": "ItemNameList:https://PRiSMProAPI.koretelematics.com/types", "requestStatus": 0, "items": [ { "__type": "ItemNameRecord:https://PRiSMProAPI.koretelematics.com/types", "code": "SERVICETYPECODE1", "name": "SERVICETYPENAME1" }, { "__type": "ItemNameRecord:https://PRiSMProAPI.koretelematics.com/types", "code": "SERVICETYPECODE2", "name": "SERVICETYPENAME2" } ] } }