GET api/Bandar/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

None.

Response Information

Resource Description

Bandar
NameDescriptionTypeAdditional information
KodBandar

string

None.

NamaBandar

string

None.

KodDaerah

string

None.

Daerah

Daerah

None.

Response Formats

application/json, text/json

Sample:
{
  "KodBandar": "sample string 1",
  "NamaBandar": "sample string 2",
  "KodDaerah": "sample string 3",
  "Daerah": {
    "$id": "2",
    "KodDaerah": "sample string 1",
    "NamaDaerah": "sample string 2",
    "KodNegeri": "sample string 3",
    "Bandar": [
      {
        "$ref": "1"
      },
      {
        "$ref": "1"
      }
    ],
    "Negeri": {
      "$id": "3",
      "KodNegeri": "sample string 1",
      "NamaNegeri": "sample string 2",
      "Daerah": [
        {
          "$ref": "2"
        },
        {
          "$ref": "2"
        }
      ]
    }
  }
}