v37

latestSwagger 2.0raw.githubusercontent.com2022-06-16119123294.9 KB
Address

Validates an address. Use the operation to validate an address before using it as a billing account or a billing profile address.

post/providers/Microsoft.Billing/validateAddress

Query parameters

api-versionstring required

The version of the API to be used with the client request. The current version is 2019-10-01-preview.

Request body

firstNamestring

First name.

lastNamestring

Last name.

companyNamestring

Company name.

addressLine1string

Address line 1.

addressLine2string

Address line 2.

addressLine3string

Address line 3.

citystring

Address city.

regionstring

Address region.

countrystring

Country code uses ISO2, 2-digit format.

postalCodestring

Postal code.

Response

OK. The request has succeeded.

status'Valid' | 'Invalid'

Status of the address validation.

validationMessagestring

Validation error message.