Page tree

Overview

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

The Create Ticket API creates a new ticket.


Sample request

POST https://api.armor.com/tickets/create

{
 "starred": false,
 "type": "ticket",
 "status": "New",
 "title": "Test Ticket - Please ignore",
 "comments": [],
 "recipients": [],
 "relatedTickets": [],
 "relatedServers": [],
 "tags": [],
 "createdBy": "User",
 "lastResponderName": "User"
}

Input

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

API Call / URLMethod / Type
/tickets/createPOST

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

ParameterDescriptionFormatRequired or optionalExample
titleThe title of the ticketStringRequiredTest Ticket - Please Ignore
recipientsAdditional users to include in this ticketTypeRequired

[ ]

tagsTag stringsarray of stringsoptional[ ]

Sample return

StatusResponse
200
{
 "tags": [
   "Fun Tag"
 ],
 "comments": [],
 "recipients": [
   {
     "id": 2096,
     "firstName": "Addison",
     "lastName": "White",
     "emailAddress": "robert.smith@armor.com",
     "account": false,
     "billing": false,
     "technical": false,
     "partner": false
   },
   {
     "id": 1100,
     "firstName": "Robert",
     "lastName": "Smith",
     "emailAddress": "robert.smith@armor.com",
     "account": false,
     "billing": false,
     "technical": false,
     "partner": false
   }
 ],
 "relatedServers": [],
 "relatedTickets": [],
 "ticketNumber": 1485,
 "title": "Ticket Subject",
 "type": "ticket",
 "status": "Open",
 "isClosed": false,
 "priority": 0,
 "sensitivity": null,
 "dateCreated": "2015-01-07T02:43:30.603",
 "dateModified": "2015-01-07T02:43:30.603",
 "createdByUserId": 1100,
 "lastResponderName": null,
 "lastResponderExcerpt": null,
 "lastResponseDate": null,
 "starred": false,
 "read": false,
 "userRating": 0
}