Grow your footprint by reviewing Zayo products in our Product Catalog API, generating quotes with our Quoting API, and automating the ordering process through the Order API.
Returns order contact information per billing account for a specified quote. Use the id
returned in the billingAccounts
array, id
returned in the signers
array, and id
returned in the primary
array in the following respective fields in the order request payload - billingAccountId
, primaryContactId
, and contractSignerId
. You use either the quoteId
or quoteName
path param, only one is required to retrieve your order information.
Please Note: At the moment, only quoteId
is accepted in the order request payload.
Success
Bad Request
curl -i -X GET \ 'https://api.zayo.com/services/order-management/v2/orders/contacts/{quoteId}' \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
{- "apiVersion": "v2",
- "data": {
- "quoteId": "0b85fdf6-f462-47b9-8bf3-7996f4f2db9a",
- "currencyIsoCode": "USD",
- "billingAccounts": [
- {
- "id": "0010z00001RkkUVAAZ",
- "billingAccountNumber": "1-TrazDemo",
- "currencyIsoCode": "USD",
- "name": "Mordor Forging - Trial Account",
- "signers": [
- {
- "id": "0030z00002OamyHAAR",
- "firstName": "Hannah",
- "lastName": "Wanderer"
}, - {
- "id": "0030z00002V068qAAB",
- "firstName": "Leidy",
- "lastName": "Perez"
}
], - "primary": [
- {
- "id": "0030z00002OamyHAAR",
- "firstName": "Hannah",
- "lastName": "Wanderer"
}
]
}, - {
- "id": "0010z00001RmCjJAAV",
- "billingAccountNumber": "31857",
- "currencyIsoCode": "USD",
- "name": "Enterprise Networks Demo Test Account",
- "signers": [
- {
- "id": "0030z00002UxqhqAAB",
- "firstName": "Randall",
- "lastName": "Holman"
}
], - "primary": [
- {
- "id": "0030z00002UxqhqAAB",
- "firstName": "Randall",
- "lastName": "Holman"
}, - {
- "id": "0030z00002RTQwMAAX",
- "firstName": "Devon",
- "lastName": "Holt"
}
]
}
]
}
}
Order a quote. Creates a job to be completed in the background that creates the New Order and saves the result as a jobId
for lookup. Since this is a time-consuming task for Zayo, this route will trigger a job that will create an order directly in Zayo's ordering system. The response is a jobId
, and you will follow up on the request via the job/{jobId}
route to get the Order details.
Pre-requisite APIs include quotes route (alternativly have your account rep provide this value) and the contacts route to get your billing account and order contact information. SOF signature is still required after the order is placed. Certain orders are eligible for digital signature.
Please Note: At the moment, only quoteId
is accepted in the order request payload.
Order request body. Prequisites include having a quoteId or quoteName from the quotes/quote route as well as billingAccountId, primaryContactId, and contractSignerId from the /orders/contacts/{quoteId} route.
Success
Bad Request
{- "quoteId": "826e5192-f8c6-4e24-aab3-3910e46c52b7",
- "term": 12,
- "billingAccountId": "0014z00001d89HqAAI",
- "primaryContactId": "0030z00002YnGLRAA3",
- "contractSignerId": "0030z00002YnGLRAA3",
- "notes": "These are some notes",
- "poNumber": "Zayo-12345",
- "msaRead": true,
- "serviceScheduleRead": true,
- "digitalSignature": true,
- "provisioningDetails": [
- {
- "cloudProvider": "Amazon AWS",
- "accountId": "529554258215",
- "sTagVlanId": "101",
- "cTagVlanId": "232"
}
]
}
{- "apiVersion": "v2",
- "data": {
- "jobId": "a0e5a907-0851-47f2-8870-e58e565061f3"
}
}
Returns job status. Once the job is finished processing it will return order details. The order job typically finishes processing within 30 seconds. The order details include a similar schema as the quote response in addition to the serviceOrderNumber
attribute.
Success
Bad Request
curl -i -X GET \ 'https://api.zayo.com/services/order-management/v2/job/{jobId}' \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
{- "apiVersion": "v2",
- "data": {
- "status": "processing",
- "result": null
}
}