Service - Validate Address
[DEPRECATED NOTICE: This operation will soon be removed]. This method validates the customer shipping address and provide alternate addresses if any.
POST https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.DataBox/locations/{location}/validateAddress?api-version=2025-02-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
location
|
path | True |
string |
The location of the resource |
subscription
|
path | True |
string |
The Subscription Id |
api-version
|
query | True |
string |
The API Version |
Request Body
Name | Required | Type | Description |
---|---|---|---|
deviceType | True |
Device type to be used for the job. |
|
shippingAddress | True |
Shipping address of the customer. |
|
validationType | True | string: |
Identifies the type of validation request. |
model |
The customer friendly name of the combination of version and capacity of the device. This field is necessary only at the time of ordering the newer generation device i.e. AzureDataBox120 and AzureDataBox525 as of Feb/2025 |
||
transportPreferences |
Preferences related to the shipment logistics of the sku. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
The valid and alternate addresses. |
|
Other Status Codes |
Error response describing reason for operation failure. |
Security
azure_auth
Azure Active Directory OAuth2 Flow
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | impersonate your user account |
Examples
ValidateAddressPost
Sample request
POST https://management.azure.com/subscriptions/YourSubscriptionId/providers/Microsoft.DataBox/locations/westus/validateAddress?api-version=2025-02-01
{
"validationType": "ValidateAddress",
"shippingAddress": {
"streetAddress1": "XXXX XXXX",
"streetAddress2": "XXXX XXXX",
"city": "XXXX XXXX",
"stateOrProvince": "XX",
"country": "XX",
"postalCode": "00000",
"companyName": "XXXX XXXX",
"addressType": "Commercial"
},
"deviceType": "DataBox",
"model": "DataBox"
}
Sample response
{
"properties": {
"validationStatus": "Valid",
"alternateAddresses": [
{
"streetAddress1": "XXXX XXXX",
"streetAddress2": "XXXX XXXX",
"streetAddress3": "",
"city": "XXXX XXXX",
"stateOrProvince": "XX",
"country": "XX",
"postalCode": "00000",
"addressType": "None"
}
],
"validationType": "ValidateAddress"
}
}
Definitions
Name | Description |
---|---|
Additional |
This class represents additional info which Resource Providers pass when an error occurs. |
Address |
Type of address. |
Address |
Output of the address validation api. |
Address |
The address validation status. |
Api |
|
Cloud |
Provides additional information about an http error response. |
Details | |
Error |
|
Model |
The customer friendly name of the combination of version and capacity of the device. This field is necessary only at the time of ordering the newer generation device i.e. AzureDataBox120 and AzureDataBox525 as of Feb/2025 |
Shipping |
Shipping address where customer wishes to receive the device. |
Sku |
Sku Names to filter for available skus |
Transport |
Preferences related to the shipment logistics of the sku |
Transport |
Indicates Shipment Logistics type that the customer preferred. |
Validate |
The requirements to validate customer address where the device needs to be shipped. |
AdditionalErrorInfo
This class represents additional info which Resource Providers pass when an error occurs.
Name | Type | Description |
---|---|---|
info |
object |
Additional information of the type of error. |
type |
string |
Type of error (e.g. CustomerIntervention, PolicyViolation, SecurityViolation). |
AddressType
Type of address.
Value | Description |
---|---|
None |
Address type not known. |
Residential |
Residential Address. |
Commercial |
Commercial Address. |
AddressValidationOutput
Output of the address validation api.
Name | Type | Description |
---|---|---|
properties.alternateAddresses |
List of alternate addresses. |
|
properties.error |
Error code and message of validation response. |
|
properties.validationStatus |
The address validation status. |
|
properties.validationType |
Validation |
Identifies the type of validation response. |
AddressValidationStatus
The address validation status.
Value | Description |
---|---|
Valid |
Address provided is valid. |
Invalid |
Address provided is invalid or not supported. |
Ambiguous |
Address provided is ambiguous, please choose one of the alternate addresses returned. |
ApiError
Name | Type | Description |
---|---|---|
error |
CloudError
Provides additional information about an http error response.
Name | Type | Description |
---|---|---|
additionalInfo |
Gets or sets additional error info. |
|
code |
string |
Error code. |
details |
Gets or sets details for the error. |
|
message |
string |
The error message parsed from the body of the http error response. |
target |
string |
Gets or sets the target of the error. |
Details
Name | Type | Description |
---|---|---|
code |
string |
|
message |
string |
ErrorDetail
Name | Type | Description |
---|---|---|
code |
string |
|
details |
Details[] |
|
message |
string |
|
target |
string |
ModelName
The customer friendly name of the combination of version and capacity of the device. This field is necessary only at the time of ordering the newer generation device i.e. AzureDataBox120 and AzureDataBox525 as of Feb/2025
Value | Description |
---|---|
DataBox |
Data Box. |
DataBoxDisk |
Data Box Disk. |
DataBoxHeavy |
Data Box Heavy. |
DataBoxCustomerDisk |
Data Box Customer Disk |
AzureDataBox120 |
Data Box V2 with 125TB usable capacity. |
AzureDataBox525 |
Data Box V2 with 500TB usable capacity. |
ShippingAddress
Shipping address where customer wishes to receive the device.
Name | Type | Default value | Description |
---|---|---|---|
addressType | None |
Type of address. |
|
city |
string |
Name of the City. |
|
companyName |
string |
Name of the company. |
|
country |
string |
Name of the Country. |
|
postalCode |
string |
Postal code. |
|
skipAddressValidation |
boolean |
Flag to indicate if customer has chosen to skip default address validation |
|
stateOrProvince |
string |
Name of the State or Province. |
|
streetAddress1 |
string |
Street Address line 1. |
|
streetAddress2 |
string |
Street Address line 2. |
|
streetAddress3 |
string |
Street Address line 3. |
|
taxIdentificationNumber |
string |
Tax Identification Number |
|
zipExtendedCode |
string |
Extended Zip Code. |
SkuName
Sku Names to filter for available skus
Value | Description |
---|---|
DataBox |
Data Box. |
DataBoxDisk |
Data Box Disk. |
DataBoxHeavy |
Data Box Heavy. |
DataBoxCustomerDisk |
Data Box Customer Disk |
TransportPreferences
Preferences related to the shipment logistics of the sku
Name | Type | Description |
---|---|---|
isUpdated |
boolean |
Read only property which indicates whether transport preferences has been updated or not after device is prepared. |
preferredShipmentType |
Indicates Shipment Logistics type that the customer preferred. |
TransportShipmentTypes
Indicates Shipment Logistics type that the customer preferred.
Value | Description |
---|---|
CustomerManaged |
Shipment Logistics is handled by the customer. |
MicrosoftManaged |
Shipment Logistics is handled by Microsoft. |
ValidateAddress
The requirements to validate customer address where the device needs to be shipped.
Name | Type | Description |
---|---|---|
deviceType |
Device type to be used for the job. |
|
model |
The customer friendly name of the combination of version and capacity of the device. This field is necessary only at the time of ordering the newer generation device i.e. AzureDataBox120 and AzureDataBox525 as of Feb/2025 |
|
shippingAddress |
Shipping address of the customer. |
|
transportPreferences |
Preferences related to the shipment logistics of the sku. |
|
validationType | string: |
Identifies the type of validation request. |