Authorities
Upload multiple files to an authority.
Changed onUpload multiple files to be attached to an authority based on the given id.
post/v1/authorities/{id}/attachments
Request
- Base URLhttps://api.domain.com.au
- Auth
- API key in header x-api-key
- or OAuth 2Authorization codehttps://auth.domain.com.au/v1/connect/authorizeClient credentialsToken URLhttps://auth.domain.com.au/v1/connect/tokenScopesapi_authorities_write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring uuid required
Request body multipart/form-data
Example request
[
{
"id": "0557934b-b9f8-4d88-bd5a-9c69d5bf0beb",
"attachment": "/path/to/file",
"fileType": "Available options are marketingAttachments, commissionAttachments, espAttachment"
}
]Response
The files that were uploaded.
Example response
[
{
"id": "0557934b-b9f8-4d88-bd5a-9c69d5bf0beb",
"attachment": "/path/to/file",
"fileType": "Available options are marketingAttachments, commissionAttachments, espAttachment"
}
]Changes
- info
endpoint added
- info