Skip to main content

Effective 10 September 2024, API Documentation can be found on our Equinix Product Documentation site.
The content on this page will not be updated after 1 Oct 2024 and will be inaccessible after 31st Dec 2024.


201: Created

The 201 (Created) status code indicates that the HTTP request was fulfilled and resulted in a new resource being created. In a POST request, the response will contain an entity describing or containing the result of the action. This can be a JSON response or a response HTTP header, Location, containing the URL of the created resource.

Code201
DescriptionCreated.

POST request with a JSON response

curl -X
POST "https://api.equinix.com/v1/orders/troubleticket"
-H "content-type: application/json"
-H "authorization: Bearer qwErtY8zyW1abcdefGHI"
-d '{
"ibxLocation": {
"ibx": "DB1",
"cages": [
{
"cage": "DB1:0G:00EQ11-1",
"accountNumber": "109921"
}
]
},
"serviceDetails": {
"incidentDateTime": "2019-07-02T03:00:24.311Z",
"problemCode": "ms01",
"serviceName": "Firewall Issue"
},
"contacts": [
{
"contactType": "ORDERING",
"userName": "johndoe"
},
{
"contactType": "TECHNICAL",
"userName": "johndoe",
"workPhonePrefToCall": "ANYTIME"
},
{
"contactType": "NOTIFICATION",
"userName": "johndoe"
}
]
}'

This is an example of a successful JSON response.

{
"OrderNumber": "1-188243137021"
}

POST request with a response HTTP header

curl -X
POST "https://api.equinix.com/v2/tickets"
-H "content-type: application/json"
-H "authorization: Bearer qwErtY8zyW1abcdefGHI"
-d '{
"code": "0002-0000",
"description": "The power seems to be unstable since Smart Hands cable installation from 2 days ago. Please check.",
"primaryId": "AM1:01:000111",
"occurredDateTime": "2020-08-01T03:00:24.311Z"
}'

This is an example of a successful HTTP header response.

Headers 
KeyValue
Location/tickets/1-211319530862