Aller au contenu

/api/clients/{id}/approval-requests (POST)

POST
/api/clients/{id}/approval-requests
curl --request POST \
--url https://example.com/api/clients/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/approval-requests \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "periodStart": "2026-04-15", "periodEnd": "2026-04-15", "projectIds": [ "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" ], "showTaskDetail": true, "showAmounts": true, "contactIds": [ "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" ], "adHocEmails": [ "example" ] }'
id
required
string format: uuid
Media type application/json
object
periodStart
string format: date
periodEnd
string format: date
projectIds
Array<string>
nullable
showTaskDetail
boolean
showAmounts
boolean
contactIds
Array<string>
nullable
adHocEmails
Array<string>
nullable
Example generated
{
"periodStart": "2026-04-15",
"periodEnd": "2026-04-15",
"projectIds": [
"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"
],
"showTaskDetail": true,
"showAmounts": true,
"contactIds": [
"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"
],
"adHocEmails": [
"example"
]
}

OK