Booster.Microservices

<back to all web services

ValidatePostalAddress

Requires Authentication
The following routes are available for this service:
POST/warranty/v1/ValidatePostalAddress
ValidatePostalAddress Parameters:
NameParameterData TypeRequiredDescription
zipCodebodystringNo
regionbodystringNo
citybodystringNo
streetbodystringNo
houseNumberbodystringNo
countryIdbodystringNo
BaseRequest<TResponse> Parameters:
NameParameterData TypeRequiredDescription
sidformstringNo
appformstringNo
_osformstringNo
_appVersionformstringNo
_searchMethodformstringNo
ValidatePostalAddressResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
statusformstatusNo
suggestionformsuggestionNo
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
_xmlnsformstringNo
_typeformstringNo
_sourceformstringNo
_tstampformstringNo
_userformstringNo
_envformstringNo
_uriformstringNo
_queryformstringNo
status Parameters:
NameParameterData TypeRequiredDescription
errorCodeformstringNo
validationStatusCodeformstringNo
statusIdformintNo
errorDescriptionformstringNo
statusDescriptionformstringNo
suggestion Parameters:
NameParameterData TypeRequiredDescription
zipCodeformstringNo
regionIdformstringNo
regionDescriptionformstringNo
cityformstringNo
streetformstringNo
houseNumberformstringNo
countryIdformstringNo
countryDescriptionformstringNo
ValidatePostalAddressResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
statusformstatusNo
suggestionformsuggestionNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /warranty/v1/ValidatePostalAddress HTTP/1.1 
Host: qp-microservices-booster.richemont.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"zipCode":"String","region":"String","city":"String","street":"String","houseNumber":"String","countryId":"String","sid":"String","app":"String","_os":"String","_appVersion":"String","_searchMethod":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"status":{"errorCode":"String","validationStatusCode":"String","statusId":0,"errorDescription":"String","statusDescription":"String"},"suggestion":{"zipCode":"String","regionId":"String","regionDescription":"String","city":"String","street":"String","houseNumber":"String","countryId":"String","countryDescription":"String"},"_xmlns":"String","_type":"String","_source":"String","_tstamp":"String","_user":"String","_env":"String","_uri":"String","_query":"String"}