Endpoint
/api/v2/tenants/{tenantId}/{ticketType}/slaPolicies/search
Path Parameters
tenantId
string

ticketType
string

Query Parameters
pageNo
integer

pageSize
integer

sortName
string

isDescendingOrder
boolean

queryString
string

Responses

OK

descendingOrder
boolean

nextPage
boolean

nextPageNo
integer

orderBy
string

pageNo
integer

pageSize
integer

previousPageNo
integer

results
array

results.active
results.businessSchedule
results.createdBy
results.createdDate
results.id
results.name
results.priority
results.requestType
results.resolutionBreachTime
results.resolutionReminders
results.responseBreachTime
results.responseReminders
results.timezone
results.updatedBy
results.updatedDate
results.withinBussinessHours
totalPages
integer

totalResults
integer

{
  "descendingOrder": true,
  "nextPage": false,
  "orderBy": "id",
  "pageNo": 1,
  "pageSize": 10,
  "previousPageNo": 0,
  "results": [
    {
      "active": true,
      "createdBy": {
        "email": "sample@gmail.com",
        "firstName": "john",
        "lastName": "smith",
        "loginName": "john.smith",
        "phoneNumber": "9985512345"
      },
      "createdDate": "2016-08-12T11:42:14+0000",
      "id": 7,
      "name": "P0_SR_SLA",
      "priority": "Low",
      "requestType": "SERVICEREQUEST",
      "resolutionBreachTime": 36000,
      "responseBreachTime": 36000,
      "updatedBy": {
        "email": "sample@gmail.com",
        "firstName": "SP",
        "id": "USR0000000018",
        "lastName": "Admin",
        "loginName": "superadmin",
        "phoneNumber": ""
      },
      "updatedDate": "2016-11-21T11:13:56+0000",
      "withinBussinessHours": true
    },
    {
      "active": true,
      "createdBy": {
        "email": "sample@gmail.com",
        "firstName": "john",
        "lastName": "smith",
        "loginName": "john.smith",
        "phoneNumber": "9985512340"
      },
      "createdDate": "2016-07-24T13:59:54+0000",
      "id": 6,
      "name": "P4_INCIDENT_SLA",
      "priority": "Low",
      "requestType": "INCIDENT",
      "resolutionBreachTime": 72000,
      "responseBreachTime": 18000,
      "updatedBy": {
        "email": "sample@gmail.com",
        "firstName": "SP",
        "id": "USR0000000018",
        "lastName": "Admin",
        "loginName": "superadmin",
        "phoneNumber": ""
      },
      "updatedDate": "2016-11-22T09:42:18+0000",
      "withinBussinessHours": true
    },
    {
      "active": true,
      "createdBy": {
        "email": "sample@gmail.com",
        "firstName": "john",
        "lastName": "smith",
        "loginName": "john.smith",
        "phoneNumber": "9985512356"
      },
      "createdDate": "2016-07-24T13:19:53+0000",
      "id": 4,
      "name": "P2_INCIDENT_SLA",
      "priority": "Normal",
      "requestType": "INCIDENT",
      "resolutionBreachTime": 5400,
      "responseBreachTime": 1800,
      "updatedBy": {
        "email": "sample@gmail.com",
        "firstName": "john",
        "lastName": "smith",
        "loginName": "john.smith",
        "phoneNumber": "9985512356"
      },
      "updatedDate": "2016-07-24T07:49:53+0000",
      "withinBussinessHours": true
    },
    {
      "active": true,
      "createdBy": {
        "email": "sample@gmail.com",
        "firstName": "john",
        "lastName": "smith",
        "loginName": "john.smith",
        "phoneNumber": "9985512340"
      },
      "createdDate": "2016-07-24T13:18:31+0000",
      "id": 3,
      "name": "P1_INCIDENT_SLA",
      "priority": "High",
      "requestType": "INCIDENT",
      "resolutionBreachTime": 3600,
      "responseBreachTime": 1800,
      "updatedBy": {
        "email": "sample@gmail.com",
        "firstName": "john",
        "lastName": "smith",
        "loginName": "john.smith",
        "phoneNumber": "9985512340"
      },
      "updatedDate": "2016-07-24T07:48:31+0000",
      "withinBussinessHours": true
    },
    {
      "active": true,
      "createdBy": {
        "email": "sample@gmail.com",
        "firstName": "john",
        "lastName": "smith",
        "loginName": "john.smith",
        "phoneNumber": "9985597783"
      },
      "createdDate": "2016-07-24T13:16:50+0000",
      "id": 2,
      "name": "P0_INCIDENT_SLA",
      "priority": "Urgent",
      "requestType": "INCIDENT",
      "resolutionBreachTime": 18000,
      "responseBreachTime": 1800,
      "updatedBy": {
        "email": "sample@gmail.com",
        "firstName": "john",
        "lastName": "smith",
        "loginName": "john.smith",
        "phoneNumber": "9985597783"
      },
      "updatedDate": "2016-07-24T07:46:50+0000",
      "withinBussinessHours": true
    }
  ],
  "totalPages": 1,
  "totalResults": 5
}