Search Tickets
Search tickets.
Notes
- URLs
- eg
https://api.opsramp.com/api/v2/tenants/clientId/incidents/search?pageNo=1&pageSize=10&isDescendingOrder=true&sortName=ticket.id&queryString=status:New,Open+priority:High+requester:USR0000000129+startCreationDate:2015-11-10T10:40:20 0000+endCreationDate:2015-11-20T10:40:20 0000
- eg
https://api.opsramp.com/api/v2/tenants/clientId/serviceRequests/search?pageNo=1&pageSize=10&isDescendingOrder=true&sortName=ticket.id&queryString=status:New,Open+priority:High+requester:USR0000000129+startCreationDate:2015-11-10T10:40:20 0000+endCreationDate:2015-11-20T10:40:20 0000
- eg
- Default time-span is 1 hr when user doesn't specify ticket
startCreationDate
andendCreationDate
Path Parameters
- ticketEntity
Supported service desk entity.These are case sensitive.
- Enum:
- incidentsproblemsserviceRequeststimeBoundRequestschangeRequeststasks
- tenantId
Describes the clientId or mspId of the tenant
Query Parameters
- uniqueId
Ticket uuid
- status
Current status of ticket.
- Enum:
- NewOpenPendingResolvedClosedOn Hold
- priority
Current priority of ticket.
- Enum:
- LowNormalHighUrgentVery Low
- subject
A short summary of incident. Example: incident from Alert.
- startCreationDate
Filter response with request creation date. Provide from date. Example: 2016-03-29T10:15:55 0000 (GMT)
- endCreationDate
Filter response with request creation date. Provide to date. Example: 2016-03-31T11:20:55 0000 (GMT)
- extTicketId
External ticket ID
- endResolvedDate
Provide to resolved date. Example: 2016-08-14T07:49:59 0000 (GMT)
- startResolvedDate
Filter tickets with the resolved date. Provide from resolved date. Example: 2016-08-12T06:49:59 0000 (GMT)
- endClosedDate
Provide to closed date. Example: 2016-08-15T06:54:59 0000 (GMT)
- startClosedDate
Filter tickets with the closed date. Provide the from closed date. Example: 2016-08-12T06:54:59 0000 (GMT)
- maxReOpens
Maximum number of times tickets is reopened. Example: 8
- minReOpens
Minimum number of times ticket is reopened. Example: 5
- maxResolutionTime
Maximum resolution time of tickets. Example: 7200 (time in seconds)
- minResolutionTime
Minimum resolution time of tickets. Example: 3600 (time in seconds)
- minResponseTime
Minimum response time of time bound request. Example: 300 (time in seconds)
- assigneeGroupIds
ID of the group to which the ticket is assigned. Group uuid
- endResolutionBreachDate
Provide to date. Example: 2016-09-29T10:40:20 0000 (GMT)
- startResolutionBreachDate
Filter tickets with resolution breach date. Provide from date. Example: 2016-08-25T08:12:19 0000 (GMT)
- endResponseBreachDate
Provide to date. Example: 2016-09-28T10:40:20 0000 (GMT)
- startResponseBreachDate
Filter time bound request with response breach date. Provide from date. Example: 2016-08-25T08:12:19+0000 (GMT)
- firstContactFix
Problem fixed without assigning to another group.
- Enum:
- truefalse
- sourcePolicyType
Source policy type of the ticket. Eg: AUTOINCIDENT
- Enum:
- AUTOINCIDENTINTEGRATION
- source
Source of the time bound request. Eg: PORTAL
- Enum:
- PORTALINTEGRATIONMOBILEEMAIL
- deviceId
Unique ID of the device. Example: 481af404-33a6-4d61-af77-c483ca6641fa
- oldPriority
Previous priority of ticket request. eg High
- Enum:
- LowNormalHighUrgentVery Low
- oldStatus
Previous status of ticket request. Eg: Resolved
- Enum:
- NewOpenPendingResolvedOn Hold
- requester
User who requests the time bound request. Example: USR0000000129
- endUpdationDate
Provide the to date. Example: 2016-08-15T10:40:20 0000 (GMT)
- startUpdationDate
Filter ticket request with the updation date. Example: 2016-08-12T06:54:59 0000 (GMT)
- assignedTo
User who has been assigned ticket. Example: USR0000000129
- responseBreach
Response to tickets beyond the time limit. Example: false
- Enum:
- falsetrue
- resolutionBreach
Tickets fixed within the time limit. Example: true
- Enum:
- truefalse
- maxResponseTime
Maximum response time of time bound request. Example: 600 (time in seconds)
- include
To include details on customFields, statusFlow while querying for the ticket details.
- Enum:
- customFieldsstatusFlow