GET api/Bandar

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Bandar
NameDescriptionTypeAdditional information
KodBandar

string

None.

NamaBandar

string

None.

KodDaerah

string

None.

Daerah

Daerah

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "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"
          }
        ]
      }
    }
  },
  {
    "$ref": "1"
  }
]