Update a time tracking policy
Changed onUpdate a time tracking policy.
Request
- Base URLhttps://developer.productive.io (the document declares no server; this is the origin it was published from)
- URLhttps://developer.productive.io/api/v2/time_tracking_policies/{id}
- Authnone declared
Path parameters
The ID of the time tracking policy to update.
Request body
Example request
{
"data": {
"type": "time_tracking_policies",
"attributes": {
"name": "Standard Policy",
"requires_service": true,
"daily_limit": 720
}
}
}Response
Single time tracking policy
Example response
{
"data": {
"id": "3",
"type": "time_tracking_policies",
"attributes": {
"name": "Standard Policy",
"track_method_ids": [
1,
2
],
"default_track_method_id": 1,
"daily_limit": 720,
"requires_task": false,
"requires_service": true
}
},
"included": []
}Changes
- warning
added the new
bad_decimal_formatenum value to the//response property for the response status - warning
added the new
non_finite_numberenum value to the//response property for the response status - warning
added the new
null_bytes_in_paramsenum value to the//response property for the response status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- warning
- breaking
the
//response's property type changed fromstringto no type, and format fromdate-timeto no format for status - breaking
the
//response's property type changed fromstringto no type for status - breaking
the
//response's property type changed fromintegerto no type for status - breaking
the
//response's property type changed fromintegerto no type for status - breaking
the
//response's property type changed fromintegerto no type for status - breaking
the
//response's property type changed fromstringto no type for status - breaking
the
//response's property type changed fromintegerto no type for status - breaking
the
//response's property type changed fromintegerto no type for status - warning
deleted the
headerrequest parameterX-Organization-Id - warning
removed the request property
// - warning
removed the optional property
//from the response with the status
This list may be incomplete.
- breaking