Create a ticket against your service. Associate your service via the serviceId
, componentId
, or circuitId
returned from the Service Inventory route.
Ticket request body. There are different request bodies for each ticket type. Prerequisites include having reference to your service from the service inventory route and pass in either the serviceId
, componentId
, or circuitId
key value pair in the request.
Success - Technical Support ticket type
Bad Request
{- "ticketType": "Technical Support",
- "contacts": [
- {
- "contactType": "Primary",
- "fullName": "Devon Holt",
- "email": "devon.holt@zayo.com",
- "phone": "123-456-7890"
}
], - "customerReferenceId": "Zayo-1398732",
- "description": "TESTING API",
- "downtimeInitialDate": "2022-06-29",
- "downtimeInitialTime": "20:20:39+00:00",
- "circuitId": "ETYX/TEST011/ZYO",
- "serviceId": "a0M0z00000PiJ3SEAV",
- "componentId": "a1X0z000004aLc6EAE",
- "serviceState": "Impaired",
- "subject": "TESTING",
- "troubleshooting": {
- "circuitPassTraffic": false,
- "disconnectedFibers": false,
- "gearOn": true,
- "interfaceReset": false,
- "verifyLightLevels": false
}
}
{- "apiVersion": "v1",
- "data": {
- "status": "New",
- "ticketId": "5004z00001dIuveAAC",
- "ticketNumber": "TTN-0005833575",
- "customerReferenceId": "Zayo-239823",
- "dateTimeOpened": "2022-04-25T20:29:49.000+0000"
}
}
Add a ticket comment to directly communicate with the Zayo NOC team. Once a comment is added on a ticket, the ticket status will update to Action Required, so that it notifies our NOC teams.
Ticket comment request body. Either ticketId
or ticketNumber
is required.
Success
Bad Request
{- "ticketId": "5000x00000BHrN2AAL",
- "ticketNumber": "TTN-0003449133",
- "commentBody": "The problem was not resolved, please address.",
- "contactEmail": "wwhite@company.com",
- "contactName": "Walter White",
- "customerReferenceId": "Ticket 1029342"
}
{- "apiVersion": "v1",
- "data": {
- "message": "Ticket comment was successfully created",
- "success": true
}
}
Get ticket and ticket comment details.
Success
curl -i -X GET \ 'https://api.zayo.com/services/service-management/v1/ticket-details/{ticketName}' \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
{- "apiVersion": "v1",
- "data": {
- "serviceSummary": {
- "billingAccountNumber": "11-DevTest",
- "componentId": "a1X0z000004aLc6EAE",
- "customerAccount": "Test Account - Tranzact Billing",
- "poNumber": "TT-1298126",
- "serviceId": "a0M0z00000PiJ3SEAV",
- "serviceName": "559512"
}, - "ticketDetails": {
- "ticketComments": [
- {
- "commentBody": "Dear Zayo Customer, <br/><br/>We are investigating a possible service interruption which may be impacting your circuit. We regret that your services are impacted and appreciate your patience while we troubleshoot and work diligently to resolve the underlying issue. We will continue to provide updates until your services have been restored. If you have any additional questions please contact the Zayo Network Control Center and reference the ticket below.<br/><br/>GENERAL INFORMATION<br/>Case Number: TTN-0006181640<br/>Customer Ticket Number: Zayo-1398732<br/>Customer Circuit Id: <br/>Case Subject: TESTING<br/>Case Description: TESTING API\\n\\nContact Email: devon.holt@zayo.com\\nContact Name: Devon Holt\\nContact Phone: 123-456-7890\\nContact Type: Primary<br/>Case Status: New<br/>Case Sub-Status: In Queue<br/><br/>LOCATION INFORMATION <br/>Location A: <br/>Location Z: <br/><br/>For quick access to ticket creation and updates, please visit our <a href=\\\"https://tranzact.zayo.com\\\">Tranzact</a> portal. <br/>Zayo US: 1.866.236.2824<br/>Zayo Canada: 1.888.404.9296<br/>Zayo UK: +44 (0) 20 3846 4222<br/>Zayo France: +33 (0) 1 49 97 07 37<br/>Website: https://www.zayo.com\",",
- "createdBy": "Tranzact Admin",
- "createdDate": "2022-09-08T20:04:20.000+0000"
}
], - "closureSummary": "This was a test ticket and has been closed.",
- "contacts": [
- {
- "email": "test@test.com",
- "fullName": "Test Test",
- "phone": "(877) 502-8600"
}
], - "criticalDates": {
- "dateTimeOpened": "2022-09-08T20:04:20.000+0000",
- "dateTimeClosed": "2022-09-08T20:36:25.000+0000",
- "downtimeInitialDate": "2022-09-08T20:04:19.000+0000",
- "lastUpdateDateTime": "2022-09-08T20:36:24.000+0000",
- "restoreDateTime": "2022-09-08T20:36:25.000+0000"
}, - "customerReferenceId": "Zayo-1398732",
- "description": "TESTING API\\r\\n\\r\\nContact Email: devon.holt@zayo.com\\r\\nContact Name: Devon Holt\\r\\nContact Phone: 123-456-7890\\r\\nContact Type: Primary",
- "impact": "Impaired",
- "repairAction": {
- "fixType": "string",
- "otherRestore": "string",
- "restoreAction": "string",
- "restoreItem": "string"
}, - "subject": "TESTING",
- "symptom": "Degraded",
- "ticketOwner": "Technical Support Desk",
- "ticketNumber": "TTN-0006181640",
- "ticketStatus": "Cancelled",
- "ticketSubStatus": "Cancelled",
- "ticketType": "Technical Support"
}
}
}
Retrieve all tickets based on filter options and pagination.
Optional request body to apply filters to return a list of all tickets. Pagination with top and skip options.
Success
Bad Request
{- "filter": {
- "or": [
- {
- "status": "New"
}, - {
- "status": "Isolation and Repair"
}
]
}, - "paging": {
- "top": 50,
- "skip": 0
}
}
{- "apiVersion": "v1",
- "data": {
- "records": [
- {
- "circuitId": "ETYX/TEST012/ZYO",
- "componentId": "a1X0z000004aLcBEAU",
- "customerReferenceId": "test",
- "description": "Issue: Slow Service - Constant Description: test Customer Reported Initial Down time : Jun 27, 2022 2:59 PM",
- "legacyCircuitId": null,
- "serviceId": "a0M0z00000PiJ3XEAV",
- "serviceName": "559513",
- "status": "Service Restored",
- "subStatus": "Monitor",
- "subject": "Test Account - GBP / ETYX/TEST012/ZYO / Hard Down",
- "dateTimeOpened": "2022-06-27T15:01:30.000Z",
- "dateTimeClosed": "2022-06-27T14:15:52.000Z",
- "ticketId": "5004z00001dBSudAAG",
- "ticketNumber": "TTN-0005993810",
- "ticketType": "Technical Support"
}
], - "metadata": {
- "top": 5,
- "skip": 0,
- "currentPage": 1,
- "totalPages": 4964,
- "totalRecordCount": 24818
}
}
}
Send action for existing tickets whether to Approve Resolution or Cancel Ticket.
Send Ticket Action request body. Either ticketId
or ticketNumber
is required.
Success
Bad Request
{- "ticketId": "5000x00000BHrN2AAL",
- "ticketNumber": "TTN-0003449133",
- "contactEmail": "wwhite@company.com",
- "contactName": "Walter White",
- "ticketAction": "Approve Resolution"
}
{- "apiVersion": "v1",
- "data": {
- "message": "Ticket was successfully updated."
}
}