POST api/Location
Request Information
URI Parameters
None.
Body Parameters
LocationRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| SearchText | string |
None. |
|
| SearchTextProvinsi | string |
None. |
|
| SearchTextKota | string |
None. |
|
| SearchTextKelurahan | string |
None. |
|
| SearchTextKecamatan | string |
None. |
|
| SearchTextKodePos | string |
None. |
|
| SearchBy | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"SearchText": "sample string 1",
"SearchTextProvinsi": "sample string 2",
"SearchTextKota": "sample string 3",
"SearchTextKelurahan": "sample string 4",
"SearchTextKecamatan": "sample string 5",
"SearchTextKodePos": "sample string 6",
"SearchBy": "sample string 7"
}
application/xml, text/xml
Sample:
<LocationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models"> <SearchBy>sample string 7</SearchBy> <SearchText>sample string 1</SearchText> <SearchTextKecamatan>sample string 5</SearchTextKecamatan> <SearchTextKelurahan>sample string 4</SearchTextKelurahan> <SearchTextKodePos>sample string 6</SearchTextKodePos> <SearchTextKota>sample string 3</SearchTextKota> <SearchTextProvinsi>sample string 2</SearchTextProvinsi> </LocationRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |