Get Shipment Metrics
GET /tms/shipment-metrics
Description
This endpoint retrieves metrics related to assigned and unassigned shipments. It provides information on the status and details of shipments, helping track their distribution and allocation.
Parameters
- tenantId (
string, header, required): The ID of the tenant. - countryCode (
string, header, required): The country code for filtering the shipment metrics.
Responses
-
200 OK
-
Media type: Controls Accept header.
-
Example Value:
{
"status": true,
"statusCode": 0,
"message": "string",
"data": {},
"errors": [
{
"message": "string",
"descriptiveMessage": "string"
}
]
}
-
-
400 Bad Request
- Description: Invalid request
- Media type: Controls Accept header.
-
404 Not Found
- Description: Shipment metrics not found
- Media type: Controls Accept header.
LANGUAGE
CURL REQUEST
curl --request GET \
--url /tms/shipment-metrics \
--header 'accept: application/json' \
--header 'content-type: application/json'
RESPONSE
Click Try It! to start a request and see the response here!