Child categories

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
chevron-right
200Success
application/json
get
/api/child-categories
200Success
post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
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
post
/api/child-categories
201Success
get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstring · uuidRequired

A UUID string identifying this child category.

Responses
chevron-right
200Success
application/json
get
/api/child-categories/{id}
200Success
put
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
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
chevron-right
200Success
application/json
put
/api/child-categories/{id}
200Success
delete
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstring · uuidRequired

A UUID string identifying this child category.

Responses
delete
/api/child-categories/{id}
204

No response body

No content

patch
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
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
chevron-right
200Success
application/json
patch
/api/child-categories/{id}
200Success