HelpdeskThreadsList
Returns a list of helpdesk threads.
Request Item | Type | Sample value | Description |
AccountID | int | 1 | ID of account |
Action | string | "HelpdeskThreadsList" | |
AuthToken | string | "89e307c653d701c17d61f2f116dba618” | string obtained with SystemLogin. Not needed if client supports cookies. |
Filter | int | 4 | optional; 0 by default 'All': 0, 'Pending': 1, 'Resolved': 2, 'InWork': 3, 'Open': 4, 'Archived': 9 |
IsExt | int | 0 | optional; 0 by default 0 - helpdesk screen of Aurora 1 - end-user level of helpdesk |
Limit | int | 10 | optional; 10 by default Number of threads returned |
Offset | int | 0 | optional; 0 by default Offset for data returned |
Search | string | "" | optional; "" by default Search pattern |
Token | string | "169874786e1d429e20fd993800a8c08c" | |
Sample response:
{
"Action":"HelpdeskThreadsList",
"Result":
{
"Search":"",
"Filter":4,
"List":
[
{
"@Object":"Object\/CHelpdeskThread",
"IdHelpdeskThread":98,
"ThreadHash":"4s935rgd2t9",
"IdOwner":3,
"Owner":["john_doe@domain.com","John"],
"Type":3, // 'None': 0, 'Pending': 1, 'Waiting': 2, 'Answered': 3, 'Resolved': 4, 'Deferred': 5
"Subject":"I have a question",
"IsRead":false,
"IsArchived":false,
"ItsMe":false,
"HasAttachments":false,
"PostCount":2, // number of threads in a post
"Created":1436167038,
"Updated":1436187119
},
{
"@Object":"Object\/CHelpdeskThread",
"IdHelpdeskThread":97,
"ThreadHash":"4d9123sur43",
"IdOwner":3831,
"Owner":["good_man@other_domain.com","Good Man"],
"Type":2,
"Subject":"How can I do this?",
"IsRead":true,
"IsArchived":false,
"ItsMe":false,
"HasAttachments":false,
"PostCount":1,
"Created":1433499484,
"Updated":1433499484
},
...
],
"Offset":0,
"Limit":10,
"ItemsCount":32
},
"@Time":0.22722291946411
}
HelpdeskThreadByIdOrHash
This request is used if there's an application link which includes hash of a thread not found in the list. In that case, data on that specific thread can be fetched separately.
Request Item | Type | Sample value | Description |
AccountID | int | 1 | ID of account |
Action | string | "HelpdeskThreadByIdOrHash" | |
AuthToken | string | "89e307c653d701c17d61f2f116dba618” | string obtained with SystemLogin. Not needed if client supports cookies. |
IsExt | int | 0 | optional; 0 by default 0 - helpdesk screen of Aurora 1 - end-user level of helpdesk |
ThreadHash | string | "4s935rgd2t9" | optional; "" by default Hash used for looking up the thread. If not specified, ThreadId is used for lookup. Either of the two must be specified. |
ThreadId | int | 0 | optional; 0 by default Identifier used for looking up the thread. If not specified, ThreadHash is used for lookup. Either of the two must be specified. |
Token | string | "169874786e1d429e20fd993800a8c08c" | |
Sample response:
{
"Action":"HelpdeskThreadByIdOrHash",
"Result":
{
"@Object":"Object\/CHelpdeskThread",
"IdHelpdeskThread":98,
"ThreadHash":"4s935rgd2t9",
"IdOwner":3,
"Owner":["john_doe@domain.com","John"],
"Type":3,
"Subject":"I have a question",
"IsRead":true,
"IsArchived":false,
"ItsMe":false,
"HasAttachments":false,
"PostCount":2,
"Created":1436167038,
"Updated":1436187119
},
"@Time":0.17580986022949
}
HelpdeskThreadPosts
Obtain list of posts in a specific thread.
Request Item | Type | Sample value | Description |
AccountID | int | 1 | ID of account |
Action | string | "HelpdeskThreadPosts" | |
AuthToken | string | "89e307c653d701c17d61f2f116dba618” | string obtained with SystemLogin. Not needed if client supports cookies. |
IsExt | int | 0 | optional; 0 by default 0 - helpdesk screen of Aurora 1 - end-user level of helpdesk |
Limit | int | 5 | optional; 5 by default Number of posts returned |
StartFromId | int | 0 | optional; 0 by default, which means obtaining data starting from the initial post |
ThreadId | int | 0 | optional; 0 by default Identifier used for looking up the thread. Obtained from IdHelpdeskThread returned by HelpdeskThreadsList request. |
Token | string | "169874786e1d429e20fd993800a8c08c" | |
Sample response:
{
"Action":"HelpdeskThreadPosts",
"Result":
{
"ThreadId":98,
"StartFromId":0,
"Limit":5,
"ItemsCount":2,
"List":
[
{
"@Object":"Object\/CHelpdeskPost",
"IdHelpdeskPost":215,
"IdHelpdeskThread":98,
"IdOwner":5,
"Owner":["good_man@other_domain.com","Good Man"],
"Attachments":null,
"IsThreadOwner":false,
"ItsMe":true,
"Type":0,
"SystemType":0,
"Text":"this is my answer",
"Created":1436187119
},
{
"@Object":"Object\/CHelpdeskPost",
"IdHelpdeskPost":214,
"IdHelpdeskThread":98,
"IdOwner":3,
"Owner":["john_doe@domain.com","John"],
"Attachments":null,
"IsThreadOwner":true,
"ItsMe":false,
"Type":0,
"SystemType":0,
"Text":"this is my question",
"Created":1436167038
}
]
},
"@Time":0.18508005142212
}
HelpdeskPostCreate
Creates a new post.
Request Item | Type | Sample value | Description |
AccountID | int | 1 | ID of account |
Action | string | "HelpdeskPostCreate" | |
AuthToken | string | "89e307c653d701c17d61f2f116dba618” | string obtained with SystemLogin. Not needed if client supports cookies. |
Bcc | string | | optional; "" by default |
Cc | string | | optional; "" by default |
IsExt | int | 0 | optional; 0 by default 0 - helpdesk screen of Aurora 1 - end-user level of helpdesk |
IsInternal | | 0 | optional; 0 by default |
Subject | | "" | optional; "" by default |
Text | | “this is additional answer” | |
ThreadId | int | 0 | optional; 0 by default, which means creating a new thread. | Identifier used for looking up the thread. Obtained from IdHelpdeskThread returned by HelpdeskThreadsList request.
Token | string | "169874786e1d429e20fd993800a8c08c" | |
Sample response:
{
"Action":"HelpdeskPostCreate",
"Result":
{
"ThreadId":98,
"ThreadIsNew":false
},
"@Time":7.7658529281616
}