Authorities

Upload multiple files to be attached to a specific vendor in an authority.

Changed on

Upload multiple files to be attached to a specific vendor in an authority.

post/v1/authorities/{id}/vendors/{vendorId}/attachments

Request

Path parameters

idstring uuid required
vendorIdstring 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

Example response

[
  {
    "id": "0557934b-b9f8-4d88-bd5a-9c69d5bf0beb",
    "attachment": "/path/to/file"
  }
]

Changes