POST address/addressValidation
Validates a domestic address. Data also includes Accessorials, AccessorialStatus (enabled, not_enabled, skipped, no_matches, unavailable), and AccessorialMessage. Recommendations require Accessorial Agent to be enabled by a FreightPOP admin; send includeAccessorials false to skip them. A recommendation failure does not fail address validation.
Pass HTTP Authorization request header with value "Bearer {token}" to perform this action.
Request Information
URI Parameters
None.
Body Parameters
AddressValidation| Name | Description | Type | Additional information |
|---|---|---|---|
| Address | AddressValidationWrapperDto |
None. |
|
| IncludeAccessorials | boolean |
Optional
defaults to true. When false no accessorial recommendations are calculated and AccessorialStatus is skipped |
Request Formats
application/json, text/json
Sample:
{
"Address": {
"Street1": "sample string 1",
"City": "sample string 2",
"State": "sample string 3",
"Zip": "sample string 4",
"Country": "sample string 5",
"ValidateZipCodePlusFour": true
},
"IncludeAccessorials": true
}
Response Information
Resource Description
BadResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Data |
Data returned by api |
Object |
None. |
| Code |
Response code returned by api |
HttpStatusCode |
None. |
| Message |
Human readable message |
string |
None. |
| TraceId | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Code": 100,
"Message": "sample string 2",
"Data": {},
"TraceId": "sample string 3"
}