List resources related to subject

POST {{baseUrl}}/v1/subjectAccessRequests/entities

This API lists a particular number of resources related to the subject, based on the limit specified.

OAuth Scope

  • Desk.settings.READ

Attributes

Attribute NameData TypeDescription
module (required)<string>
max chars : 100
Name of the modules from which the resources must be fetched. Values allowed are tickets and contacts. If you want to fetch resources from both modules, pass the value allEntities.
contactEmailId (required)<string>
max chars : 100
Email ID of the contact who made the request.
from<integer>
range : >=1
Index number, starting from which the resources must be fetched.
limit<integer>
range : 1-50
Number of resources to list. The default value is 10 and the maximum value supported is 50.
fieldConditions<list>
Field-related conditions, based on which the resources must be filtered.

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{&quot;data&quot;:[{&quot;firstName&quot;:&quot;John&quot;,&quot;lastName&quot;:&quot;Carol&quot;,&quot;accountId&quot;:null,&quot;phone&quot;:null,&quot;webUrl&quot;:&quot;https://desk.zoho.com/support/zylker/ShowHomePage.do#Contacts/dv/7000000092456&quot;,&quot;mobile&quot;:null,&quot;createdTime&quot;:&quot;2019-09-24T05:06:58.000Z&quot;,&quot;id&quot;:&quot;7000000092456&quot;,&quot;type&quot;:null,&quot;email&quot;:&quot;johncarol@zylker.com&quot;,&quot;account&quot;:null}]}