POST
/
admin
/
entity
/
{program_id}
Add New Entity
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"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

program_id
integer
required

Program ID

Body

application/json

Data required for adding a new entity

en_child_name
string
en_gender
string
en_test_checkbox_2
string
program_id
integer
sp_num
string
sp_amount
string

Response

Entity added successfully

message
string
Example:

"Entity Profile saved"