Przykładowy response
{
"ticket_id": 1234,
"from": "john.doe@foo.bar",
"ticket_queue_name": "test@thulium.pl",
"ticket_queue_id": 32,
"subject": "Example ticket subject",
"status_id": "2",
"substatus_id": "2",
"customer_id": 32122,
"full_status_name": "some status - some sub status",
"category_id": "3",
"user_login": "akowalski",
"created_at": "2014-07-08 08:05",
"updated_at": "2014-07-11 08:05",
"closed_at": "2014-09-04 17:33",
"close_time": "123:33:44",
"first_agent_responded_at": "2014-07-04 15:15",
"first_agent_response_time": "01:00:12",
"messages": [
{
"message_id": 432,
"user_login": "akowalski",
"type": "COMMENT",
"body": "",
"comment": "Example comment",
"system_comment": "",
"created_at": "2014-07-08 08:05",
"attachments": []
},
{
"message_id": 433,
"user_login": "akowalski",
"type": "COMMENT",
"body": "",
"comment": "",
"system_comment": "Changed status from [Oczekuje na klienta] to [Nowe]",
"created_at": "2014-07-02 13:56",
"attachments": []
},
{
"message_id": 434,
"user_login": "akowalski",
"type": "COMMENT",
"body": "",
"comment": "Example comment",
"system_comment": "",
"created_at": "2014-07-02 13:54",
"attachments": []
},
{
"message_id": 435,
"user_login": "akowalski",
"type": "REPLY",
"body": "Reply message send to client",
"comment": "",
"system_comment": "Changed status from [Nowe] to [Oczekuje na klienta]",
"created_at": "2014-07-02 13:44",
"attachments": ["1175982115cb861c810534", "85734759348c94a5983b12]
},
{
"message_id": 436,
"user_login": "",
"type": "MAIL",
"body": "Email content",
"comment": "",
"system_comment": "",
"created_at": "2014-07-02 12:28",
"attachments": []
}
],
"custom_fields":
{
"ID": null,
"Uwagi": "information"
}
}