Update an approval request
Changed onRequest
- Base URL: https://api.clockify.me/api
- URL: https://api.clockify.me/api/v1/workspaces/{workspaceId}/approval-requests/{approvalRequestId}
- Auth: one of:
- API key in header x-api-key
- API key in header x-addon-token
Path parameters
Represents workspace identifier across the system.
Represents an approval request identifier across the system.
Request body
Example request
{
"note": "This is a sample note.",
"state": "PENDING"
}Response
OK
Example response
{
"creator": {
"userEmail": "johhndoe@example.com",
"userId": "5a0ab5acb07987125438b60f",
"userName": "johhndoe"
},
"id": "567687e29ae1f428e7ebf564",
"owner": {
"startOfWeek": "MONDAY",
"timeZone": "Europe/Budapest",
"userId": "5a0ab5acb07987125438b60f",
"userName": "johndoe"
},
"status": {
"currentApprovalLevel": 1,
"note": "This is a sample approval request note.",
"state": "APPROVED",
"updatedAt": "2020-01-01T08:00:00Z",
"updatedBy": "5a0ab5acb07987125438b60f",
"updatedByUserName": "juandelacruz"
},
"workspaceId": "64a687e29ae1f428e7ebe303"
}Changes
- info
added the optional property
/to the response with the status
- info
- info
the
request property default valuewas added - info
the
request property default valuewas added - info
the
response's property default valuewas added for the status - info
the
response's property default valuewas added for the status - info
the
response's property default valuewas added for the status - info
the
response's property default valuewas added for the status - info
the
response's property default valuewas added for the status - info
the
response's property default valuewas added for the status - info
the
response's property default valuewas added for the status - info
the
response's property default valuewas added for the status - info
the
response's property default valuewas added for the status - info
the
response's property default valuewas added for the status - info
the
response's property default valuewas added for the status - info
the
response's property default valuewas added for the status - info
the
response's property default valuewas added for the status - info
the
response's property default valuewas added for the status
- info