GET api/Negeri

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Negeri
NameDescriptionTypeAdditional information
KodNegeri

string

None.

NamaNegeri

string

None.

Daerah

Collection of Daerah

None.

Response Formats

application/json, text/json

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