Get Ticket

Use this API to get a single ticket.

GET https://{{env}}.survey2connect.com/v2/api/tickets/{ticketId}

Path Parameters

NameTypeDescription

env*

String

Datacenter identifier for client

ticketId*

String

id of the ticket to be returned

Headers

NameTypeDescription

Authorization

String

Bearer {access_token}

{
  "data": [
    {
      "_id": "6166b537339e0a157b15f64b",
      "priority": "Medium",
      "assignee": {
        "_id": "606aff62b39f7f554849e91f",
        "name": "az2test ",
        "email": "az2test@mailinator.com"
      },
      "name": "T00010",
      "created_at": "2021-10-13 13:30:15",
      "action": "Action with Followup",
      "survey_title": "Ticket Fetch Test",
      "updated_at": "2021-10-13 13:32:55",
      "status": "Open",
      "resolution": "Issue resolved.\n",
      "root_cause": "Late delivery",
      "root_cause_msg": "Product was delivered late.",
      "tags": [
        {
          "key": "Rating",
          "value": "4"
        }
      ],
      "comments": [
        {
          "text": "Issue is resolved for now please review it",
          "posted": "2021-10-13 13:32:55"
        }
      ],
      "follow_up_details": [
        {
          "key": "What is your name?",
          "value": "tester 1"
        }
      ]
    }
  ],
  "status": "success",
  "error": null
}

Last updated