Posts data to add a new entity based on the provided program ID.
curl --request POST \
--url https://api.helpyousponsor.com/v1/admin/entity/{program_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"en_child_name": "<string>",
"en_gender": "<string>",
"en_test_checkbox_2": "<string>",
"program_id": 123,
"sp_num": "<string>",
"sp_amount": "<string>"
}'
{
"message": "Entity Profile saved"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Program ID
Data required for adding a new entity
The body is of type object
.
Entity added successfully
The response is of type object
.
curl --request POST \
--url https://api.helpyousponsor.com/v1/admin/entity/{program_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"en_child_name": "<string>",
"en_gender": "<string>",
"en_test_checkbox_2": "<string>",
"program_id": 123,
"sp_num": "<string>",
"sp_amount": "<string>"
}'
{
"message": "Entity Profile saved"
}