POST
/
admin
/
entity
/
{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"
}

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

The body is of type object.

Response

200
application/json

Entity added successfully

The response is of type object.