diff --git a/xero_files.yaml b/xero_files.yaml index ef0aad25..b8775051 100644 --- a/xero_files.yaml +++ b/xero_files.yaml @@ -553,6 +553,9 @@ paths: $ref: '#/components/schemas/Association' example: '[ { + "SendWithObject":false, + "Name":"testfile.pdf", + "Size":12357, "FileId":"6beccb4a-0d7d-4518-93f3-e0cd1dccb254", "ObjectId":"1270bf7c-5d18-473a-9231-1e36c4bd33ed", "ObjectType":"Business", @@ -591,8 +594,7 @@ paths: example: '{ "19d4fc59-e799-410f-912b-03d4ab294d73": 2, "82195976-5175-45d4-926e-807ff10892e7": 1, - "a8547af2-2900-4879-98b8-f1a780c78feb": 0 - }' + "a8547af2-2900-4879-98b8-f1a780c78feb": 0}' /Folders: parameters: - $ref: '#/components/parameters/requiredHeader' @@ -984,6 +986,18 @@ components: Association: type: object properties: + SendWithObject: + description: Boolean flag to determines whether the file is sent with the document it is attached to on client facing communications. Note- The SendWithObject element is only returned when using /Associations/{ObjectId} endpoint. + type: boolean + example: true + Name: + description: The name of the associated file. Note- The Name element is only returned when using /Associations/{ObjectId} endpoint. + type: string + example: Test.pdf + Size: + description: The size of the associated file in bytes. Note- The Size element is only returned when using /Associations/{ObjectId} endpoint. + type: integer + example: 12357 FileId: description: The unique identifier of the file type: string