GET api/Daerah
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of Daerah| Name | Description | Type | Additional information |
|---|---|---|---|
| KodDaerah | string |
None. |
|
| NamaDaerah | string |
None. |
|
| KodNegeri | string |
None. |
|
| Bandar | Collection of Bandar |
None. |
|
| Negeri | Negeri |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"$id": "1",
"KodDaerah": "sample string 1",
"NamaDaerah": "sample string 2",
"KodNegeri": "sample string 3",
"Bandar": [
{
"$id": "2",
"KodBandar": "sample string 1",
"NamaBandar": "sample string 2",
"KodDaerah": "sample string 3",
"Daerah": {
"$ref": "1"
}
},
{
"$ref": "2"
}
],
"Negeri": {
"$id": "3",
"KodNegeri": "sample string 1",
"NamaNegeri": "sample string 2",
"Daerah": [
{
"$ref": "1"
},
{
"$ref": "1"
}
]
}
},
{
"$ref": "1"
}
]