Forum Discussion
API_User
6 years agoEquinix Employee
Issue with Shipments API
I'm currently getting a 400 response without any sort of indication of what the problem may be. Here is an example request that I am sending with some information redacted:
{
"ibxLocation"...
API_User
6 years agoEquinix Employee
Hi Dustin,
Thanks for reaching us out for the issue you are facing. We have examined your shared request packet. Everything looks good except for the value being passed for “estimatedDateTime”. The “estimatedDateTime” should be a future date and the value should be provided in ISO date format ex: 2019-10-30T00:00:00Z Please update the value of “estimatedDateTime” as per this format and you should be able to place the order successfully.
Additionally, as shared earlier, please use “/v1/orders/shipment/locations?detail=true” API to retrieve details of IBX/Cage/Cabinet/AccountNumber to which your integration user has access to. Please use the same to construct “ibxLocation” in Shipment request. I believe while sharing the request you have replaced the actual values with sample values.
Thanks,
Equinix Team
Thanks for reaching us out for the issue you are facing. We have examined your shared request packet. Everything looks good except for the value being passed for “estimatedDateTime”. The “estimatedDateTime” should be a future date and the value should be provided in ISO date format ex: 2019-10-30T00:00:00Z Please update the value of “estimatedDateTime” as per this format and you should be able to place the order successfully.
Additionally, as shared earlier, please use “/v1/orders/shipment/locations?detail=true” API to retrieve details of IBX/Cage/Cabinet/AccountNumber to which your integration user has access to. Please use the same to construct “ibxLocation” in Shipment request. I believe while sharing the request you have replaced the actual values with sample values.
Thanks,
Equinix Team
Related Content
- 10 months ago
- 5 years ago