Share this link

    Tickets

    1530 0 Created on 2020-10-07 08:46:17; Last updated on 2022-07-01 13:01:13

    This action allows to list all the tickets, optionally filtered by some search criteria.

    • description:  A keyword to filter the tickets by. It will search within the description. 
    • status:  The status of ticket. The accepted values are OPEN and CLOSED. 
    • severity: The severity of the ticket. The accepted values are HIGH, MEDIUM, LOW and INFO. 
    • since: Returns tickets created after the given timestamp. 
    • before:  Returns tickets created before the given timestamp.
    • type: 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
    • start: 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 formathttps://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 formathttps://www.babelway.net/SelfService3/rest/v2/hub-12345/tickets.xml?status=OPEN

    

    222577
    		12345
    		_0_MONITORING
    		MEDIUM
    		OPEN
    		Ftp server : ftp://ftp.server.com/input DOWN
    		Ftp server (ftp://ftp.server.com/input) became DOWN at 07/02/2011 01:46:34. Due to exception:ftp.server.com
    		1349180055000
    		aa3a19d7-14f4-4f66-819b-e044eb24b273
    	
    			
    			
    

    0 people found this helpful.

    Related Articles