GET api/Negara

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Negara
NameDescriptionTypeAdditional information
Kod1

string

None.

Kod2

string

None.

Kod3

integer

None.

NamaNegara

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "Kod1": "sample string 1",
    "Kod2": "sample string 2",
    "Kod3": 3,
    "NamaNegara": "sample string 4"
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfNegara xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Negara>
    <Kod1>sample string 1</Kod1>
    <Kod2>sample string 2</Kod2>
    <Kod3>3</Kod3>
    <NamaNegara>sample string 4</NamaNegara>
  </Negara>
  <Negara>
    <Kod1>sample string 1</Kod1>
    <Kod2>sample string 2</Kod2>
    <Kod3>3</Kod3>
    <NamaNegara>sample string 4</NamaNegara>
  </Negara>
</ArrayOfNegara>