Attachment

Saves an attachment

Used in conjunction with the Attachments API to associate an attachment to a foreman for a given date and job.

Securitybearer
Request
Request Body schema:
required
transactionDate
string <date-time>

The transaction date

jobId
string <uuid>

The job id

foremanId
string <uuid>

The foreman id

Array of objects or null (ApiAttachmentInfo)

The attachment infos

Responses
post/api/v1/attachment
Request samples
{
  • "transactionDate": "2023-07-01T00:00:00",
  • "jobId": "8d6b8063-0465-48c1-b507-671ef42e29a9",
  • "foremanId": "d01d3fb9-c579-4cb7-b405-60c7eaa791ec",
  • "attachmentInfos": [
    ]
}