Get a list of custom attributes
Get a list of custom attributes using this method.
Please log in to see full path URL. Learn why.
get
/people/2/customAttributes
Authorizations:
Scopes:
Request rate limit:
5 requests / second (per account)
query Parameters
limit | integer <int32> Example: limit=100 Number of custom attributes to return per page. Default - 20. Maximum - 1000. |
page | integer <int32> Example: page=1 Page of results to return. Default - 1. |
includeTotalCount | boolean Example: includeTotalCount=false Returns total count of custom attributes, if set to |
orderBy | string Example: orderBy=name:asc Results ordering. Possible ordering fields are |
Responses
default
successful response
401
Unauthorized
403
Forbidden
429
Too Many Requests
4XX
Error responses
500
Internal Server Error
5XX
Error responses
Request samples
- cURL
- Java
- C#
- Go
- Python
- PHP
- JavaScript
- NodeJs
- Ruby
Example
cURL
Copy
curl -L -g 'https://{baseUrl}/people/2/customAttributes?limit=100&page=1&includeTotalCount=false&orderBy=name%3Aasc' \ -H 'Authorization: {authorization}' \ -H 'Accept: application/json'
Response samples
- default
- 401
- 403
- 429
- 4XX
- 500
- 5XX
Content type
application/json
Copy
Collapse all {- "limit": 100,
- "page": 1,
- "orderBy": "name:asc",
- "customAttributes": [
- {
- "createdAt": "2019-02-25T12:46:06",
- "modifiedAt": "2019-02-25T12:46:06",
- "name": "Contract Expiry Date",
- "dataType": "DATE"
}, - {
- "createdAt": "2019-02-25T12:46:06",
- "modifiedAt": "2019-02-25T12:46:06",
- "name": "ShoppingCartList",
- "dataType": "LIST_OF_OBJECTS",
- "objectSchema": {
- "productName": "STRING",
- "productPrice": "DECIMAL",
- "productCategory": "STRING",
- "productImage": "STRING"
}
}
]
}
Need assistance
Encountering issues
What's new? Check out
Unsure about a term? See