The module helps to get inbox, draft, archive, resolved or spam tickets. The Service URL of this module is given by-
https://www.enterice.com/ICEAPI/api/Email/LoadAlltbl_EmailLiveMonitoringTrigger
•Allowed for
Agent
•Json Formats-
1. The code snippet for Web Service Use-
LoadAlltbl_EmailLiveMonitoringTrigger
{
“userid”: 973,
“Action”:”Inbox”,
“skillid”: 337,
“currentstatus”:”InProgress”,
“offset”: 330,
“Token”: “eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJvcmdpZCI6MTI4LCJ1c2VybmFtZSI6ImFAYS5jb20iLCJleHAiOjE0ODQ2ODU5NDF9.uG_sOcFwmytixPZ6pAQkow9X8vZv5a7UW8fW2jTMZx4″”
}
2. Description for Request Parameter-
S.No | Name | Type | Description |
1 | UserID | Int | Id of user |
2 | Action | String | Archive/draft/inbox/spam/resolved |
3 | SkillId | Int | Id of skill |
4 | CurrentStatus | String | Current Status |
5 | Offset | Int | Timezone offset |
6 | Token | String | Authentication Token |
3. Response Example-
Success:
{ “Message”: ” Successful”,
“ticketlist”: [
{
“TicketID”:233328,
“From”:matthew.symonds@etechtexas.com”,
“Agent”:”James”,
“CurrentStatus”:”Resolved”,
“Title”:”qwerty1 (Ticket# 233328)”,
“LastUpdateDate”:”2015-10-15 12:44:16.433″,
“CreatedDate”:”2015-10-15 10:55:39.000″,
“AttachmentFolder”:”F2E31C66-C40B-81B3-4F28-5234DDDE9AB6″,
“SkillId”:337,
“RowNumber”:1
},
{
“TicketID”:197856,
“From”:”matthew.symonds@etechtexas.com”,
“Agent”:”James”,
“CurrentStatus”:”Resolved”,
“Title”:”Debug ticket 2 (Ticket# 197856)”,
“LastUpdateDate”:”2015-10-15 12:41:04.597″,
“CreatedDate”:”2015-07-28 14:09:19.000″,
“AttachmentFolder”:”393EA384-6A77-761E-122E-84432BCA312F”,
“SkillId”:337,
“RowNumber”:2
}
]
Fail:
{“Message”:”The request is invalid.”}