List history details of billing TimeTrack Settings
GET {{baseUrl}}/api/v1/timeTrackHistory?depId=<long>
This API fetches the history of changes made to the billing preferences in time tracking settings. The different events supported are BILLINGPREFERENCEENABLED, BILLINGPREFERENCEDISABLED, BILLINGTYPESELECTED, BILLINGTYPECHANGED, FIXEDCOSTENTERED, FIXEDCOSTEDITED, AGENTADDED, AGENTCOSTEDITED, AGENTDELETED, PROFILEADDED, PROFILECOSTEDITED, and PROFILEDELETED.
OAuth Scope
Desk.settings.READ
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
depId | string | ID of the department from which the history must be fetched. | |
from | string | Index number, starting from which the events must be fetched. | |
limit | string | Number of events to be fetched. | |
include | string | Secondary information related to the time entry. Value supported is owner . |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"data":[{"owner":[{"photoURL":"'https://contacts.zoho.com/file?t=user\u0026fs=thumb\u0026ID=5166343\u0026nps=404\u0026exp=20'","name":"meenakshi"}],"modifiedTime":"2018-02-19T12:53:49.000Z","agentId":"15000000009148","name":"AGENT_DELETED","modifiedBy":"15000000009148"},{"owner":{"photoURL":"https://contacts.zoho.com/file?t=user\u0026fs=thumb\u0026ID=5166891\u0026nps=404\u0026exp=600'","name":"meenakshi"},"modifiedTime":"2018-02-19T12:53:49.000Z","agentId":"15000000009321","cost":"100","name":"AGENT_ADDED","modifiedBy":"15000000009148","modifiedAgent":{"photoURL":"https://contacts.zoho.com/file?t=user\u0026fs=thumb\u0026ID=5166343\u0026nps=404\u0026exp=20","name":"meenakshi"}},{"owner":{"photoURL":"https://contacts.zoho.com/file?t=user\u0026fs=thumb\u0026ID=5166343\u0026nps=404\u0026exp=20","name":"meenakshi"},"modifiedTime":"2018-02-19T12:45:17.000Z","agentId":"15000000009148","cost":"100","name":"AGENT_ADDED","modifiedBy":"15000000009148","modifiedAgent":{"photoURL":"https://contacts.zoho.com/file?t=user\u0026fs=thumb\u0026ID=5166343\u0026nps=404\u0026exp=20","name":"meenakshi"}},{"owner":{"photoURL":"https://contacts.zoho.com/file?t=user\u0026fs=thumb\u0026ID=5166343\u0026nps=404\u0026exp=20","name":"meenakshi"},"newValue":"SPECIFIC_COST_PER_AGENT","modifiedTime":"2018-02-19T12:45:17.000Z","name":"BILLING_TYPE_CHANGED","modifiedBy":"15000000009148","oldValue":"FIXED_COST_FOR_TICKETS","modifiedAgent":null},{"owner":{"photoURL":"https://contacts.zoho.com/file?t=user\u0026fs=thumb\u0026ID=5166343\u0026nps=404\u0026exp=20","name":"meenakshi"},"modifiedTime":"2018-02-09T09:09:10.000Z","name":"BILLING_PREFERENCE_ENABLED","modifiedBy":"15000000009148"},{"owner":{"photoURL":"https://contacts.zoho.com/file?t=user\u0026fs=thumb\u0026ID=5166343\u0026nps=404\u0026exp=20","name":"meenakshi"},"newValue":null,"modifiedTime":"2018-02-09T09:08:57.000Z","name":"FIXED_COST_ENTERED","modifiedBy":"15000000009148","oldValue":null,"modifiedAgent":null},{"owner":{"photoURL":"https://contacts.zoho.com/file?t=user\u0026fs=thumb\u0026ID=5166343\u0026nps=404\u0026exp=20","name":"meenakshi"},"newValue":"FIXED_COST_FOR_TICKETS","modifiedTime":"2018-02-09T09:08:57.000Z","name":"BILLING_TYPE_SELECTED","modifiedBy":"15000000009148","oldValue":null,"modifiedAgent":null},{"owner":{"photoURL":"https://contacts.zoho.com/file?t=user\u0026fs=thumb\u0026ID=5166343\u0026nps=404\u0026exp=20","name":"meenakshi"},"modifiedTime":"2018-02-09T07:50:01.000Z","name":"BILLING_PREFERENCE_DISABLED","modifiedBy":"15000000009148","modifiedAgent":null},{"owner":{"photoURL":"https://contacts.zoho.com/file?t=user\u0026fs=thumb\u0026ID=5166343\u0026nps=404\u0026exp=20","name":"meenakshi"},"newValue":"1300","modifiedTime":"2018-02-09T05:13:00.000Z","name":"FIXED_COST_ENTERED","modifiedBy":"15000000009148","oldValue":null,"modifiedAgent":null},{"owner":{"photoURL":"https://contacts.zoho.com/file?t=user\u0026fs=thumb\u0026ID=5166343\u0026nps=404\u0026exp=20","name":"meenakshi"},"newValue":"FIXED_COST_FOR_AGENTS","modifiedTime":"2018-02-09T05:13:00.000Z","name":"BILLING_TYPE_CHANGED","modifiedBy":"15000000009148","oldValue":"FIXED_COST_FOR_TICKETS","modifiedAgent":null}]}