Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XBFIL-4328- Fix formatting and add 3 new fields #589

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
18 changes: 16 additions & 2 deletions xero_files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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'
Expand Down Expand Up @@ -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
Expand Down