Skip to main content

GetTicketResponse

result objectrequired
keyTicketKey (string)required

Possible values: Value must match regular expression ^T-[0-9]+$

nameTicketName (string)required

Ticket name

Possible values: non-empty

ownerIdOwnerId (string)required

The owner of the ticket, must match the pattern, ^UR_[0-9a-zA-Z]{11,15}$

Possible values: Value must match regular expression ^UR_[0-9a-zA-Z]{11,15}$

statusinteger<int32>required

The status of a ticket. Minimum is 0, which stands for the default Open status. 1 stands for the default In Progress status, and 2 for the default Closed status. Customized statuses can be any number above 2.

Possible values: >= 0

priorityinteger<int32>required

The priority of a ticket. 0 is Low, 1 is Medium and 2 is High.

Possible values: >= 0 and <= 2

responseIdResponseId (string)nullablerequired

Possible values: Value must match regular expression ^R_[0-9a-zA-Z]{11,15}$

sourceIdSourceId (string)nullablerequired
rootCauseRootCauseName (string)nullablerequired
parentparent (string)nullablerequired
createdAtstring<date-time>required
updatedAtstring<date-time>required
closedAtstring<date-time>nullablerequired
ticketData objectrequired
elements object[]required
  • Array [
  • keykey (string)required
    valuevalue (string)required
  • ]
  • eventsLinkEventsLink (string)required
    followUpDetailsSurveyIdFollowUpDetailsSurveyId (string)
    followUpDetailsResponseIdFollowUpDetailsResponseId (string)
    meta objectrequired

    Metadata of the response.

    httpStatushttp status (string)required

    HTTP status code associated with this response.

    requestIdAn identifier of the incoming request. (string)required

    The unique identifier of the associated request.

    noticeAn informational string about the request. (string)

    Additional information about this request.

    GetTicketResponse
    {
    "result": {
    "key": "string",
    "name": "string",
    "ownerId": "string",
    "status": 0,
    "priority": 0,
    "responseId": "string",
    "sourceId": "string",
    "rootCause": "string",
    "parent": "string",
    "createdAt": "2024-07-29T15:51:28.071Z",
    "updatedAt": "2024-07-29T15:51:28.071Z",
    "closedAt": "2024-07-29T15:51:28.071Z",
    "ticketData": {
    "elements": [
    {
    "key": "string",
    "value": "string"
    }
    ]
    },
    "eventsLink": "string",
    "followUpDetailsSurveyId": "string",
    "followUpDetailsResponseId": "string"
    },
    "meta": {
    "httpStatus": "string",
    "requestId": "string",
    "notice": "string"
    }
    }