Tickets Advance Search
Lets you retrieve Tickets using the advanced search criteria.
Prerequisite
Before you pass this API, the API Configurations setting must be enabled on your account. To do this –
- On your LeadSquared account, navigate to My Profile>Settings>Service Cloud, and click API Configurations.
- Alongside Enable API, enable the slider
.
- Alongside Enable IP Whitelisting, enable the slider and add the IPs you want to whitelist. This is optional.
- Once you’re done, click Save.
Pass the following mandatory API headers –
- X-LSQ-ACCESS-KEY – <AccessKey>
- X-LSQ-SECRET-KEY – <SecretKey>
API URL
URL Parameters
Parameter | Description |
---|---|
{{scopeFilter}} | Pass one of the following headers to retrieve tickets matching the conditions in your payload. This is mandatory: ALL_TICKETS | UNASSIGNED_TICKETS | GROUP_TICKETS | MY_TICKETS |
Request
Content-Type: application/json{ "AdvanceSearchFilters":[ { "GroupConditionOperator":"AND", "ConditionOperator":"AND", "Conditions":[ { "Type":"ticket", "FieldName":"Status", "Operator":"equals", "Value":"Open" } ] }, { "GroupConditionOperator":"AND", "ConditionOperator":"AND", "Conditions":[ { "Type":"ticket", "FieldName":"CustomData.SRC_CS_2", "Operator":"equals", "Value":"Online" } ] } ], "Offset":0, "Limit":10, "Sort":[ { "FieldName":"CreatedOn", "Direction":"desc" } ], "SearchText":"" }
Request Parameters
Parameter | Description |
---|---|
GroupConditionOperator | |
ConditionOperator | |
Conditions | The list of advance search conditions. |
Type | Pass |
FieldName | Pass the schema name of the ticket field you want to retrieve. You can retrieve system and custom fields. To find the schema name, refer to Ticket Fields Configuration. Note: If you’re passing a custom field, prefix its name with
CustomData. For example, in the image below, the schema name for the “Request Type” field is SRC_CS_2, and we’re passing it as CustomData.SRC_CS_2 |
Operator | The following operators are supported –
|
Offset | Pass ‘0’. |
Limit | Pass ’10’. |
Sort | Tickets are sorted by CreatedOn date by default. You can specify the schema names of other date-time fields as well. Pass |
SearchText | Used for basic search queries. This can be blank. |
Response
{ "Total":14, "FallBack":false, "ShowFallbackMessage":false, "Tickets":[ { "Id":143, "TicketKey":"#143", "TicketId":"03913666-6ab8-4355-9a50-a63fe3204d0a", "Title":"Update Email Id", "Description":"Hi, Has my email Id been updated. Have raised this issue a while ago. Thanks, Wim", "Channel":"Email", "Type":"General", "Status":"Open", "Priority":"Medium", "Tags":[ "Medium", "Complex" ], "CustomData":{ "SRC_CS_2":"Online" }, "RelatedCustomerId":"330fba67-6795-46c2-9dad-077794077f70", "CustomerData":{ "ProspectID":"330fba67-6795-46c2-9dad-077794077f70", "FirstName":"Wim", "LastName":"Wenders", "Name":"Wim Wenders", "EmailAddress":"vir.singh@leadsquared.com", "Phone":"+1-7777777777" }, "RelatedServiceGroupId":2, "RelatedAgentId":"c1826f52-ea88-11ee-9566-020f15161885", "DueDate":"2024-08-29T10:36:23", "Spam":false, "Deleted":false, "Deletable":false, "CreatedBy":"ac0d4ab1-53f3-4ea6-9387-3ae97f2bb791", "CreatedOn":"2024-08-28T10:36:23", "ModifiedBy":"1a50c565-8525-11ea-a93b-0aa4c559f4ca", "ModifiedOn":"2025-01-09T18:58:53", "AgentName":"David Brent", "Sla":{ "ActualResolutionDue":null, "ActualFirstResponseDue":"2024-08-28T12:38:36.264Z", "FirstResponseBreached":true, "ResolutionBreached":true, "NextResponseBreached":false, "FirstResponseEnabled":true, "NextResponseEnabled":false, "FirstResponseTemplate":"Completed - Breached", "NextResponseTemplate":null, "ResolutionTemplate":"OverDue", "ResolutionTag":"Days", "FirstResponseTag":"Days", "NextResponseTag":null, "FirstResponseDifference":146, "ResolutionDifference":146, "NextResponseDifference":0, "Paused":false, "TotalPauseDuration":0, "PauseDetails":null, "TicketSla":[ { "SupposedResolutionDue":"2024-08-29T10:51:23.247Z", "SupposedFirstResponseDue":"2024-08-28T11:36:23.247Z", "SupposedNextResponseDue":null, "NextResponseDueString":null, "FirstResponseDueString":null, "ResolutionDueString":null, "NextResponseDuration":null, "Priority":"Low", "Reminder":false, "Escalation":false }, { "SupposedResolutionDue":"2024-08-28T22:51:23.247Z", "SupposedFirstResponseDue":"2024-08-28T11:21:23.247Z", "SupposedNextResponseDue":null, "NextResponseDueString":null, "FirstResponseDueString":null, "ResolutionDueString":null, "NextResponseDuration":null, "Priority":"Medium", "Reminder":false, "Escalation":false }, { "SupposedResolutionDue":"2024-08-28T16:36:23.247Z", "SupposedFirstResponseDue":"2024-08-28T11:06:23.247Z", "SupposedNextResponseDue":null, "NextResponseDueString":null, "FirstResponseDueString":null, "ResolutionDueString":null, "NextResponseDuration":null, "Priority":"High", "Reminder":false, "Escalation":false }, { "SupposedResolutionDue":"2024-08-28T13:36:23.247Z", "SupposedFirstResponseDue":"2024-08-28T10:51:23.247Z", "SupposedNextResponseDue":null, "NextResponseDueString":null, "FirstResponseDueString":null, "ResolutionDueString":null, "NextResponseDuration":null, "Priority":"Urgent", "Reminder":false, "Escalation":false } ], "SlaId":1, "FirstResponseReminder":null, "ResolutionReminder":null, "NextResponseReminder":null, "FirstResponseEscalation":null, "ResolutionEscalation":null, "NextResponseEscalation":null, "WorkdayTemplate":{ "Id":"1", "Name":"Calendar Hours", "Timezone":"Asia/Kolkata", "WorkDay":[ "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday" ], "WorkingHour":{ "From":"00:00:00", "To":"23:45:00" }, "DefaultWorkdayTemplate":false }, "RelatedPlatformWorkdayTemplateId":null, "RelatedPlatformHolidayCalendarId":null, "NextResponseDetails":null }, "Visited":true, "GroupName":"Delhi Region", "Disposition":false, "PrimaryTicket":true, "Parent":false, "CustomerResponded":false, "ToEmail":"sri.sudhan@leadsquared.com", "ReOpenCount":0, "AgentEmailAddress":"david.brent@whogg.com", "EnrichStatus":"COMPLETED", "RelatedStageId":1, "StageName":"Finance - Stage 1", "RelatedSecondaryServiceGroupId":2, "SecondaryServiceGroupName":"Delhi Region", "RelatedRequester":"", "Fcr":"Not Defined", "FirstContactResolution":"Not Defined" }, { "Id":52, "TicketKey":"#052", "TicketId":"17414768-65cb-422e-9f51-568b84706705", "Title":"Update Phone Number", "Description":"null", "Channel":"Chat", "Status":"Open", "Priority":"Low", "Tags":[ ], "CustomData":{ "SRC_CS_2":"Online" }, "RelatedCustomerId":"330fba67-6795-46c2-9dad-077794077f70", "CustomerData":{ "FirstName":"Wim", "LastName":"Wenders", "Name":"Wim Wenders", "EmailAddress":"vir.singh@leadsquared.com", "Phone":"+1-7777777777" }, "RelatedServiceGroupId":2, "RelatedAgentId":"c1826f52-ea88-11ee-9566-020f15161885", "DueDate":"2024-08-07T09:52:13", "Spam":false, "Deleted":false, "Deletable":false, "CreatedBy":"1a50c565-8525-11ea-a93b-0aa4c559f4ca", "CreatedOn":"2024-08-06T09:52:13", "ModifiedBy":"b0e49cbc-2dad-4caa-aaff-45ba26ab739b", "ModifiedOn":"2024-08-07T10:07:34", "AgentName":"David Brent", "Sla":{ "ActualResolutionDue":null, "ActualFirstResponseDue":null, "FirstResponseBreached":true, "ResolutionBreached":true, "NextResponseBreached":false, "FirstResponseEnabled":true, "NextResponseEnabled":false, "FirstResponseTemplate":"OverDue", "NextResponseTemplate":null, "ResolutionTemplate":"OverDue", "ResolutionTag":"Days", "FirstResponseTag":"Days", "NextResponseTag":null, "FirstResponseDifference":168, "ResolutionDifference":168, "NextResponseDifference":0, "Paused":false, "TotalPauseDuration":0, "PauseDetails":null, "TicketSla":[ { "SupposedResolutionDue":"2024-08-07T10:07:13.193Z", "SupposedFirstResponseDue":"2024-08-06T10:52:13.193Z", "SupposedNextResponseDue":null, "NextResponseDueString":null, "FirstResponseDueString":null, "ResolutionDueString":null, "NextResponseDuration":null, "Priority":"Low", "Reminder":false, "Escalation":false }, { "SupposedResolutionDue":"2024-08-06T22:07:13.193Z", "SupposedFirstResponseDue":"2024-08-06T10:37:13.193Z", "SupposedNextResponseDue":null, "NextResponseDueString":null, "FirstResponseDueString":null, "ResolutionDueString":null, "NextResponseDuration":null, "Priority":"Medium", "Reminder":false, "Escalation":false }, { "SupposedResolutionDue":"2024-08-06T15:52:13.193Z", "SupposedFirstResponseDue":"2024-08-06T10:22:13.193Z", "SupposedNextResponseDue":null, "NextResponseDueString":null, "FirstResponseDueString":null, "ResolutionDueString":null, "NextResponseDuration":null, "Priority":"High", "Reminder":false, "Escalation":false }, { "SupposedResolutionDue":"2024-08-06T12:52:13.193Z", "SupposedFirstResponseDue":"2024-08-06T10:07:13.193Z", "SupposedNextResponseDue":null, "NextResponseDueString":null, "FirstResponseDueString":null, "ResolutionDueString":null, "NextResponseDuration":null, "Priority":"Urgent", "Reminder":false, "Escalation":false } ], "SlaId":1, "FirstResponseReminder":null, "ResolutionReminder":null, "NextResponseReminder":null, "FirstResponseEscalation":null, "ResolutionEscalation":null, "NextResponseEscalation":null, "WorkdayTemplate":{ "Id":"1", "Name":"Calendar Hours", "Timezone":"Asia/Kolkata", "WorkDay":[ "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday" ], "WorkingHour":{ "From":"00:00:00", "To":"23:45:00" }, "DefaultWorkdayTemplate":false }, "RelatedPlatformWorkdayTemplateId":null, "RelatedPlatformHolidayCalendarId":null, "NextResponseDetails":null }, "Visited":true, "GroupName":"Delhi Region", "Disposition":false, "PrimaryTicket":false, "ParentId":46, "Parent":false, "CustomerResponded":false, "ReOpenCount":0, "AgentEmailAddress":"david.brent@whogg.com", "EnrichStatus":"COMPLETED", "RelatedRequester":"", "Fcr":"Not Defined" }, { "Id":51, "TicketKey":"#051", "TicketId":"bc703038-69b4-455d-b8e2-7f5ae49cd430", "Title":"Spam Ticket_2", "Description":"null", "Status":"Open", "Priority":"Low", "Tags":[ ], "CustomData":{ "SRC_CS_2":"Online" }, "RelatedCustomerId":"68e7b35b-4cd4-4fc0-86a1-68bd6b2a639c", "CustomerData":{ "ProspectID":"68e7b35b-4cd4-4fc0-86a1-68bd6b2a639c", "FirstName":"James", "LastName":"Nestor", "Name":"James Nestor" }, "RelatedServiceGroupId":2, "RelatedAgentId":"c1826f52-ea88-11ee-9566-020f15161885", "DueDate":"2024-08-01T14:21:10", "Spam":true, "Deleted":false, "Deletable":false, "CreatedBy":"1a50c565-8525-11ea-a93b-0aa4c559f4ca", "CreatedOn":"2024-07-31T14:21:10", "ModifiedBy":"1a50c565-8525-11ea-a93b-0aa4c559f4ca", "ModifiedOn":"2024-08-06T09:41:49", "AgentName":"David Brent", "Sla":{ "ActualResolutionDue":null, "ActualFirstResponseDue":null, "FirstResponseBreached":true, "ResolutionBreached":true, "NextResponseBreached":false, "FirstResponseEnabled":true, "NextResponseEnabled":false, "FirstResponseTemplate":"OverDue", "NextResponseTemplate":null, "ResolutionTemplate":"OverDue", "ResolutionTag":"Days", "FirstResponseTag":"Days", "NextResponseTag":null, "FirstResponseDifference":174, "ResolutionDifference":173, "NextResponseDifference":0, "Paused":false, "TotalPauseDuration":0, "PauseDetails":null, "TicketSla":[ { "SupposedResolutionDue":"2024-08-01T14:36:10.201Z", "SupposedFirstResponseDue":"2024-07-31T15:21:10.201Z", "SupposedNextResponseDue":null, "NextResponseDueString":null, "FirstResponseDueString":null, "ResolutionDueString":null, "NextResponseDuration":null, "Priority":"Low", "Reminder":false, "Escalation":false }, { "SupposedResolutionDue":"2024-08-01T02:36:10.201Z", "SupposedFirstResponseDue":"2024-07-31T15:06:10.201Z", "SupposedNextResponseDue":null, "NextResponseDueString":null, "FirstResponseDueString":null, "ResolutionDueString":null, "NextResponseDuration":null, "Priority":"Medium", "Reminder":false, "Escalation":false }, { "SupposedResolutionDue":"2024-07-31T20:36:10.201Z", "SupposedFirstResponseDue":"2024-07-31T14:51:10.201Z", "SupposedNextResponseDue":null, "NextResponseDueString":null, "FirstResponseDueString":null, "ResolutionDueString":null, "NextResponseDuration":null, "Priority":"High", "Reminder":false, "Escalation":false }, { "SupposedResolutionDue":"2024-07-31T17:21:10.201Z", "SupposedFirstResponseDue":"2024-07-31T14:36:10.201Z", "SupposedNextResponseDue":null, "NextResponseDueString":null, "FirstResponseDueString":null, "ResolutionDueString":null, "NextResponseDuration":null, "Priority":"Urgent", "Reminder":false, "Escalation":false } ], "SlaId":1, "FirstResponseReminder":null, "ResolutionReminder":null, "NextResponseReminder":null, "FirstResponseEscalation":null, "ResolutionEscalation":null, "NextResponseEscalation":null, "WorkdayTemplate":{ "Id":"1", "Name":"Calendar Hours", "Timezone":"Asia/Kolkata", "WorkDay":[ "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday" ], "WorkingHour":{ "From":"00:00:00", "To":"23:45:00" }, "DefaultWorkdayTemplate":false }, "RelatedPlatformWorkdayTemplateId":null, "RelatedPlatformHolidayCalendarId":null, "NextResponseDetails":null }, "Visited":true, "GroupName":"Delhi Region", "Disposition":false, "PrimaryTicket":false, "Parent":false, "CustomerResponded":false, "ReOpenCount":0, "AgentEmailAddress":"david.brent@whogg.com", "InAssignmentQueue":false, "EnrichStatus":"COMPLETED", "RelatedRequester":"", "Fcr":"Not Defined" }, { "Id":47, "TicketKey":"#047", "TicketId":"5f2285b2-cdc1-4481-85f7-479ff64556ad", "Title":"Unable to make payment", "Description":"null", "Channel":"Portal", "Type":"General", "Status":"Open", "Priority":"Urgent", "Tags":[ ], "CustomData":{ "SRC_CS_2":"Online" }, "RelatedCustomerId":"8acc15c0-648b-424d-bc6b-6eaf57333563", "CustomerData":{ "FirstName":"Johnny", "LastName":"Rose", "Name":"Johnny Rose", "EmailAddress":"johnny@lsq.com", "Phone":"+91-1234567899" }, "RelatedServiceGroupId":2, "RelatedAgentId":"c1826f52-ea88-11ee-9566-020f15161885", "DueDate":"2024-08-01T13:51:18", "Spam":false, "Deleted":false, "Deletable":false, "CreatedBy":"1a50c565-8525-11ea-a93b-0aa4c559f4ca", "CreatedOn":"2024-07-31T13:51:17", "ModifiedBy":"b0e49cbc-2dad-4caa-aaff-45ba26ab739b", "ModifiedOn":"2024-07-31T16:51:38", "AgentName":"David Brent", "Sla":{ "ActualResolutionDue":null, "ActualFirstResponseDue":null, "FirstResponseBreached":true, "ResolutionBreached":true, "NextResponseBreached":false, "FirstResponseEnabled":true, "NextResponseEnabled":false, "FirstResponseTemplate":"OverDue", "NextResponseTemplate":null, "ResolutionTemplate":"OverDue", "ResolutionTag":"Days", "FirstResponseTag":"Days", "NextResponseTag":null, "FirstResponseDifference":174, "ResolutionDifference":174, "NextResponseDifference":0, "Paused":false, "TotalPauseDuration":0, "PauseDetails":null, "TicketSla":[ { "SupposedResolutionDue":"2024-08-01T14:06:17.628Z", "SupposedFirstResponseDue":"2024-07-31T14:51:17.628Z", "SupposedNextResponseDue":null, "NextResponseDueString":null, "FirstResponseDueString":null, "ResolutionDueString":null, "NextResponseDuration":null, "Priority":"Low", "Reminder":false, "Escalation":false }, { "SupposedResolutionDue":"2024-08-01T02:06:17.628Z", "SupposedFirstResponseDue":"2024-07-31T14:36:17.628Z", "SupposedNextResponseDue":null, "NextResponseDueString":null, "FirstResponseDueString":null, "ResolutionDueString":null, "NextResponseDuration":null, "Priority":"Medium", "Reminder":false, "Escalation":false }, { "SupposedResolutionDue":"2024-07-31T20:06:17.628Z", "SupposedFirstResponseDue":"2024-07-31T14:21:17.628Z", "SupposedNextResponseDue":null, "NextResponseDueString":null, "FirstResponseDueString":null, "ResolutionDueString":null, "NextResponseDuration":null, "Priority":"High", "Reminder":false, "Escalation":false }, { "SupposedResolutionDue":"2024-07-31T16:51:17.628Z", "SupposedFirstResponseDue":"2024-07-31T14:06:17.628Z", "SupposedNextResponseDue":null, "NextResponseDueString":null, "FirstResponseDueString":null, "ResolutionDueString":null, "NextResponseDuration":null, "Priority":"Urgent", "Reminder":false, "Escalation":false } ], "SlaId":1, "FirstResponseReminder":null, "ResolutionReminder":null, "NextResponseReminder":null, "FirstResponseEscalation":null, "ResolutionEscalation":null, "NextResponseEscalation":null, "WorkdayTemplate":{ "Id":"1", "Name":"Calendar Hours", "Timezone":"Asia/Kolkata", "WorkDay":[ "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday" ], "WorkingHour":{ "From":"00:00:00", "To":"23:45:00" }, "DefaultWorkdayTemplate":false }, "RelatedPlatformWorkdayTemplateId":null, "RelatedPlatformHolidayCalendarId":null, "NextResponseDetails":null }, "Visited":true, "GroupName":"Delhi Region", "Disposition":false, "PrimaryTicket":false, "Parent":false, "CustomerResponded":false, "ReOpenCount":0, "AgentEmailAddress":"david.brent@whogg.com", "EnrichStatus":"COMPLETED", "RelatedRequester":"", "Fcr":"Not Defined" }, { "Id":45, "TicketKey":"#045", "TicketId":"9f487e82-170e-4916-a1f7-bd829838bebc", "Title":"Service unavailable", "Description":"null", "Channel":"Email", "Type":"Problem", "Status":"Open", "Priority":"Medium", "Tags":[ ], "CustomData":{ "SRC_CS_2":"Online" }, "RelatedCustomerId":"5501cfea-34b3-4ce2-9eac-00715e7a9e70", "CustomerData":{ "FirstName":"Leia", "LastName":"Skywalker", "Name":"Leia Skywalker", "EmailAddress":"lst.hsr@gmail.com", "Phone":"+91-9566246465" }, "RelatedServiceGroupId":2, "RelatedAgentId":"c1826f52-ea88-11ee-9566-020f15161885", "DueDate":"2024-07-31T10:33:20", "Spam":false, "Deleted":false, "Deletable":false, "CreatedBy":"1a50c565-8525-11ea-a93b-0aa4c559f4ca", "CreatedOn":"2024-07-30T10:33:19", "ModifiedBy":"b0e49cbc-2dad-4caa-aaff-45ba26ab739b", "ModifiedOn":"2024-07-31T10:17:57", "AgentName":"David Brent", "Sla":{ "ActualResolutionDue":null, "ActualFirstResponseDue":null, "FirstResponseBreached":true, "ResolutionBreached":true, "NextResponseBreached":false, "FirstResponseEnabled":true, "NextResponseEnabled":false, "FirstResponseTemplate":"OverDue", "NextResponseTemplate":null, "ResolutionTemplate":"OverDue", "ResolutionTag":"Days", "FirstResponseTag":"Days", "NextResponseTag":null, "FirstResponseDifference":175, "ResolutionDifference":175, "NextResponseDifference":0, "Paused":false, "TotalPauseDuration":0, "PauseDetails":null, "TicketSla":[ { "SupposedResolutionDue":"2024-07-31T10:48:19.730Z", "SupposedFirstResponseDue":"2024-07-30T11:33:19.730Z", "SupposedNextResponseDue":null, "NextResponseDueString":null, "FirstResponseDueString":null, "ResolutionDueString":null, "NextResponseDuration":null, "Priority":"Low", "Reminder":false, "Escalation":false }, { "SupposedResolutionDue":"2024-07-30T22:48:19.730Z", "SupposedFirstResponseDue":"2024-07-30T11:18:19.730Z", "SupposedNextResponseDue":null, "NextResponseDueString":null, "FirstResponseDueString":null, "ResolutionDueString":null, "NextResponseDuration":null, "Priority":"Medium", "Reminder":false, "Escalation":false }, { "SupposedResolutionDue":"2024-07-30T16:33:19.730Z", "SupposedFirstResponseDue":"2024-07-30T11:03:19.730Z", "SupposedNextResponseDue":null, "NextResponseDueString":null, "FirstResponseDueString":null, "ResolutionDueString":null, "NextResponseDuration":null, "Priority":"High", "Reminder":false, "Escalation":false }, { "SupposedResolutionDue":"2024-07-30T13:33:19.730Z", "SupposedFirstResponseDue":"2024-07-30T10:48:19.730Z", "SupposedNextResponseDue":null, "NextResponseDueString":null, "FirstResponseDueString":null, "ResolutionDueString":null, "NextResponseDuration":null, "Priority":"Urgent", "Reminder":false, "Escalation":false } ], "SlaId":1, "FirstResponseReminder":null, "ResolutionReminder":null, "NextResponseReminder":null, "FirstResponseEscalation":null, "ResolutionEscalation":null, "NextResponseEscalation":null, "WorkdayTemplate":{ "Id":"1", "Name":"Calendar Hours", "Timezone":"Asia/Kolkata", "WorkDay":[ "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday" ], "WorkingHour":{ "From":"00:00:00", "To":"23:45:00" }, "DefaultWorkdayTemplate":false }, "RelatedPlatformWorkdayTemplateId":null, "RelatedPlatformHolidayCalendarId":null, "NextResponseDetails":null }, "Visited":true, "GroupName":"Delhi Region", "Disposition":false, "PrimaryTicket":false, "Parent":false, "CustomerResponded":false, "ReOpenCount":0, "AgentEmailAddress":"david.brent@whogg.com", "EnrichStatus":"COMPLETED", "RelatedRequester":"", "Fcr":"Not Defined" }, { "Id":38, "TicketKey":"#038", "TicketId":"5f439a9a-1d5c-4b60-8cce-9a98e57deb42", "Title":"Payment Failure", "Description":"null", "Channel":"Email", "Status":"Open", "Priority":"Low", "Tags":[ ], "CustomData":{ "SRC_CS_2":"Online" }, "RelatedCustomerId":"9e6ec6de-5a2a-4833-98c2-53145d6222f1", "CustomerData":{ "FirstName":"Shamar", "LastName":"Joseph", "Name":"Shamar Joseph", "EmailAddress":"srisudhanr@gmail.com" }, "RelatedServiceGroupId":2, "RelatedAgentId":"c1826f52-ea88-11ee-9566-020f15161885", "DueDate":"2024-07-10T07:37:26", "Spam":false, "Deleted":false, "Deletable":false, "CreatedBy":"1a50c565-8525-11ea-a93b-0aa4c559f4ca", "CreatedOn":"2024-07-09T07:37:25", "ModifiedBy":"1a50c565-8525-11ea-a93b-0aa4c559f4ca", "ModifiedOn":"2024-07-31T14:13:38", "AgentName":"David Brent", "Sla":{ "ActualResolutionDue":null, "ActualFirstResponseDue":null, "FirstResponseBreached":true, "ResolutionBreached":true, "NextResponseBreached":false, "FirstResponseEnabled":true, "NextResponseEnabled":false, "FirstResponseTemplate":"OverDue", "NextResponseTemplate":null, "ResolutionTemplate":"OverDue", "ResolutionTag":"Days", "FirstResponseTag":"Days", "NextResponseTag":null, "FirstResponseDifference":197, "ResolutionDifference":196, "NextResponseDifference":0, "Paused":false, "TotalPauseDuration":0, "PauseDetails":null, "TicketSla":[ { "SupposedResolutionDue":"2024-07-10T07:52:25.935Z", "SupposedFirstResponseDue":"2024-07-09T08:37:25.935Z", "SupposedNextResponseDue":null, "NextResponseDueString":null, "FirstResponseDueString":null, "ResolutionDueString":null, "NextResponseDuration":null, "Priority":"Low", "Reminder":false, "Escalation":false }, { "SupposedResolutionDue":"2024-07-09T19:52:25.935Z", "SupposedFirstResponseDue":"2024-07-09T08:22:25.935Z", "SupposedNextResponseDue":null, "NextResponseDueString":null, "FirstResponseDueString":null, "ResolutionDueString":null, "NextResponseDuration":null, "Priority":"Medium", "Reminder":false, "Escalation":false }, { "SupposedResolutionDue":"2024-07-09T13:37:25.935Z", "SupposedFirstResponseDue":"2024-07-09T08:07:25.935Z", "SupposedNextResponseDue":null, "NextResponseDueString":null, "FirstResponseDueString":null, "ResolutionDueString":null, "NextResponseDuration":null, "Priority":"High", "Reminder":false, "Escalation":false }, { "SupposedResolutionDue":"2024-07-09T10:37:25.935Z", "SupposedFirstResponseDue":"2024-07-09T07:52:25.935Z", "SupposedNextResponseDue":null, "NextResponseDueString":null, "FirstResponseDueString":null, "ResolutionDueString":null, "NextResponseDuration":null, "Priority":"Urgent", "Reminder":false, "Escalation":false } ], "SlaId":1, "FirstResponseReminder":null, "ResolutionReminder":null, "NextResponseReminder":null, "FirstResponseEscalation":null, "ResolutionEscalation":null, "NextResponseEscalation":null, "WorkdayTemplate":{ "Id":"1", "Name":"Calendar Hours", "Timezone":"Asia/Kolkata", "WorkDay":[ "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday" ], "WorkingHour":{ "From":"00:00:00", "To":"23:45:00" }, "DefaultWorkdayTemplate":false }, "RelatedPlatformWorkdayTemplateId":null, "RelatedPlatformHolidayCalendarId":null, "NextResponseDetails":null }, "Visited":true, "GroupName":"Delhi Region", "Disposition":false, "PrimaryTicket":false, "Parent":false, "CustomerResponded":false, "ReOpenCount":0, "AgentEmailAddress":"david.brent@whogg.com", "EnrichStatus":"COMPLETED", "RelatedRequester":"", "Fcr":"Not Defined" }, { "Id":37, "TicketKey":"#037", "TicketId":"d264a714-fb20-4744-8b78-fa5f738cd0bc", "Title":"Payment Failure", "Description":"null", "Channel":"Email", "Status":"Open", "Priority":"Low", "Tags":[ ], "CustomData":{ "SRC_CS_2":"Online" }, "RelatedCustomerId":"9e6ec6de-5a2a-4833-98c2-53145d6222f1", "CustomerData":{ "FirstName":"Shamar", "LastName":"Joseph", "Name":"Shamar Joseph", "EmailAddress":"srisudhanr@gmail.com" }, "RelatedServiceGroupId":2, "RelatedAgentId":"c1826f52-ea88-11ee-9566-020f15161885", "DueDate":"2024-07-10T07:32:25", "Spam":false, "Deleted":false, "Deletable":false, "CreatedBy":"1a50c565-8525-11ea-a93b-0aa4c559f4ca", "CreatedOn":"2024-07-09T07:32:24", "ModifiedBy":"1a50c565-8525-11ea-a93b-0aa4c559f4ca", "ModifiedOn":"2024-07-31T14:13:38", "AgentName":"David Brent", "Sla":{ "ActualResolutionDue":null, "ActualFirstResponseDue":null, "FirstResponseBreached":false, "ResolutionBreached":false, "NextResponseBreached":false, "FirstResponseEnabled":true, "NextResponseEnabled":false, "FirstResponseTemplate":"OverDue", "NextResponseTemplate":null, "ResolutionTemplate":"OverDue", "ResolutionTag":"Days", "FirstResponseTag":"Days", "NextResponseTag":null, "FirstResponseDifference":197, "ResolutionDifference":196, "NextResponseDifference":0, "Paused":false, "TotalPauseDuration":0, "PauseDetails":null, "TicketSla":[ { "SupposedResolutionDue":"2024-07-10T07:47:24.609Z", "SupposedFirstResponseDue":"2024-07-09T08:32:24.609Z", "SupposedNextResponseDue":null, "NextResponseDueString":null, "FirstResponseDueString":null, "ResolutionDueString":null, "NextResponseDuration":null, "Priority":"Low", "Reminder":false, "Escalation":false }, { "SupposedResolutionDue":"2024-07-09T19:47:24.609Z", "SupposedFirstResponseDue":"2024-07-09T08:17:24.609Z", "SupposedNextResponseDue":null, "NextResponseDueString":null, "FirstResponseDueString":null, "ResolutionDueString":null, "NextResponseDuration":null, "Priority":"Medium", "Reminder":false, "Escalation":false }, { "SupposedResolutionDue":"2024-07-09T13:32:24.609Z", "SupposedFirstResponseDue":"2024-07-09T08:02:24.609Z", "SupposedNextResponseDue":null, "NextResponseDueString":null, "FirstResponseDueString":null, "ResolutionDueString":null, "NextResponseDuration":null, "Priority":"High", "Reminder":false, "Escalation":false }, { "SupposedResolutionDue":"2024-07-09T10:32:24.609Z", "SupposedFirstResponseDue":"2024-07-09T07:47:24.609Z", "SupposedNextResponseDue":null, "NextResponseDueString":null, "FirstResponseDueString":null, "ResolutionDueString":null, "NextResponseDuration":null, "Priority":"Urgent", "Reminder":false, "Escalation":false } ], "SlaId":1, "FirstResponseReminder":null, "ResolutionReminder":null, "NextResponseReminder":null, "FirstResponseEscalation":null, "ResolutionEscalation":null, "NextResponseEscalation":null, "WorkdayTemplate":{ "Id":"1", "Name":"Calendar Hours", "Timezone":"Asia/Kolkata", "WorkDay":[ "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday" ], "WorkingHour":{ "From":"00:00:00", "To":"23:45:00" }, "DefaultWorkdayTemplate":false }, "RelatedPlatformWorkdayTemplateId":null, "RelatedPlatformHolidayCalendarId":null, "NextResponseDetails":null }, "Visited":true, "GroupName":"Delhi Region", "Disposition":false, "PrimaryTicket":false, "Parent":false, "CustomerResponded":false, "ReOpenCount":0, "AgentEmailAddress":"david.brent@whogg.com", "EnrichStatus":"COMPLETED", "RelatedRequester":"", "Fcr":"Not Defined" }, { "Id":36, "TicketKey":"#036", "TicketId":"a0a249c6-d12b-49c3-a2b3-b10953254a74", "Title":"Payment Failure", "Description":"null", "Channel":"Email", "Status":"Open", "Priority":"Low", "Tags":[ ], "CustomData":{ "SRC_CS_2":"Online" }, "RelatedCustomerId":"e9783ae9-6767-4387-acc3-25b2d3c9222e", "CustomerData":{ "FirstName":"Oshin", "LastName":"Anand", "Name":"Oshin Anand", "EmailAddress":"oshinanandmedia@gmail.com" }, "RelatedAgentId":"c1826f52-ea88-11ee-9566-020f15161885", "DueDate":"2024-07-10T07:26:23", "Spam":false, "Deleted":false, "Deletable":false, "CreatedBy":"1a50c565-8525-11ea-a93b-0aa4c559f4ca", "CreatedOn":"2024-07-09T07:26:22", "ModifiedBy":"633a9c2a-9a9f-402d-92e0-ea36a00819e5", "ModifiedOn":"2024-09-20T14:31:23", "AgentName":"David Brent", "Sla":{ "ActualResolutionDue":null, "ActualFirstResponseDue":null, "FirstResponseBreached":true, "ResolutionBreached":true, "NextResponseBreached":false, "FirstResponseEnabled":true, "NextResponseEnabled":false, "FirstResponseTemplate":"OverDue", "NextResponseTemplate":null, "ResolutionTemplate":"OverDue", "ResolutionTag":"Days", "FirstResponseTag":"Days", "NextResponseTag":null, "FirstResponseDifference":197, "ResolutionDifference":196, "NextResponseDifference":0, "Paused":false, "TotalPauseDuration":0, "PauseDetails":null, "TicketSla":[ { "SupposedResolutionDue":"2024-07-10T07:41:22.712Z", "SupposedFirstResponseDue":"2024-07-09T08:26:22.712Z", "SupposedNextResponseDue":null, "NextResponseDueString":null, "FirstResponseDueString":null, "ResolutionDueString":null, "NextResponseDuration":null, "Priority":"Low", "Reminder":false, "Escalation":false }, { "SupposedResolutionDue":"2024-07-09T19:41:22.712Z", "SupposedFirstResponseDue":"2024-07-09T08:11:22.712Z", "SupposedNextResponseDue":null, "NextResponseDueString":null, "FirstResponseDueString":null, "ResolutionDueString":null, "NextResponseDuration":null, "Priority":"Medium", "Reminder":false, "Escalation":false }, { "SupposedResolutionDue":"2024-07-09T13:26:22.712Z", "SupposedFirstResponseDue":"2024-07-09T07:56:22.712Z", "SupposedNextResponseDue":null, "NextResponseDueString":null, "FirstResponseDueString":null, "ResolutionDueString":null, "NextResponseDuration":null, "Priority":"High", "Reminder":false, "Escalation":false }, { "SupposedResolutionDue":"2024-07-09T10:26:22.712Z", "SupposedFirstResponseDue":"2024-07-09T07:41:22.712Z", "SupposedNextResponseDue":null, "NextResponseDueString":null, "FirstResponseDueString":null, "ResolutionDueString":null, "NextResponseDuration":null, "Priority":"Urgent", "Reminder":false, "Escalation":false } ], "SlaId":1, "FirstResponseReminder":null, "ResolutionReminder":null, "NextResponseReminder":null, "FirstResponseEscalation":null, "ResolutionEscalation":null, "NextResponseEscalation":null, "WorkdayTemplate":{ "Id":"1", "Name":"Calendar Hours", "Timezone":"Asia/Kolkata", "WorkDay":[ "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday" ], "WorkingHour":{ "From":"00:00:00", "To":"23:45:00" }, "DefaultWorkdayTemplate":false }, "RelatedPlatformWorkdayTemplateId":null, "RelatedPlatformHolidayCalendarId":null, "NextResponseDetails":null }, "Visited":true, "Disposition":false, "PrimaryTicket":false, "Parent":false, "CustomerResponded":false, "IsFirstResponseEscalated":false, "IsResolutionEscalated":false, "ReOpenCount":0, "AgentEmailAddress":"david.brent@whogg.com", "EnrichStatus":"COMPLETED", "RelatedRequester":"", "Fcr":"Not Defined" }, { "Id":35, "TicketKey":"#035", "TicketId":"3316649f-ac2c-4359-9f2c-a57e6ce4a3cf", "Title":"Payment Failure", "Description":"null", "Status":"Open", "Priority":"Low", "Tags":[ ], "CustomData":{ "SRC_CS_2":"Online" }, "RelatedCustomerId":"e9783ae9-6767-4387-acc3-25b2d3c9222e", "CustomerData":{ "FirstName":"Oshin", "LastName":"Anand", "Name":"Oshin Anand", "EmailAddress":"oshinanandmedia@gmail.com" }, "RelatedAgentId":"c1826f52-ea88-11ee-9566-020f15161885", "DueDate":"2024-07-10T07:22:27", "Spam":false, "Deleted":false, "Deletable":false, "CreatedBy":"1a50c565-8525-11ea-a93b-0aa4c559f4ca", "CreatedOn":"2024-07-09T07:22:26", "ModifiedBy":"1a50c565-8525-11ea-a93b-0aa4c559f4ca", "ModifiedOn":"2024-07-31T14:52:49", "AgentName":"David Brent", "Sla":{ "ActualResolutionDue":null, "ActualFirstResponseDue":null, "FirstResponseBreached":true, "ResolutionBreached":true, "NextResponseBreached":false, "FirstResponseEnabled":true, "NextResponseEnabled":false, "FirstResponseTemplate":"OverDue", "NextResponseTemplate":null, "ResolutionTemplate":"OverDue", "ResolutionTag":"Days", "FirstResponseTag":"Days", "NextResponseTag":null, "FirstResponseDifference":197, "ResolutionDifference":196, "NextResponseDifference":0, "Paused":false, "TotalPauseDuration":0, "PauseDetails":null, "TicketSla":[ { "SupposedResolutionDue":"2024-07-10T07:37:26.618Z", "SupposedFirstResponseDue":"2024-07-09T08:22:26.618Z", "SupposedNextResponseDue":null, "NextResponseDueString":null, "FirstResponseDueString":null, "ResolutionDueString":null, "NextResponseDuration":null, "Priority":"Low", "Reminder":false, "Escalation":false }, { "SupposedResolutionDue":"2024-07-09T19:37:26.618Z", "SupposedFirstResponseDue":"2024-07-09T08:07:26.618Z", "SupposedNextResponseDue":null, "NextResponseDueString":null, "FirstResponseDueString":null, "ResolutionDueString":null, "NextResponseDuration":null, "Priority":"Medium", "Reminder":false, "Escalation":false }, { "SupposedResolutionDue":"2024-07-09T13:22:26.618Z", "SupposedFirstResponseDue":"2024-07-09T07:52:26.618Z", "SupposedNextResponseDue":null, "NextResponseDueString":null, "FirstResponseDueString":null, "ResolutionDueString":null, "NextResponseDuration":null, "Priority":"High", "Reminder":false, "Escalation":false }, { "SupposedResolutionDue":"2024-07-09T10:22:26.618Z", "SupposedFirstResponseDue":"2024-07-09T07:37:26.618Z", "SupposedNextResponseDue":null, "NextResponseDueString":null, "FirstResponseDueString":null, "ResolutionDueString":null, "NextResponseDuration":null, "Priority":"Urgent", "Reminder":false, "Escalation":false } ], "SlaId":1, "FirstResponseReminder":null, "ResolutionReminder":null, "NextResponseReminder":null, "FirstResponseEscalation":null, "ResolutionEscalation":null, "NextResponseEscalation":null, "WorkdayTemplate":{ "Id":"1", "Name":"Calendar Hours", "Timezone":"Asia/Kolkata", "WorkDay":[ "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday" ], "WorkingHour":{ "From":"00:00:00", "To":"23:45:00" }, "DefaultWorkdayTemplate":false }, "RelatedPlatformWorkdayTemplateId":null, "RelatedPlatformHolidayCalendarId":null, "NextResponseDetails":null }, "Visited":true, "Disposition":false, "PrimaryTicket":false, "Parent":false, "CustomerResponded":false, "ReOpenCount":0, "AgentEmailAddress":"david.brent@whogg.com", "EnrichStatus":"COMPLETED", "RelatedRequester":"", "Fcr":"Not Defined" }, { "Id":10, "TicketKey":"#010", "TicketId":"f90ffc7b-0891-44c5-873c-e7595d2bde16", "Title":"escalation", "Channel":"Email", "Status":"Open", "Priority":"Urgent", "Tags":[ ], "CustomData":{ "SRC_CS_2":"Online" }, "RelatedCustomerId":"133cf992-2e7b-472a-9780-4b376e8ac6ac", "CustomerData":{ "FirstName":"Mandhi", "LastName":"King", "Name":"Mandhi King", "EmailAddress":"mandhhi@myleadsquared.com", "Phone":"8888888000" }, "RelatedAgentId":"efe84e80-c74e-11ee-9566-020f15161885", "DueDate":"2024-03-27T17:41:48", "Spam":false, "Deleted":true, "Deletable":false, "CreatedBy":"efe84e80-c74e-11ee-9566-020f15161885", "CreatedOn":"2024-03-26T17:41:47", "ModifiedBy":"1a50c565-8525-11ea-a93b-0aa4c559f4ca", "ModifiedOn":"2024-04-04T14:10:06", "AgentName":"tejas", "Sla":{ "ActualResolutionDue":null, "ActualFirstResponseDue":null, "FirstResponseBreached":true, "ResolutionBreached":true, "NextResponseBreached":false, "FirstResponseEnabled":null, "NextResponseEnabled":false, "FirstResponseTemplate":"OverDue", "NextResponseTemplate":null, "ResolutionTemplate":"OverDue", "ResolutionTag":"Days", "FirstResponseTag":"Days", "NextResponseTag":null, "FirstResponseDifference":301, "ResolutionDifference":301, "NextResponseDifference":0, "Paused":false, "TotalPauseDuration":0, "PauseDetails":null, "TicketSla":[ { "SupposedResolutionDue":"2024-03-27T17:56:47.742Z", "SupposedFirstResponseDue":"2024-03-26T18:56:47.742Z", "SupposedNextResponseDue":null, "NextResponseDueString":null, "FirstResponseDueString":null, "ResolutionDueString":null, "NextResponseDuration":null, "Priority":"Low", "Reminder":false, "Escalation":false }, { "SupposedResolutionDue":"2024-03-27T05:56:47.742Z", "SupposedFirstResponseDue":"2024-03-26T18:41:47.742Z", "SupposedNextResponseDue":null, "NextResponseDueString":null, "FirstResponseDueString":null, "ResolutionDueString":null, "NextResponseDuration":null, "Priority":"Medium", "Reminder":false, "Escalation":false }, { "SupposedResolutionDue":"2024-03-26T23:56:47.742Z", "SupposedFirstResponseDue":"2024-03-26T18:11:47.742Z", "SupposedNextResponseDue":null, "NextResponseDueString":null, "FirstResponseDueString":null, "ResolutionDueString":null, "NextResponseDuration":null, "Priority":"High", "Reminder":false, "Escalation":false }, { "SupposedResolutionDue":"2024-03-26T17:44:47.742Z", "SupposedFirstResponseDue":"2024-03-26T17:43:47.742Z", "SupposedNextResponseDue":null, "NextResponseDueString":null, "FirstResponseDueString":null, "ResolutionDueString":null, "NextResponseDuration":null, "Priority":"Urgent", "Reminder":true, "Escalation":true } ], "SlaId":1, "FirstResponseReminder":null, "ResolutionReminder":null, "NextResponseReminder":null, "FirstResponseEscalation":[ { "RemindTime":"2024-03-26T17:44:47.742Z", "RelatedAgentIds":[ "Ticket Owner" ], "Level":1, "ConfiguredDuration":0 }, { "RemindTime":"2024-03-26T17:54:47.742Z", "RelatedAgentIds":[ "Ticket Owner" ], "Level":2, "ConfiguredDuration":10 } ], "ResolutionEscalation":[ { "RemindTime":"2024-03-26T17:44:47.742Z", "RelatedAgentIds":[ "Ticket Owner" ], "Level":1, "ConfiguredDuration":0 }, { "RemindTime":"2024-03-26T17:54:47.742Z", "RelatedAgentIds":[ "Ticket Owner" ], "Level":2, "ConfiguredDuration":10 } ], "NextResponseEscalation":null, "WorkdayTemplate":{ "Id":"1", "Name":"Calendar Hours", "Timezone":"Asia/Kolkata", "WorkDay":[ "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday" ], "WorkingHour":{ "From":"00:00:00", "To":"23:45:00" }, "DefaultWorkdayTemplate":false }, "RelatedPlatformWorkdayTemplateId":null, "RelatedPlatformHolidayCalendarId":null, "NextResponseDetails":null }, "Visited":true, "Disposition":false, "PrimaryTicket":false, "Parent":false, "CustomerResponded":false, "EscalatedTo":[ "Ticket Owner" ], "IsFirstResponseEscalated":true, "IsResolutionEscalated":true, "ReOpenCount":0, "AgentEmailAddress":"tejas.22284@lsqdev.in", "EnrichStatus":"COMPLETED", "RelatedRequester":"" } ] }
HTTP Response Codes
Code | Description |
---|---|
200 OK | This is the status code for successful API call. |
401 Unauthorized | The API call was made with invalid access credentials. Check your AccessKey and SecretKey. |
400 Bad Request | The message body on the request is not as per API specification. Make sure that content type is set to “application/json” and the JSON body has correct attribute names and structure. |
404 Not Found | The API could not be found. Please check the API signature. |
429 Too Many Requests | API calls exceeded the limit of 25 in 5 second(s) |
500 Internal Server Error | The API called failed. There could be many reasons for it. Check the exception message to get more details. |