Creates a new file association
Changed onBy passing in the appropriate options, you can create a new folder
Request
- Base URLhttps://api.xero.com/files.xro/1.0
- URLhttps://api.xero.com/files.xro/1.0/Files/{FileId}/Associations
- AuthOAuth 2Authorization code: https://login.xero.com/identity/connect/authorizeToken URL: https://identity.xero.com/connect/token scopes: files
Path parameters
File id for single object
Headers
This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
Request body
Example request
{
"SendWithObject": true,
"Name": "Test.pdf",
"Size": 12357,
"CreatedDateUtc": "2020-12-10T01:22:00.0000000",
"AssociationDateUtc": "2020-12-10T01:22:00.0000000"
}Response
A successful request
Example response
{
"SendWithObject": true,
"Name": "Test.pdf",
"Size": 12357,
"CreatedDateUtc": "2020-12-10T01:22:00.0000000",
"AssociationDateUtc": "2020-12-10T01:22:00.0000000"
}Changes
- info
added the new optional request property
- info
added the new optional request property
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- breaking
added the new required
headerrequest parameterxero-tenant-idto all path's operations - breaking
the request's body type changed from no type to
object - breaking
the response's body type changed from no type to
objectfor status - info
added the new optional
headerrequest parameterIdempotency-Key - info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- 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