POST api/AddressValidation
Request Information
URI Parameters
None.
Body Parameters
AddressValidationRequestName | Description | Type | Additional information |
---|---|---|---|
CompanyName | string |
None. |
|
Street1 | string |
None. |
|
Street2 | string |
None. |
|
City | string |
None. |
|
State | string |
None. |
|
PostalCode | string |
None. |
|
Country | string |
None. |
|
IsResidential | boolean |
None. |
|
Mode | ModeEnum |
None. |
Request Formats
application/json, text/json
Sample:
{ "companyName": "sample string 1", "street1": "sample string 2", "street2": "sample string 3", "city": "sample string 4", "state": "sample string 5", "postalCode": "sample string 6", "country": "sample string 7", "isResidential": true, "mode": 0 }
application/xml, text/xml
Sample:
<AddressValidationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FlightDeck.Estimating.ViewModels.Customers.Request"> <City>sample string 4</City> <CompanyName>sample string 1</CompanyName> <Country>sample string 7</Country> <IsResidential>true</IsResidential> <Mode>Test</Mode> <PostalCode>sample string 6</PostalCode> <State>sample string 5</State> <Street1>sample string 2</Street1> <Street2>sample string 3</Street2> </AddressValidationRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | 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. |