GET api/Negara/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

None.

Response Information

Resource Description

Negara
NameDescriptionTypeAdditional information
Kod1

string

None.

Kod2

string

None.

Kod3

integer

None.

NamaNegara

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Kod1": "sample string 1",
  "Kod2": "sample string 2",
  "Kod3": 3,
  "NamaNegara": "sample string 4"
}

application/xml, text/xml

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