GET rest/v1/address/validate?zipcode={zipcode}&state={state}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
zipcode | string |
Required |
|
state | string |
Required |
Body Parameters
None.
Response Information
Resource Description
AddressValidationResponseName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
Code | string |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Code": "sample string 2", "Message": "sample string 3" }
application/xml, text/xml
Sample:
<AddressValidationResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Subscriptions.HMH.Common.APIEntities"> <Code>sample string 2</Code> <Message>sample string 3</Message> <Success>true</Success> </AddressValidationResponse>