Teachers
get
Authorizations
Responses
200Success
application/json
get
GET /api/children/teachers HTTP/1.1
Host: prosper-api-test.churchpad.com
Authorization: Bearer JWT
Accept: */*
200Success
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"allergies": [],
"age": "text",
"parents": "text",
"category": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"teachers": [
"123e4567-e89b-12d3-a456-426614174000"
],
"age_range": "text",
"legacy_id": "text",
"nextgen_legacy_id": "text",
"created_at": "2025-07-23T12:27:30.581Z",
"updated_at": "2025-07-23T12:27:30.581Z",
"name": "text",
"start_year": 1,
"end_year": 1,
"start_month": 1,
"end_month": 1,
"module": "children",
"church": "123e4567-e89b-12d3-a456-426614174000"
},
"legacy_id": "text",
"nextgen_legacy_id": "text",
"created_at": "2025-07-23T12:27:30.581Z",
"updated_at": "2025-07-23T12:27:30.581Z",
"first_name": "text",
"middle_name": "text",
"last_name": "text",
"full_name": "text",
"avatar": "text",
"cover": "text",
"birth_date": "2025-07-23",
"favorite_color": "text",
"gender": "male",
"school": "text",
"is_checked_in": true,
"check_in_code": "text",
"church": "123e4567-e89b-12d3-a456-426614174000"
}
post
Authorizations
Body
idstring · uuidRead-onlyRequired
agestringRead-onlyRequired
parentsstringRead-onlyRequired
categoryall ofRead-onlyRequired
legacy_idstring | nullableOptional
nextgen_legacy_idstring | nullableOptional
created_atstring · date-time | nullableOptional
updated_atstring · date-timeRead-onlyRequired
first_namestring · max: 50Required
middle_namestring | nullableOptional
last_namestring · max: 50Required
full_namestring | nullableRead-onlyRequired
avatarstring | nullableOptional
coverstring | nullableOptional
birth_datestring · date | nullableOptional
favorite_colorstring | nullableOptional
genderone of | nullableOptional
string · enumOptionalPossible values:
male
- Malefemale
- Female
undefined · enumOptionalPossible values:
undefined · enumOptionalPossible values:
schoolstring | nullableOptional
is_checked_inbooleanOptional
check_in_codestring | nullableOptional
churchstring · uuid | nullableOptional
Responses
200Success
application/json
post
POST /api/children/teachers HTTP/1.1
Host: prosper-api-test.churchpad.com
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 367
{
"allergies": [],
"legacy_id": "text",
"nextgen_legacy_id": "text",
"created_at": "2025-07-23T12:27:30.581Z",
"first_name": "text",
"middle_name": "text",
"last_name": "text",
"avatar": "text",
"cover": "text",
"birth_date": "2025-07-23",
"favorite_color": "text",
"gender": "male",
"school": "text",
"is_checked_in": true,
"check_in_code": "text",
"church": "123e4567-e89b-12d3-a456-426614174000"
}
200Success
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"allergies": [],
"age": "text",
"parents": "text",
"category": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"teachers": [
"123e4567-e89b-12d3-a456-426614174000"
],
"age_range": "text",
"legacy_id": "text",
"nextgen_legacy_id": "text",
"created_at": "2025-07-23T12:27:30.581Z",
"updated_at": "2025-07-23T12:27:30.581Z",
"name": "text",
"start_year": 1,
"end_year": 1,
"start_month": 1,
"end_month": 1,
"module": "children",
"church": "123e4567-e89b-12d3-a456-426614174000"
},
"legacy_id": "text",
"nextgen_legacy_id": "text",
"created_at": "2025-07-23T12:27:30.581Z",
"updated_at": "2025-07-23T12:27:30.581Z",
"first_name": "text",
"middle_name": "text",
"last_name": "text",
"full_name": "text",
"avatar": "text",
"cover": "text",
"birth_date": "2025-07-23",
"favorite_color": "text",
"gender": "male",
"school": "text",
"is_checked_in": true,
"check_in_code": "text",
"church": "123e4567-e89b-12d3-a456-426614174000"
}
delete
Authorizations
Responses
204
No response body
delete
DELETE /api/children/teachers HTTP/1.1
Host: prosper-api-test.churchpad.com
Authorization: Bearer JWT
Accept: */*
204
No response body
No content