Create Penduduk Kelompok
To create the data in the specified collection with the specified parameters. When a JSON object is saved, the object properties are automatically added to the collection you specified.
Method : POST
URL : /kelompok/(ID)/penduduk
Body : JSON
{ "kelompok_id": "8", "penduduk_id": "3"}
Response : 200 OK
{ "message": "Success create kelompok penduduk", "status": 200}
Response : 422 UNPROCESSABLE CONTENT
{ "error": { "kelompok_id": ["Kelompok ID Tidak boleh kosong"], "penduduk_id": ["Penduduk ID Tidak boleh kosong"] }}
Response : 500 ERROR
Internal Server Error