6.1.2.1. tickets
This action allows to list all the tickets, optionally filtered by some search criteria.
Parameters
A keyword to filter the tickets by. It will search within the description. |
|
The status of ticket. The accepted values are OPEN and CLOSED. |
|
The severity of the ticket. The accepted values are HIGH, MEDIUM, LOW and INFO. |
|
Returns tickets created after the given timestamp. |
|
Returns tickets created before the given timestamp. |
|
The type of ticket, one in the following list. The following values are accepted : _0_MONITORING, _1_MESSAGE_PROCESSING_ISSUES, _1_1_UNIDENTIFIED_SOURCE, _1_2_UNIDENTIFIED_MESSAGE_IN, _1_3_UNIDENTIFIED_CHANNEL, _1_4_MESSAGE_VALIDATION_ISSUE, _1_5_FAILED_DELIVERY, _1_6_PLANNED_CLEANING_OF_UNATTENDED_MESSAGES, _2_HUB_ISSUES, _2_1_STORAGE_CAPACITY_REACHED, _2_2_PLANNED_MAINTENANCE_UNAVAILABILITY, _2_3_NEW_FUNCTIONALITY_AVAILABLE, _3_ACCOUNT_ISSUES, _3_1_CREDIT_LIMIT_REACHED, _3_2_UNPAID_INVOICE, _3_3_CREDIT_LIMIT_NEAR_REACHED, _3_4_VAT_CHANGED, _4_CHANNEL_MANAGEMENT_ISSUE, _4_1_MAINTENANCE_WARNING_OF_A_LINKED_CHANNEL, _4_2_PLANNED_DELETION_OF_UNUSED_CHANNELS, _4_3_DOCUMENTATION_OF_A_CHANNEL, _4_4_CERTIFICATE_EXPIRATION, _5_USER_MANAGEMENT_ISSUE, _5_1_FAILED_CONNECTION_ATTEMPTS, _5_2_FIRST_CONNECTION_FROM_INVITEE, _5_3_PLANNED_CLEANING_OF_DORMANT_USERS, _5_4_INVITATION_EXPIRED |
|
An integer to set the first result. By default, the value is at 0. The API returns 25 results per query. To get the 25 following ones, it should be 25, then 50, then 75, ... |
Examples
-
Get tickets with severity MEDIUM in environment 12345 in JSON format
https://www.babelway.net/SelfService3/rest/v2/hub-12345/tickets.json?severity=MEDIUM
[ { "ticket":222577, "hub":12345, "type":"_0_MONITORING", "severity":"MEDIUM", "status":"OPEN", "summary":"Ftp server : ftp:\/\/ftp.server.com\/input DOWN", "description": "Ftp server (ftp:\/\/ftp.server.com\/input) became DOWN at 07\/02\/2011 01:46:34.\nDue to exception:ftp.server.com", "creationMoment":1349180055000, "key":"aa3a19d7-14f4-4f66-819b-e044eb24b273" } ]
-
Get opened tickets in environment 12345 in XML format
https://www.babelway.net/SelfService3/rest/v2/hub-12345/tickets.xml?status=OPEN
<collection> <ticket> <ticket>222577</ticket> <hub>12345</hub> <type>_0_MONITORING</type> <severity>MEDIUM</severity> <status>OPEN</status> <summary>Ftp server : ftp://ftp.server.com/input DOWN</summary> <description>Ftp server (ftp://ftp.server.com/input) became DOWN at 07/02/2011 01:46:34. Due to exception:ftp.server.com</description> <creationMoment>1349180055000</creationMoment> <key>aa3a19d7-14f4-4f66-819b-e044eb24b273</key> </ticket> </collection>