Detail Kecamatan
Endpoint untuk mendapatkan detail data Kecamatan berdasarkan ID nya
URL Endpoint
https://kwid.codingers.id/api/v2/detail-kec/{id}Example:
https://kwid.codingers.id/api/v2/detail-kec/110101
Detail Request
| Route | Method | Description |
|---|---|---|
| /detail-kec/{id} | GET | Mendapatkan detail data Kecamatan berdasarkan ID nya |
Parameter
| Name | Type | Description |
|---|---|---|
| id | integer | ID dari Kecamatan |
Response
Error Response
| Error Code | Description |
|---|---|
| 400 | Bad Request |
| 404 | Not Found |
| 500 | Internal Server Error |

