202: Accepted
The 202 (Accepted) status code indicates that the request has been accepted for processing, but the processing has not been completed. Processing may not have started yet, the request might or might not be acted upon, and the request might be disallowed when processing actually takes place. In a PATCH or POST request, the response will contain an entity describing or containing the result of the action. This is normally a response HTTP header, Location, containing the URL of the created resource.
Code | 202 |
Description | Accepted. |
POST request
curl -X GET 'https://api.equinix.com/internetAccess/v1/accounts?operationalUnits.ibxs.ibx=DC5&offset=0&limit=50'
-H 'authorization: Bearer qwErtY8zyW1abcdefGHI'
-d {
"accountNumber": "132028",
"customerReferenceNumber": "My Reference",
"endCustomerOrderInfoName": "Dexter Morgan",
"ibxCode": "SV10",
"initialTerm": "TERM_24_MONTHS",
"orderItem": {
"drawCapRating": 5,
"fabricPort": true,
"numberOfCabinets": 1,
"pdu": true
},
"purchaseOrderNumber": "8-132028",
"technicalContact": {
"availability": "WORK_HOURS",
"availabilitySecondary": "WORK_HOURS",
"contactDetails": {}
}
}
This is an example of a success message.
{
"orderNumber": "1-126546546546"
}