Read Attributes
You can use attributes to modify the response when reading objects using the XML API or SOAP API. Some attributes control API features available for most supported object types, other attributes can only be used when reading a specific object type.
The following table lists the supported attributes, and for each attribute, the object types and methods that supports the attribute if it can only be used when reading a specific object type or with a specific method, and a description of its usage.
Attribute |
Object Type |
Supported Methods |
Usage |
---|---|---|---|
|
|
Set the |
|
|
|
XML API Only — Use the Set |
|
|
|
Set the |
|
|
— |
|
Set the When using an OAuth 2.0 access token to authenticate API requests, the API uses cached filter set information —information about objects which the authenticated user can access according to the filter set assigned to that user— to optimize performance. By default, read requests using a valid access token do not include objects created after the access token was issued, even if the user can access the new objects in the UI. If new objects are expected, you can clear and regenerate the cached filter set information using the .
Important:
Use the Each access token scope has its own filter set caching mechanism. If using the same access token with the REST, XML and SOAP API in your integration, clearing the cache for XML API requests does not clear the cache for REST API and SOAP API requests. |
|
— |
|
Set the Set the |
|
— |
|
XML API Only — Set the Custom field values are included in the returned object properties by default when using the SOAP API. |
|
|
The |
|
|
|
XML API Only — Set the |
|
|
— |
|
Use the |
|
— |
|
Use the |
|
— |
|
Use the By default, date filters compare the For more information about the Filtering feature and filter criteria, see Filtering. |
|
|
Set the |
|
|
|
SOAP API Only — Set the |
|
|
— |
|
Use the |
|
— |
|
[Required] Use the |
|
— |
|
XML API Only — Use the |
|
|
Use the |
|
|
|
The |
|
|
|
Set the |
|
|
|
The |
|
|
|
Set the |