Retrieves detailed field options for a specific program and type,
curl --request GET \
--url https://api.helpyousponsor.com/v1/admin/fields/options/{program_id}/{type} \
--header 'Authorization: Bearer <token>'
{
"data": {
"program": {},
"fieldOptions": {},
"fields": [
{}
],
"type": "<string>",
"reports": [
{}
],
"details": [
{}
]
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Program ID for which to fetch field options, or 'all' for all programs
Type of the field options to retrieve
"all or available"
Detailed field options retrieved successfully
The response is of type object
.
curl --request GET \
--url https://api.helpyousponsor.com/v1/admin/fields/options/{program_id}/{type} \
--header 'Authorization: Bearer <token>'
{
"data": {
"program": {},
"fieldOptions": {},
"fields": [
{}
],
"type": "<string>",
"reports": [
{}
],
"details": [
{}
]
}
}