POST
/api/congregations
curl \
-X POST https://ppammedellin.com/api/congregations \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"string","number":42,"city":"string","state":"string","circuit":{"id":"string"}}'
Request example
{
"name": "string",
"number": 42,
"city": "string",
"state": "string",
"circuit": {
"id": "string"
}
}
Response examples (201)
{
"name": "string",
"number": 42,
"city": "string",
"state": "string",
"id": "string",
"circuit": {
"name": "string",
"id": "string"
}
}
Response examples (422)
{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}