Handles the submission of edited entity data,
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"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Data required for editing the entity
The body is of type object
.
Entity edited successfully
The response is of type object
.
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"
}