curl --request POST \
--url https://api.helpyousponsor.com/v1/admin/donor/field_options \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"client_id": "1",
"hysform_id": 1,
"donor": "['\''field'\'', '\''field'\'']",
"report_name": "Report 1",
"status": "Donor profile"
}'
{
"message": "Preferences Saved"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Preferences saved
The response is of type object
.
curl --request POST \
--url https://api.helpyousponsor.com/v1/admin/donor/field_options \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"client_id": "1",
"hysform_id": 1,
"donor": "['\''field'\'', '\''field'\'']",
"report_name": "Report 1",
"status": "Donor profile"
}'
{
"message": "Preferences Saved"
}