Returns the users whose profiles can be viewed or edited by the logged-in user. If the logged-in user is an Authorized Agent, the returned users are Authorized Agent Clerks. A Citizen user is not authorized to see other users' profiles, so if the logged-in user is a Citizen user, no users are returned. If the logged-in user is an Automation user, Citizen Access users are returned.
Scope | users Deprecated scope name: get_citizenaccess_citizens |
App Type | All |
Authorization Type | Access token |
URI | /v4/citizenaccess/citizens?offset={offset}&limit={limit}&fields={fields}&lang={lang} |
HTTP Method | GET |
Automation Version(s) | 7.3.3.4 |
Field or Parameter | Type | Required | Values | Description | Automation Version |
---|---|---|---|---|---|
fields | string | No | � | Comma-delimited names of fields to be returned in the response. Note: Field names are case-sensitive and only first-level fields are supported. Invalid field names are ignored. | 7.3.3.4 |
lang | String | No | � | Indicates the language applied. | 7.3.3.4 |
limit | long | No | � | Indicates the number of items that are returned in each page. | 7.3.3.4 |
offset | long | No | � | Indicates the offset start of each page by the number specified. | 7.3.3.4 |
Field | Type | Description | Automation Version |
---|---|---|---|
result[] | result{} | � | 7.3.3.4 |
result.email | string | The citizen user's email address. | 7.3.3.4 |
result.id | long | The unique identifier for the object, assigned by the Civic Platform server and provided in a response. | 7.3.3.4 |
result.loginName | string | The citizen user's login name. | 7.3.3.4 |
result.mobilePhone | string | The citizen user's 10-digit cell phone number. | 7.3.3.4 |
result.receiveSMS | string | Indicates whether or not the user prefers to receive SMS messages. | 7.3.3.4 |
result.registerDate | dateTime | The citizen user's registration date. | 7.3.3.4 |
result.role | string | The citizen user's role: CONTRACT_INSPECTOR, CITIZEN, AUTH_AGENT_CLERK, AUTH_AGENT, SELF_CERTIFIED_INSPECTOR. | 7.3.3.4 |
status | integer | The record status. | 7.3.3.4 |
{ "result": [ { "role": "AUTH_AGENT_CLERK", "registerDate": "2015-03-18 19:28:40", "id": 8688, "loginName": "devin", "email": "devin@company.com", "receiveSMS": "Y" }, { "role": "AUTH_AGENT_CLERK", "registerDate": "2015-03-16 15:41:13", "id": 8669, "loginName": "aa_clerk3@accela", "email": "aa_clerk3@accela.com", "receiveSMS": "N" }, { "role": "AUTH_AGENT_CLERK", "registerDate": "2015-03-13 16:21:06", "mobilePhone": "925-551-8956", "id": 8661, "loginName": "aa_clerk1@accela", "email": "aa_clerk1@accela.com", "receiveSMS": "Y" } ], "status": 200, "page": { "offset": 0, "limit": 25, "hasmore": false } } { "result": [ { "role": "AUTH_AGENT_CLERK", "registerDate": "2015-03-18 19:28:40", "id": 8688, "loginName": "devin.yaoaccela", "email": "devin.yaoaccela@beyondsoft.com", "receiveSMS": "Y" }, { "role": "AUTH_AGENT_CLERK", "registerDate": "2015-03-16 15:41:13", "id": 8669, "loginName": "aa_clerk3@accela", "email": "aa_clerk3@accela.com", "receiveSMS": "N" }, { "role": "AUTH_AGENT_CLERK", "registerDate": "2015-03-13 16:21:06", "mobilePhone": "925-551-8956", "id": 8661, "loginName": "aa_clerk1@accela", "email": "aa_clerk1@accela.com", "receiveSMS": "Y" } ], "status": 200, "page": { "offset": 0, "limit": 25, "hasmore": false } }