For all operations listed below you will need to provide HTTP Request Header Authorization param. For more details see Login/Auth page.
Get the list of Services
Route: /service
Method: GET
Example result
"entities": [
{
"name": "Service Name",
"commodity_id": "",
"transit_time": "",
"origin_country_id": "0",
"destination_country_id": "0",
"flight": "",
"volume_rate": "0",
"is_active": "1",
"id": "1",
"created_at": "",
"updated_at": "",
"service_id": "ABC",
"netsuite_id": "1",
"commodity_name": "",
"origin_country_name": "",
"destination_country_name": ""
},
{
...
}
...
"total": 123,
"result": true
Get service by internal ID
Route: /service/{internal_id}
Method: GET
Example result
{
"entity": {
"name": "Service Name",
"commodity_id": "",
"transit_time": "",
"origin_country_id": "0",
"destination_country_id": "0",
"flight": "",
"volume_rate": "0",
"is_active": "1",
"id": "1",
"created_at": "",
"updated_at": "",
"service_id": "ABC",
"netsuite_id": "1",
"commodity_name": "",
"origin_country_name": "",
"destination_country_name": ""
},
"result": true
}