Files

Retrieves a count of associations for a list of objects.

Changed on

By passing in the appropriate options, you can retrieve the association count for objects

get/Associations/Count

Request

  • Base URL
    https://api.xero.com/files.xro/1.0
  • URL
    https://api.xero.com/files.xro/1.0/Associations/Count
  • Auth
    OAuth 2
    Authorization code: https://login.xero.com/identity/connect/authorize
    Token URL: https://identity.xero.com/connect/token scopes: files, files.read

Query parameters

ObjectIdsstring[] required

A comma-separated list of object ids

[
  "1270bf7c-5d18-473a-9231-1e36c4bd33ed"
]

Response

A dictionary of the object Ids and associations count

object required

Changes