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
Entity added successfully
"Entity Profile saved"
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"
}