Page tree

Overview

This API call applies to both Armor Complete and Armor Anywhere users.

The Close a Ticket API closes a ticket.

You can use the Get Ticket Meta-Data API to find the ticket number (ticketNumber).


Sample request

POST https://api.armor.com/tickets/271/close

Input

The following table describes the different parts of this API call: 

API Call / URLMethod / Type
/tickets/{ticketNumber}/closePOST

The following table describes the parameter (or parameters) for this API call:

ParameterDescriptionFormatRequired or optionalExample
ticketNumberThe number for the specific ticket you want to close.IntegerRequired271

Sample return

StatusResponse
200
  {
         "tags": [],
         "comments": [{
               "id": "e06555ce-8489-4aad-8cda-b71511b9b38e",
               "text": "Comment",
               "commentorId": "f9153914-9e29-42f0-9101-9b31fa4df6eb",
               "commentorName": "Jason Smith",
               "commentorEmail": "jason.smith@armor.com",
               "date": "2015-01-06T23:51:45.05",
               "isPublic": true,
               "attachments": [],
               "feedback": 0,
               "reason": 0,
               "read": false
         },
         {
               "id": "7c07dac5-de64-49f9-b2d9-23bc269aa5ab",
               "text": "Check VM",
               "commentorId": "f9153914-9e29-42f0-9101-9b31fa4df6eb",
               "commentorName": "Robert Smith",
               "commentorEmail": "robert.smith@armor.com",
               "date": "2015-01-06T23:44:03.237",
               "isPublic": true,
               "attachments": [],
               "feedback": 0,
               "reason": 0,
               "read": false
         }],
         "recipients": [{
               "id": 2369,
               "firstName": "Robert",
               "lastName": "Smith",
               "emailAddress": "robert.smith@armor.com",
               "account": false,
               "billing": false,
               "technical": false,
               "partner": false
         }],
         "relatedServers": [],
         "relatedTickets": [],
         "ticketNumber": 1476,
         "title": "Ticket",
         "type": "ticket",
         "status": "Resolved",
         "isClosed": false,
         "priority": 0,
         "sensitivity": null,
         "dateCreated": "2015-01-06T23:44:03.153",
         "dateModified": "2015-01-07T00:07:28.96",
         "createdByUserId": 2369,
         "lastResponderName": "Robert Smith",
         "lastResponderExcerpt": "Check VM",
         "lastResponseDate": "2015-01-06T23:51:45.05",
         "starred": false,
         "read": false,
         "userRating":  3
  }




In this topic



Have a suggestion for the Armor Knowledge Base? Send a message to kb@armor.com.