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/webhook/api/v1/shipment-usage?startTime=<dateTime>&endTime=<dateTime>&periodicity=MONTHLY

Request Params

KeyDatatypeRequiredDescription
startTimestringStart time at which usages must be found
endTimestringEnd time at which usages must be found
periodicitystring

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"apis":{"dolore_92f":{"periodicUsages":{"cupidatat_772":{"consumedShipment":"\u003cinteger\u003e","consumedShipmentList":["\u003cstring\u003e","\u003cstring\u003e"]},"labore_1b":{"consumedShipment":"\u003cinteger\u003e","consumedShipmentList":["\u003cstring\u003e","\u003cstring\u003e"]},"Lorem_df":{"consumedShipment":"\u003cinteger\u003e","consumedShipmentList":["\u003cstring\u003e","\u003cstring\u003e"]}}},"irure2cf":{"periodicUsages":{"sed3":{"consumedShipment":"\u003cinteger\u003e","consumedShipmentList":["\u003cstring\u003e","\u003cstring\u003e"]}}}}}