Get Ticket Time Entries by Billing Type
GET {{baseUrl}}/api/v1/tickets/:ticket_id/timeEntryByBillingType?billingType=<String>
This API fetches time entries for a ticket created after recently modified time of the given billing type from your help desk
OAuth Scope
Desk.tickets.READ
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
billingType | string | Allowed values are FIXED_COST_FOR_TICKETS FIXED_COST_FOR_AGENTS SPECIFIC_COST_PER_AGENT SPECIFIC_COST_PER_PROFILE | |
include | string | Allowed value is : owner | |
from | string | Index number, starting from which the time entries must be fetched | |
limit | string | Number of time entries to fetch |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"data":[{"owner":{"firstName":"Eswer","lastName":"KM","photoURL":"https://contacts.zoho.com/file?t=user\u0026ID=4851669","name":"Eswer KM","id":"4000000008688129"},"secondsSpent":"0","parent":{"ticketNumber":"1004","subject":"Ticket subject","id":"4000000031007","type":"TICKETS"},"cf":{},"executedTime":null,"fixedCost":null,"departmentId":"4000000008694","minutesSpent":"0","agentCostPerHour":null,"description":null,"hoursSpent":"0","ownerId":"15000000009148","isBillable":true,"mode":"MANUAL","isTrashed":"false","createdBy":"15000000009148","billingType":"FIXED_COST_FOR_TICKETS","createdTime":"2018-01-10T18:45:17.000Z","invoiceId":"4000000008688123","id":"15000000031007","requestChargeType":"Customer Service","additionalCost":null,"totalCost":"0.0"},{"owner":{"firstName":"Eswer","lastName":"KM","photoURL":"https://contacts.zoho.com/file?t=user\u0026ID=4851669","name":"Eswer KM","id":"4000000008688129"},"secondsSpent":"0","parent":{"ticketNumber":"1004","subject":"Ticket subject","id":"4000000031007","type":"TICKETS"},"cf":{},"executedTime":"2017-12-20T18:09:20.000Z","departmentId":"4000000008694","fixedCost":null,"minutesSpent":"0","agentCostPerHour":null,"description":"Dummy#2","hoursSpent":"1","ownerId":"15000000009148","isBillable":true,"mode":"MANUAL","isTrashed":"false","createdBy":"15000000009148","billingType":"FIXED_COST_FOR_TICKETS","createdTime":"2018-01-10T15:20:47.000Z","invoiceId":"4000000008688123","id":"15000000029314","requestChargeType":"Upgrade Request","additionalCost":null,"totalCost":"0.0"}]}