Child categories

get
Authorizations
Responses
200Success
application/json
get
GET /api/child-categories HTTP/1.1
Host: prosper-api-test.churchpad.com
Authorization: Bearer JWT
Accept: */*
200Success
[
  {
    "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:10:09.067Z",
    "updated_at": "2025-07-23T12:10:09.067Z",
    "name": "text",
    "start_year": 1,
    "end_year": 1,
    "start_month": 1,
    "end_month": 1,
    "module": "children",
    "church": "123e4567-e89b-12d3-a456-426614174000"
  }
]
post
Authorizations
Body
idstring · uuidRead-onlyRequired
teachersstring · uuid[]Read-onlyRequired
age_rangestringRead-onlyRequired
legacy_idstring | nullableOptional
nextgen_legacy_idstring | nullableOptional
created_atstring · date-time | nullableOptional
updated_atstring · date-timeRead-onlyRequired
namestringRequired
start_yearinteger · min: -2147483648 · max: 2147483647Optional
end_yearinteger · min: -2147483648 · max: 2147483647Optional
start_monthinteger · min: -2147483648 · max: 2147483647Optional
end_monthinteger · min: -2147483648 · max: 2147483647Optional
modulestring · enumOptional
  • children - Children
  • teenagers - Teenagers
Possible values:
churchstring · uuidRequired
Responses
201Success
application/json
post
POST /api/child-categories HTTP/1.1
Host: prosper-api-test.churchpad.com
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 227

{
  "legacy_id": "text",
  "nextgen_legacy_id": "text",
  "created_at": "2025-07-23T12:10:09.067Z",
  "name": "text",
  "start_year": 1,
  "end_year": 1,
  "start_month": 1,
  "end_month": 1,
  "module": "children",
  "church": "123e4567-e89b-12d3-a456-426614174000"
}
201Success
{
  "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:10:09.067Z",
  "updated_at": "2025-07-23T12:10:09.067Z",
  "name": "text",
  "start_year": 1,
  "end_year": 1,
  "start_month": 1,
  "end_month": 1,
  "module": "children",
  "church": "123e4567-e89b-12d3-a456-426614174000"
}
get
Authorizations
Path parameters
idstring · uuidRequired

A UUID string identifying this child category.

Responses
200Success
application/json
get
GET /api/child-categories/{id} HTTP/1.1
Host: prosper-api-test.churchpad.com
Authorization: Bearer JWT
Accept: */*
200Success
{
  "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:10:09.067Z",
  "updated_at": "2025-07-23T12:10:09.067Z",
  "name": "text",
  "start_year": 1,
  "end_year": 1,
  "start_month": 1,
  "end_month": 1,
  "module": "children",
  "church": "123e4567-e89b-12d3-a456-426614174000"
}
put
Authorizations
Path parameters
idstring · uuidRequired

A UUID string identifying this child category.

Body
idstring · uuidRead-onlyRequired
teachersstring · uuid[]Read-onlyRequired
age_rangestringRead-onlyRequired
legacy_idstring | nullableOptional
nextgen_legacy_idstring | nullableOptional
created_atstring · date-time | nullableOptional
updated_atstring · date-timeRead-onlyRequired
namestringRequired
start_yearinteger · min: -2147483648 · max: 2147483647Optional
end_yearinteger · min: -2147483648 · max: 2147483647Optional
start_monthinteger · min: -2147483648 · max: 2147483647Optional
end_monthinteger · min: -2147483648 · max: 2147483647Optional
modulestring · enumOptional
  • children - Children
  • teenagers - Teenagers
Possible values:
churchstring · uuidRequired
Responses
200Success
application/json
put
PUT /api/child-categories/{id} HTTP/1.1
Host: prosper-api-test.churchpad.com
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 227

{
  "legacy_id": "text",
  "nextgen_legacy_id": "text",
  "created_at": "2025-07-23T12:10:09.067Z",
  "name": "text",
  "start_year": 1,
  "end_year": 1,
  "start_month": 1,
  "end_month": 1,
  "module": "children",
  "church": "123e4567-e89b-12d3-a456-426614174000"
}
200Success
{
  "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:10:09.067Z",
  "updated_at": "2025-07-23T12:10:09.067Z",
  "name": "text",
  "start_year": 1,
  "end_year": 1,
  "start_month": 1,
  "end_month": 1,
  "module": "children",
  "church": "123e4567-e89b-12d3-a456-426614174000"
}
delete
Authorizations
Path parameters
idstring · uuidRequired

A UUID string identifying this child category.

Responses
204
No response body
delete
DELETE /api/child-categories/{id} HTTP/1.1
Host: prosper-api-test.churchpad.com
Authorization: Bearer JWT
Accept: */*
204

No response body

No content

patch
Authorizations
Path parameters
idstring · uuidRequired

A UUID string identifying this child category.

Body
idstring · uuidRead-onlyOptional
teachersstring · uuid[]Read-onlyOptional
age_rangestringRead-onlyOptional
legacy_idstring | nullableOptional
nextgen_legacy_idstring | nullableOptional
created_atstring · date-time | nullableOptional
updated_atstring · date-timeRead-onlyOptional
namestringOptional
start_yearinteger · min: -2147483648 · max: 2147483647Optional
end_yearinteger · min: -2147483648 · max: 2147483647Optional
start_monthinteger · min: -2147483648 · max: 2147483647Optional
end_monthinteger · min: -2147483648 · max: 2147483647Optional
modulestring · enumOptional
  • children - Children
  • teenagers - Teenagers
Possible values:
churchstring · uuidOptional
Responses
200Success
application/json
patch
PATCH /api/child-categories/{id} HTTP/1.1
Host: prosper-api-test.churchpad.com
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 227

{
  "legacy_id": "text",
  "nextgen_legacy_id": "text",
  "created_at": "2025-07-23T12:10:09.067Z",
  "name": "text",
  "start_year": 1,
  "end_year": 1,
  "start_month": 1,
  "end_month": 1,
  "module": "children",
  "church": "123e4567-e89b-12d3-a456-426614174000"
}
200Success
{
  "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:10:09.067Z",
  "updated_at": "2025-07-23T12:10:09.067Z",
  "name": "text",
  "start_year": 1,
  "end_year": 1,
  "start_month": 1,
  "end_month": 1,
  "module": "children",
  "church": "123e4567-e89b-12d3-a456-426614174000"
}