Upload an attachment
Files
Upload an attachment
Upload a new file attachment (e.g. a receipt)
POST
Upload an attachment
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
The Tight entity to which this attachment belongs
Available options:
bankTransfer, business, closing, company, expense, invoice, invoicePayment, revenue, taxPayment Pattern:
.+Query Parameters
File to be uploaded
Id of the entity to which this attachment belongs
Caption for the attachment, especially useful for images
Date of the attachment (e.g. if attachment is a receipt, optionally provide the receipt date)
The dollar amount associated with the attachment (e.g. if attachment is a receipt, optionally provide the total cost on the receipt)
Response
200 - application/json
Successful operation
Available options:
SUCCESS, FAILURE_CLOUDSTORAGE_NOT_SETUP, FAILURE_UPLOAD_ERROR, MASTER_SUCCESS_PERSONAL_FAILURE_UPLOAD_ERROR, FAILURE_NO_DATA, FAILURE_TOKEN_INVALIDATED, FAILURE_EMAIL_TOKEN_INVALIDATED, FAILURE_UNKNOWN_ERROR, FAILURE_USER_OVER_QUOTA, FAILURE_VALIDATION_ERROR