Skip to main content

Responses

All APIs return response in application/json content type. e.g.

{
"message": "Trip Plan Request Created"
}

If an API response data that you have requested i.e. details on an item, list of items, this data will be present in the data property of the json response object.

{
"data": {
"id": 1,
"name": "Sembark User"
}
}

If an API responses with a list of items, this data property will be an array of items.

{
"data": [
{
"id": 1,
"name": "Sembark User"
}
]
}