POST
/
admin
/
donor
/
field_options
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"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
client_id
string
required
Example:

"1"

hysform_id
integer
required
Example:

1

donor
string[]
required
Example:

"['field', 'field']"

report_name
string
required
Example:

"Report 1"

status
string
Example:

"Donor profile"

Response

200
application/json
Preferences saved
message
string
Example:

"Preferences Saved"