GET api/Parlimen/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Parlimen| Name | Description | Type | Additional information |
|---|---|---|---|
| KodPar | string |
None. |
|
| NamaPar | string |
None. |
|
| DUN | Collection of DUN |
None. |
Response Formats
application/json, text/json
Sample:
{
"KodPar": "sample string 1",
"NamaPar": "sample string 2",
"DUN": [
{
"$id": "2",
"KodDUN": "sample string 1",
"NamaDUN": "sample string 2",
"KodPar": "sample string 3",
"Parlimen": {
"$ref": "1"
}
},
{
"$ref": "2"
}
]
}