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
  • Default time-span is 1 hr when user doesn't specify ticket startCreationDate and endCreationDate

Path Parameters

  • ticketEntitystringrequired

    Supported service desk entity.These are case sensitive.

    Enum:
    incidentsproblemsserviceRequeststimeBoundRequestschangeRequeststasks
  • tenantIdstringrequired

    Describes the clientId or mspId of the tenant

Query Parameters

  • uniqueIdstring

    Ticket uuid

  • statusstring

    Current status of ticket.

    Enum:
    NewOpenPendingResolvedClosedOn Hold
  • prioritystring

    Current priority of ticket.

    Enum:
    LowNormalHighUrgentVery Low
  • subjectstring

    A short summary of incident.

  • startCreationDatestring

    Filter response with request creation date. Provide from date.

  • endCreationDatestring

    Filter response with request creation date. Provide to date.

  • extTicketIdstring

    External ticket ID

  • endResolvedDatestring

    Provide to resolved date. Example: 2016-08-14T07:49:59 0000 (GMT)

  • startResolvedDatestring

    Filter tickets with the resolved date. Provide from resolved date.

  • endClosedDatestring

    Provide to closed date.

  • startClosedDatestring

    Filter tickets with the closed date. Provide the from closed date.

  • maxReOpensnumber

    Maximum number of times tickets is reopened.

  • minReOpensnumber

    Minimum number of times ticket is reopened.

  • maxResolutionTimestring

    Maximum resolution time of tickets.

  • minResolutionTimestring

    Minimum resolution time of tickets.

  • minResponseTimestring

    Minimum response time of time bound request.

  • assigneeGroupIdsstring

    ID of the group to which the ticket is assigned. Group uuid

  • endResolutionBreachDatestring

    Provide to date.

  • startResolutionBreachDatestring

    Filter tickets with resolution breach date. Provide from date.

  • endResponseBreachDatestring

    Provide to date.

  • startResponseBreachDatestring

    Filter time bound request with response breach date. Provide from date.

  • firstContactFixstring

    Problem fixed without assigning to another group.

    Enum:
    truefalse
  • sourcePolicyTypestring

    Source policy type of the ticket. Eg: AUTOINCIDENT

    Enum:
    AUTOINCIDENTINTEGRATION
  • sourcestring

    Source of the time bound request. Eg: PORTAL

    Enum:
    PORTALINTEGRATIONMOBILEEMAIL
  • deviceIdstring

    Unique ID of the device.

  • oldPrioritystring

    Previous priority of ticket request. eg High

    Enum:
    LowNormalHighUrgentVery Low
  • oldStatusstring

    Previous status of ticket request. Eg: Resolved

    Enum:
    NewOpenPendingResolvedOn Hold
  • requesterstring

    User who requests the time bound request. Example: USR0000000129

  • endUpdationDatestring

    Provide the to date.

  • startUpdationDatestring

    Filter ticket request with the updation date.

  • assignedTostring

    User who has been assigned ticket. Example: USR0000000129

  • responseBreachstring

    Response to tickets beyond the time limit.

    Enum:
    falsetrue
  • resolutionBreachstring

    Tickets fixed within the time limit.

    Enum:
    truefalse
  • maxResponseTimestring

    Maximum response time of time bound request.

  • includestring

    To include details on customFields, statusFlow while querying for the ticket details.

    Enum:
    customFieldsstatusFlow

Responses

  • resultsarray

  • totalResultsnumber

  • orderBystring

  • pageNonumber

  • pageSizenumber

  • totalPagesnumber

  • nextPageboolean

  • nextPageNonumber

  • previousPageNonumber

  • descendingOrderboolean

Loading Examples...