Page tree


Armor Knowledge Base


Feedback

Have a suggestion for the Armor Knowledge Base?

Send a message to kb@armor.com.









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

The Add Recipient to a Ticket API adds a recipient to a ticket. 

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

Sample Request

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

{
   "id": 2152
}

Input


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

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


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

ParameterDescriptionFormatRequired or optionalExample
ticketNumberThe number of the ticketIntegerRequired271
idThe ID of the recipient that you want to addIntegerRequired2152

Sample Return

StatusResponse
200
{
 "tags": [
   "Tag"
 ],
 "comments": [
   {
     "id": "2fec6815-6536-4848-9699-2f201f9e2a8a",
     "text":"Udpate",
     "commentorId": "e4009140-a3c2-459d-b6ff-fcbbfc9b75f7",
     "commentorName": "Robert Smith",
     "commentorEmail": "robert.smith@armor.com",
     "date": "2015-01-07T02:52:55.087",
     "isPublic": true,
     "attachments": [],
     "feedback": 0,
     "reason": 0,
     "read": false
   }
 ],
 "recipients": [
   {
     "id": 2152,
     "firstName": "Robert",
     "lastName": "Smith",
     "emailAddress": "robert.smith@armor.com",
     "account": false,
     "billing": false,
     "technical": false,
     "partner": false
   }
 ],
 "relatedServers": [],
 "relatedTickets": [],
 "ticketNumber": 1484,
 "title": "Ticket Subject",
 "type": "ticket",
 "status": "Open",
 "isClosed": false,
 "priority": 0,
 "sensitivity": null,
 "dateCreated": "2015-01-07T02:40:53.477",
 "dateModified": "2015-01-07T02:40:53.477",
 "createdByUserId": 1100,
 "lastResponderName": "Robert Smith",
 "lastResponderExcerpt": "Update",
 "lastResponseDate": "2015-01-07T02:52:55.087",
 "starred": true,
 "read": false,
 "userRating": 0
}