GET api/Daerah/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

None.

Response Information

Resource Description

Daerah
NameDescriptionTypeAdditional 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:
{
  "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"
      }
    ]
  }
}