Authorizations
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Headers
The account identifier
Path Parameters
Body
The filename of the file to upload
"weather-forecast"
The file format of the file
The base64 encoded content of the file to upload
"VGhpcyBpc24ndCByZWFsbHkgYSBzYW1wbGUgZmlsZSwgYnV0IG5vIG9uZSB3aWxsIGV2ZXIga25vdyE"
The categoryId of the documents
"6530"
The path for the file to be uploaded to
"/path/to/file"
The confidentiality level of the file to be uploaded
The category to be associated with the file to be uploaded. Id will take precedence over name.
{
"name": "resume",
"id": "550e8400-e29b-41d4-a716-446655440000"
}
Response
The document related to the application with the given identifier was uploaded.
201
"Employee created successfully"
"2021-01-01T01:01:01.000Z"
[
{
"status": 400,
"url": "https://api.someprovider.com/v1/endpoint",
"raw": {
"error": "Bad Request",
"message": "The supplied data is invalid"
},
"headers": {
"date": "Tue, 02 Apr 2024 13:52:01 GMT",
"content-type": "application/json; charset=utf-8",
"transfer-encoding": "chunked",
"connection": "close"
}
}
]
[
{
"message": "The provided field type is not supported in the current model."
}
]