Get a list of all Custom Fields.
POSThttps://api.elvanto.com/v1/people/customFields/getAll.{json|xml|php}
{
"generated_in": "0.014",
"status": "ok",
"custom_fields": {
"on_this_page": 3,
"page": 1,
"per_page": 3,
"total": 3,
"custom_field": [
{
"id": "67621d54-38eb-11e0-8ebe-bea1eec205d1",
"name": "Ministries",
"type": "select_multi",
"values": {
"value": [
{
"id": "6e38c70e-38eb-11e0-8ebe-bea1eec205d1",
"name": "Golf Guys"
},
{
"id": "5788c70e-54eb-11e0-3ebe-bea2eec205d5",
"name": "Tea Troops"
}
]
}
},
{
"id": "6e38c70e-38eb-11e0-8ebe-bea1eec205d1",
"name": "Allergies",
"type": "text"
}
]
}
}
<?xml version="1.0" encoding="UTF-8"?> <rsp generated_in="0.014" status="ok"> <custom_fields on_this_page="3" page="1" per_page="3" total="3"> <custom_field id="67621d54-38eb-11e0-8ebe-bea1eec205d1" type="select_multi"> <name>Ministries</name> <values> <value id="6e38c70e-38eb-11e0-8ebe-bea1eec205d1"> <name>Golf Guys</name> </value> <value id="5788c70e-54eb-11e0-3ebe-bea2eec205d5"> <name>Tea Troops</name> </value> </values> </custom_field> <custom_field id="6e38c70e-38eb-11e0-8ebe-bea1eec205d1" type="text"> <name>Allergies</name> </custom_field> </custom_fields> </rsp>
stdClass Object
(
[generated_in] => 0.014
[status] => ok
[custom_fields] => stdClass Object
(
[on_this_page] => 3
[page] => 1
[per_page] => 3
[total] => 3
[custom_field] => stdClass Object
(
[0] => stdClass Object
(
[id] => 67621d54-38eb-11e0-8ebe-bea1eec205d1
[name] => Ministries
[type] => select_multi
[values] => stdClass Object
(
[value] => stdClass Object
(
[0] => stdClass Object
(
[id] => 6e38c70e-38eb-11e0-8ebe-bea1eec205d1
[name] => Golf Guys
)
[1] => stdClass Object
(
[id] => 5788c70e-54eb-11e0-3ebe-bea2eec205d5
[name] => Tea Troops
)
)
)
)
[1] => stdClass Object
(
[id] => 6e38c70e-38eb-11e0-8ebe-bea1eec205d1
[name] => Allergies
[type] => text
)
)
)
)
Please see our response status codes documentation for details of potential error responses for any API request.