Download OpenAPI specification:Download
This page lists the REST services exposed by *api.staging.shipnsd.com/schedule/v1*.
An API key is required to invoke the services. Contact the service owner to get your API key.
This function and API sets the schedule window for a particular freight bill via the API. Example cURL statement
curl -XPOST -d '{"param1":"value1","param2":"value2"}' -H 'API-TOKEN: YOUR_TOKEN' 'https://api.staging.shipnsd.com/schedule/v1/window'
Example using JWT or OAuth 2.0 token
curl -XPOST -d '{"param1":"value1","param2":"value2"}' -H 'Authorization: Bearer YOUR_TOKEN' 'https://api.staging.shipnsd.com/schedule/v1/window'
billNumber | string Freight Bill Number |
token | string Time based hash |
zipCode | string |
selectedDate | string <date-time> |
selectedStartTime | string |
selectedEndTime | string |
Success reply
Unauthorized
Processing error
Server error
{- "billNumber": "string",
- "token": "string",
- "zipCode": "string",
- "selectedDate": "2020-07-14T15:37:45Z",
- "selectedStartTime": "string",
- "selectedEndTime": "string"
}
{- "result": "string",
- "error_state": 0,
- "error_code": 0,
- "error_message": "string"
}
When there is a new call for callable recipe, do action Example cURL statement
curl -XGET -H 'API-TOKEN: YOUR_TOKEN' 'https://api.staging.shipnsd.com/schedule/v1/window?param1=value1¶m2=value2'
Example using JWT or OAuth 2.0 token
curl -XGET -H 'Authorization: Bearer YOUR_TOKEN' 'https://api.staging.shipnsd.com/schedule/v1/window?param1=value1¶m2=value2'
billNumber required | string Freight Bill Number |
zipCode required | string Consignee Zip code |
Success reply
Unauthorized
Processing error
Server error
{- "result": "string",
- "token": "string",
- "windows": [
- {
- "date": "2020-07-14T15:37:45Z",
- "startTime": "string",
- "endTime": "string",
- "slotsAvailable": 0
}
]
}