Get SLA policy
This endpoint is used to retrieve the details of a service level agreement policy.
URL
GET https://{api-url}/api/v2/tenants/{tenantId}/{ticketType}/slaPolicies/{id}
Sample URLs
https://{api-url}/api/v2/tenants/client_8/incidents/slaPolicies/7
https://{api-url}/api/v2/tenants/client_8/serviceRequests/slaPolicies/7
Notes
- Sample responses for response time, resolution breach time, resolution remainders, and response remainders use seconds format.
- SLA Polices are valid only for incident and service request ticket types.
Sample response
{
"id": 6,
"name": "P4_INCIDENT_SLA",
"requestType": "INCIDENT",
"withinBussinessHours": true,
"active": true,
"priority": "Low",
"createdDate": "2016-07-24T13:59:54+0000",
"updatedDate": "2016-11-22T09:42:18+0000",
"responseBreachTime": 18000,
"resolutionBreachTime": 72000,
"responseReminders": [{
"reminderTime": 16200,
"percentage": 10,
"cc": "sample@gmail.com"
},
{
"reminderTime": 14400,
"percentage": 20,
"cc": "john.smith@gmail.com"
}
],
"resolutionReminders": [{
"reminderTime": 36000
},
{
"reminderTime": 21600,
"cc": "sample@gmail.com"
},
{
"reminderTime": 10800,
"cc": "sample@gmail.com"
}
],
"timezone": {
"id": "12",
"name": "GMT",
"label": "Greenwich Mean Time",
"code": "GMT"
},
"createdBy": {
"loginName": "john.smith",
"lastName": "smith",
"firstName": "john",
"email": "sample@gmail.com",
"phoneNumber": "9985512345"
},
"updatedBy": {
"id": "USR0000000018",
"loginName": "superadmin",
"lastName": "Admin",
"firstName": "SP",
"email": "sample@gmail.com",
"phoneNumber": ""
},
"businessSchedule": {
"startTime": "10:00:00",
"endTime": "20:00:00",
"sunday": false,
"monday": true,
"tuesday": true,
"wednesday": true,
"thursday": true,
"friday": true,
"saturday": false
}
}