Support List

From INAP Dropzone API
Revision as of 18:44, 24 March 2012 by Jcohen (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The support list command will return a list of all open and closed support tickets.

Contents

Path

  • /support/list/$type/$start/$limit/$search/$dept

Method

Required Data Parameters

  • None

Optional Data Parameters

  • {$type}: all, open or closed; the default is all.
  • {$start}: Sets the start number for the amount of support tickets retrieved; the default is 0.
  • {$limit}: Sets the limit number for the amount of support tickets retrieved; the default is 100.
  • {$search}: Search the subject or body of ticket; default is null.
  • {$dept}: Can be set to a specific department name or left blank; default is all. Department names can be retrieved by using the support departments command.

Returned Data

stdClass Object(
  [success] => TRUE/FALSE
  [data] => stdClass Object(
    [total] => Contains a total of all the tickets that are on the account.
    [tickets] => Array(
      [0] => stdClass Object(
        [ticket_id] => The ID of the ticket.
        [client_replies] => The number of replies that have been added to the ticket.
        [subject] => The subject of the ticket.
        [author] => The author of the ticket.
        [timestamp] => The date the support ticket was created (unix timestamp).
        [activity] => The date the last time the ticket was updated (unix timestamp).
        [client_activity] => The date the last time the ticket was updated (unix timestamp).
        [priority] => The priority of the ticket.
        [type] => 
        [source] => The source of the ticket, (1 = client, 2 = SingleHop).
        [dept] => The department that the ticket is assigned to.
        [replies] => The number of replies that have been added to the ticket.
      )
    )
  )
)
Personal tools