Get time tracking records
GET/api/v2/TimeTracking
Get time tracking records
Request
Query Parameters
Contract guid
Guid of the Contract.
Subcontract guid
Guid of the Subcontract.
Activity guid
Guid of the Activity.
From date-time
Date from, example value: 2018-07-25
To date-time
Date to, example value: 2018-07-25
ContinuationToken string
Token is needed, unless all records have been returned in previous request. Do not forget to pass also all other parameters.
Responses
- 200
- 400
Success
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
ContinuationToken stringnullable
Items
object[]
nullable
Guid guid
Revision int64
PersonCreated guidnullable
PersonChanged guidnullable
TimestampCreated date-timenullable
Example:
2024-10-07T12:48:00Z
TimestampChanged date-timenullable
Example:
2024-10-07T12:48:00Z
CustomFields objectnullable
Person guid
Date date
From date-timenullable
To date-timenullable
Hours durationnullablerequired
Activity guid
Description stringnullable
Contract guidnullable
Subcontract guidnullable
Location stringnullable
EndLocation stringnullable
Billable boolean
CostRate decimalnullable
BillingRate decimalnullable
CostPrice decimalnullable
BillingPrice decimalnullable
ExternalKey stringnullable
{
"ContinuationToken": "string",
"Items": [
{
"Guid": "string",
"Revision": 0,
"PersonCreated": "string",
"PersonChanged": "string",
"TimestampCreated": "2024-10-07T12:48:00Z",
"TimestampChanged": "2024-10-07T12:48:00Z",
"CustomFields": {},
"Person": "string",
"Date": "2024-07-29",
"From": "2024-07-29T15:51:28.071Z",
"To": "2024-07-29T15:51:28.071Z",
"Hours": "string",
"Activity": "string",
"Description": "string",
"Contract": "string",
"Subcontract": "string",
"Location": "string",
"EndLocation": "string",
"Billable": true,
"CostRate": 0,
"BillingRate": 0,
"CostPrice": 0,
"BillingPrice": 0,
"ExternalKey": "string"
}
]
}
Error
- application/json
- Schema
- Example (from schema)
Schema
Error
object
required
Code stringnullable
Message stringnullable
{
"Error": {
"Code": "string",
"Message": "string"
}
}
Loading...