Get a list of all People Categories.
POSThttps://api.elvanto.com/v1/people/categories/getAll.{json|xml|php}
{
"generated_in": "0.014",
"status": "ok",
"categories": {
"on_this_page": 3,
"page": 1,
"per_page": 3,
"total": 3,
"category": [
{
"id": "67621d54-38eb-11e0-8ebe-bea1eec205d1",
"name": "New People",
"color": "#ff0000"
},
{
"id": "6e38c70e-38eb-11e0-8ebe-bea1eec205d1",
"name": "Church Members",
"color": ""
},
{
"id": "93c81f0c-c495-11e0-b646-3d408cfe54a9",
"name": "Inactive",
"color": ""
}
]
}
}
<?xml version="1.0" encoding="UTF-8"?> <rsp generated_in="0.014" status="ok"> <categories on_this_page="3" page="1" per_page="3" total="3"> <category id="67621d54-38eb-11e0-8ebe-bea1eec205d1"> <name>New People</name> <color>#ff0000</color> </category> <category id="6e38c70e-38eb-11e0-8ebe-bea1eec205d1"> <name>Church Members</name> <color></color> </category> <category id="93c81f0c-c495-11e0-b646-3d408cfe54a9"> <name>Inactive</name> <color></color> </category> </categories> </rsp>
stdClass Object
(
[generated_in] => 0.014
[status] => ok
[categories] => stdClass Object
(
[on_this_page] => 3
[page] => 1
[per_page] => 3
[total] => 3
[category] => stdClass Object
(
[0] => stdClass Object
(
[id] => 67621d54-38eb-11e0-8ebe-bea1eec205d1
[name] => New People
[color] => #ff0000
)
[1] => stdClass Object
(
[id] => 6e38c70e-38eb-11e0-8ebe-bea1eec205d1
[name] => Church Members
[color] =>
)
[2] => stdClass Object
(
[id] => 93c81f0c-c495-11e0-b646-3d408cfe54a9
[name] => Inactive
[color] =>
)
)
)
)
Please see our response status codes documentation for details of potential error responses for any API request.