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