v1/absences/{id}/attachment

Add attachment to an absence. If the absence already had an attachment, it will be replaced by the uploaded file. Exactly one file must be uploaded with the request.

Path Params
int32
required
≥ 1

ID of the absence.

Body Params
string
required

This is a testing sandbox. We advise against using credentials for production accounts here.

E-mail address of the API user.

string
required

This is a testing sandbox. We advise against using credentials for production accounts here.

Authentication token - can be fetched by login action.

int32
≥ 1

ID of a shyftplan account.

file
array of objects
required
length between 1 and 1

File to be attached to the absence.

Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json