Get lookup items for a parent
Parameter | Mandatory | Description | Examples | More Info |
---|---|---|---|---|
API | Yes | The API area | lookupsproperties.json | |
Action | Yes | The action to perform | action=lookups | |
General | Yes | Parameters described in overview | user=user&password=user | Structure of an API call |
Lookup properties UUID | Yes | The custom field UUID | UUID=5D9BF44924733C4C87D1831FE90D4DAC | |
Filter | Yes | The parent filter | parent=club |
Example request:
http://<SERVER>/jsonapi/lookupsproperties.json?user=user&password=user&UUID=5D9BF44924733C4C87D1831FE90D4DAC&version=3.9&action=lookups&parent=club
Example response:
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"totalrows": 2,
"totalpages": 1,
"responsemessage": "",
"pagerows": 0,
"pagenumber": 1,
"success": true,
"synapiversion": 3.8,
"data": [
{
"array_customlookup": "Guides"
},
{
"array_customlookup": "Scouts"
}
]
}