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

KeyDatatypeRequiredDescription
billingTypestringAllowed values are FIXED_COST_FOR_TICKETS FIXED_COST_FOR_AGENTS SPECIFIC_COST_PER_AGENT SPECIFIC_COST_PER_PROFILE
includestringAllowed value is : owner
fromstringIndex number, starting from which the time entries must be fetched
limitstringNumber of time entries to fetch

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{&quot;data&quot;:[{&quot;owner&quot;:{&quot;firstName&quot;:&quot;Eswer&quot;,&quot;lastName&quot;:&quot;KM&quot;,&quot;photoURL&quot;:&quot;https://contacts.zoho.com/file?t=user\u0026ID=4851669&quot;,&quot;name&quot;:&quot;Eswer KM&quot;,&quot;id&quot;:&quot;4000000008688129&quot;},&quot;secondsSpent&quot;:&quot;0&quot;,&quot;parent&quot;:{&quot;ticketNumber&quot;:&quot;1004&quot;,&quot;subject&quot;:&quot;Ticket subject&quot;,&quot;id&quot;:&quot;4000000031007&quot;,&quot;type&quot;:&quot;TICKETS&quot;},&quot;cf&quot;:{},&quot;executedTime&quot;:null,&quot;fixedCost&quot;:null,&quot;departmentId&quot;:&quot;4000000008694&quot;,&quot;minutesSpent&quot;:&quot;0&quot;,&quot;agentCostPerHour&quot;:null,&quot;description&quot;:null,&quot;hoursSpent&quot;:&quot;0&quot;,&quot;ownerId&quot;:&quot;15000000009148&quot;,&quot;isBillable&quot;:true,&quot;mode&quot;:&quot;MANUAL&quot;,&quot;isTrashed&quot;:&quot;false&quot;,&quot;createdBy&quot;:&quot;15000000009148&quot;,&quot;billingType&quot;:&quot;FIXED_COST_FOR_TICKETS&quot;,&quot;createdTime&quot;:&quot;2018-01-10T18:45:17.000Z&quot;,&quot;invoiceId&quot;:&quot;4000000008688123&quot;,&quot;id&quot;:&quot;15000000031007&quot;,&quot;requestChargeType&quot;:&quot;Customer Service&quot;,&quot;additionalCost&quot;:null,&quot;totalCost&quot;:&quot;0.0&quot;},{&quot;owner&quot;:{&quot;firstName&quot;:&quot;Eswer&quot;,&quot;lastName&quot;:&quot;KM&quot;,&quot;photoURL&quot;:&quot;https://contacts.zoho.com/file?t=user\u0026ID=4851669&quot;,&quot;name&quot;:&quot;Eswer KM&quot;,&quot;id&quot;:&quot;4000000008688129&quot;},&quot;secondsSpent&quot;:&quot;0&quot;,&quot;parent&quot;:{&quot;ticketNumber&quot;:&quot;1004&quot;,&quot;subject&quot;:&quot;Ticket subject&quot;,&quot;id&quot;:&quot;4000000031007&quot;,&quot;type&quot;:&quot;TICKETS&quot;},&quot;cf&quot;:{},&quot;executedTime&quot;:&quot;2017-12-20T18:09:20.000Z&quot;,&quot;departmentId&quot;:&quot;4000000008694&quot;,&quot;fixedCost&quot;:null,&quot;minutesSpent&quot;:&quot;0&quot;,&quot;agentCostPerHour&quot;:null,&quot;description&quot;:&quot;Dummy#2&quot;,&quot;hoursSpent&quot;:&quot;1&quot;,&quot;ownerId&quot;:&quot;15000000009148&quot;,&quot;isBillable&quot;:true,&quot;mode&quot;:&quot;MANUAL&quot;,&quot;isTrashed&quot;:&quot;false&quot;,&quot;createdBy&quot;:&quot;15000000009148&quot;,&quot;billingType&quot;:&quot;FIXED_COST_FOR_TICKETS&quot;,&quot;createdTime&quot;:&quot;2018-01-10T15:20:47.000Z&quot;,&quot;invoiceId&quot;:&quot;4000000008688123&quot;,&quot;id&quot;:&quot;15000000029314&quot;,&quot;requestChargeType&quot;:&quot;Upgrade Request&quot;,&quot;additionalCost&quot;:null,&quot;totalCost&quot;:&quot;0.0&quot;}]}