Authorities

Upload multiple files to an authority.

Changed on

Upload multiple files to be attached to an authority based on the given id.

post/v1/authorities/{id}/attachments

Request

Path parameters

idstring uuid required

Request body multipart/form-data

idstring uuid
attachmentstring binary
fileTypestring

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.

idstring uuid
attachmentstring binary
fileTypestring

Example response

[
  {
    "id": "0557934b-b9f8-4d88-bd5a-9c69d5bf0beb",
    "attachment": "/path/to/file",
    "fileType": "Available options are marketingAttachments, commissionAttachments, espAttachment"
  }
]

Changes