POST api/APIAddressNew/autoCityComplete
Request Information
URI Parameters
None.
Body Parameters
APIAddressDetailName | Description | Type | Additional information |
---|---|---|---|
country | string |
None. |
|
language | string |
None. |
|
postCode | string |
None. |
|
cityName | string |
None. |
|
street | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "country": "sample string 1", "language": "sample string 2", "postCode": "sample string 3", "cityName": "sample string 4", "street": "sample string 5" }
application/xml, text/xml
Sample:
<APIAddressDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel"> <cityName>sample string 4</cityName> <country>sample string 1</country> <language>sample string 2</language> <postCode>sample string 3</postCode> <street>sample string 5</street> </APIAddressDetail>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APIAddressResponseModelName | Description | Type | Additional information |
---|---|---|---|
predications | Collection of APIPredications |
None. |
|
ResponseCode | integer |
None. |
|
ResponseText | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "predications": [ { "street": "sample string 1", "streetName": "sample string 2", "buildingNumber": "sample string 3", "additionalInfo": "sample string 4", "postCode": "sample string 5", "cityName": "sample string 6" }, { "street": "sample string 1", "streetName": "sample string 2", "buildingNumber": "sample string 3", "additionalInfo": "sample string 4", "postCode": "sample string 5", "cityName": "sample string 6" } ], "ResponseCode": 1, "ResponseText": "sample string 2" }
application/xml, text/xml
Sample:
<APIAddressResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel"> <ResponseCode>1</ResponseCode> <ResponseText>sample string 2</ResponseText> <predications> <APIPredications> <additionalInfo>sample string 4</additionalInfo> <buildingNumber>sample string 3</buildingNumber> <cityName>sample string 6</cityName> <postCode>sample string 5</postCode> <street>sample string 1</street> <streetName>sample string 2</streetName> </APIPredications> <APIPredications> <additionalInfo>sample string 4</additionalInfo> <buildingNumber>sample string 3</buildingNumber> <cityName>sample string 6</cityName> <postCode>sample string 5</postCode> <street>sample string 1</street> <streetName>sample string 2</streetName> </APIPredications> </predications> </APIAddressResponseModel>