Retrieve list of shipments called with the API, that usages have a minimum resolution of a month (you cant select the usage for one week for example, the usage will automatically be for the month of the week provided)
GET https://api.sinay.ai/container-tracking/api/v2/shipment-usage?startTime=<dateTime>&endTime=<dateTime>&periodicity=DAILY
Request Params
Key | Datatype | Required | Description |
---|
startTime | string | | Start time at which usages must be found |
endTime | string | | End time at which usages must be found |
periodicity | string | | |
Key | Datatype | Required | Description |
---|
Accept | string | | |
RESPONSES
status: OK
{"apis":{"anim_a1":{"periodicUsages":{"minim02":{"consumedShipment":"\u003cinteger\u003e","consumedShipmentList":["\u003cstring\u003e","\u003cstring\u003e"]},"velit_c":{"consumedShipment":"\u003cinteger\u003e","consumedShipmentList":["\u003cstring\u003e","\u003cstring\u003e"]}}},"commodo0":{"periodicUsages":{"sint9":{"consumedShipment":"\u003cinteger\u003e","consumedShipmentList":["\u003cstring\u003e","\u003cstring\u003e"]},"Ut_df":{"consumedShipment":"\u003cinteger\u003e","consumedShipmentList":["\u003cstring\u003e","\u003cstring\u003e"]}}}}}