PUT
/
admin
/
program
/
entity
curl --request PUT \
  --url https://api.helpyousponsor.com/v1/admin/program/entity \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "entity_id": 123,
  "en_child_name": "<string>",
  "en_gender": "<string>",
  "en_grade": "<string>",
  "en_age": "<string>",
  "en_birthdate": "<string>",
  "en_favorite_subject": "<string>",
  "en_test_check_box": "<string>",
  "en_test_field_boolea": "<string>",
  "en_test_checkbox_2": "<string>",
  "client_id": "<string>",
  "program_id": 123,
  "status": "<string>",
  "re_add": "<string>",
  "sp_amount": "<string>",
  "sp_num": "<string>",
  "wait_time": "<string>",
  "json_fields": "<string>"
}'
{
  "message": "Profile saved"
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Data required for editing the entity

The body is of type object.

Response

200 - application/json

Entity edited successfully

The response is of type object.