Retrieves an association object using a unique object ID
Changed onBy passing in the appropriate options, you can retrieve an association
Request
- Base URLhttps://api.xero.com/files.xro/1.0
- URLhttps://api.xero.com/files.xro/1.0/Associations/{ObjectId}
- AuthOAuth 2Authorization code: https://login.xero.com/identity/connect/authorizeToken URL: https://identity.xero.com/connect/token scopes: files, files.read
Path parameters
Object id for single object
Query parameters
pass an optional page size value
number of records to skip for pagination
values to sort by
direction to sort by
Response
search results matching criteria
Example response
[
{
"SendWithObject": true,
"Name": "Test.pdf",
"Size": 12357,
"CreatedDateUtc": "2020-12-10T01:22:00.0000000",
"AssociationDateUtc": "2020-12-10T01:22:00.0000000"
}
]Changes
- breaking
for the
queryrequest parametersort, default valueCreatedDateUtcwas added - breaking
removed the enum value
CreatedDateUTCfrom thequeryrequest parametersort - info
added the new enum value
AssociationDateUtcto thequeryrequest parametersort - info
added the new enum value
CreatedDateUtcto thequeryrequest parametersort - info
added the new enum value
Sizeto thequeryrequest parametersort - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- breaking
- breaking
added the new required
headerrequest parameterxero-tenant-idto all path's operations - breaking
the
response's property type changed from no type toobjectfor status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- breaking