{ "opencollection": "1.0.0", "info": { "name": "Helpcenter TicketCount API", "version": "1.0.0" }, "items": [ { "info": { "name": "TicketCount", "type": "folder" }, "items": [ { "info": { "name": "Get tickets count", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v1/ticketsCount", "params": [ { "name": "contactId", "value": "", "type": "query", "description": "ID of the contact who raised the ticket " }, { "name": "departmentId", "value": "", "type": "query", "description": "ID of the department from which ticket count must be fetched. If you do not pass this parameter in the API request, ticket count across all departments will be returned. " }, { "name": "createdTimeRange", "value": "", "type": "query", "description": "Key that filters tickets created in a particular period of time. !Enter the from and to dates in the ISO date format of yyyy-MM-ddThh:mm:ss.SSSZ;! !For example,! createdTimeRange=2017-11-05T00:00:00.000Z,2018-09-05T23:59:00.000Z" }, { "name": "modifiedTimeRange", "value": "", "type": "query", "description": "Key that filters tickets modified in a particular period of time. !Enter the from and to dates in the ISO date format of yyyy-MM-ddThh:mm:ss.SSSZ;! !For example,! modifiedTimeRange=2017-11-05T00:00:00.000Z,2018-09-05T23:59:00.000Z" }, { "name": "category", "value": "", "type": "query", "description": "Category of the ticket" }, { "name": "assigneeId", "value": "", "type": "query", "description": "ID of the agent assigned to resolve the ticket" } ] }, "docs": "This API returns the ticket count of your help desk." }, { "info": { "name": "Get ticket count by field", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v1/ticketsCountByFieldValues", "params": [ { "name": "contactId", "value": "", "type": "query", "description": "ID of the contact who raised the ticket " }, { "name": "departmentId", "value": "", "type": "query", "description": "ID of the department from which ticket count must be fetched. If you do not pass this parameter in the API request, ticket count across all departments will be returned. " }, { "name": "createdTimeRange", "value": "", "type": "query", "description": "Key that filters tickets created in a particular period of time. !Enter the from and to dates in the ISO date format of yyyy-MM-ddThh:mm:ss.SSSZ;! !For example,! createdTimeRange=2017-11-05T00:00:00.000Z,2018-09-05T23:59:00.000Z" }, { "name": "modifiedTimeRange", "value": "", "type": "query", "description": "Key that filters tickets modified in a particular period of time. !Enter the from and to dates in the ISO date format of yyyy-MM-ddThh:mm:ss.SSSZ;! !For example,! modifiedTimeRange=2017-11-05T00:00:00.000Z,2018-09-05T23:59:00.000Z" }, { "name": "category", "value": "", "type": "query", "description": "Category of the ticket" }, { "name": "assigneeId", "value": "", "type": "query", "description": "ID of the agent assigned to resolve the ticket" }, { "name": "accountId", "value": "", "type": "query", "description": "ID of the account to which the ticket is mapped" }, { "name": "field", "value": "", "type": "query", "description": "Field by which the ticket count must be filtered. Values allowed are. !@status,@! !@priority,@! !@channel,@! !@statusType,@! !@spam,@! !@escalated,@! !@overDue@!" } ] }, "docs": "This API returns the ticket count of your help desk, filtered by a specific field." } ] } ], "bundled": true }