---
title: "POST /subscriptions/{subscriptionId}/providers/Microsoft.DataBox/locations/{location}/validateInputs"
method: POST
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DataBox/locations/{location}/validateInputs"
tags: ["Service"]
---

# POST /subscriptions/{subscriptionId}/providers/Microsoft.DataBox/locations/{location}/validateInputs

`POST /subscriptions/{subscriptionId}/providers/Microsoft.DataBox/locations/{location}/validateInputs`

This method does all necessary pre-job creation validation under subscription.

## Path parameters

- `subscriptionId` string, required
- `location` string, required

## Query parameters

- `api-version` string, required

## Request body

- ValidationRequest — Input request for all pre job creation validation.
  - `individualRequestDetails` ValidationInputRequest[], required — List of request details contain validationType and its request as key and value respectively.
    - `validationType` 'ValidateAddress' | 'ValidateDataDestinationDetails' | 'ValidateSubscriptionIsAllowedToCreateJob' | 'ValidatePreferences' | 'ValidateCreateOrderLimit' | 'ValidateSkuAvailability', required — Identifies the type of validation request.
  - `validationCategory` 'JobCreationValidation', required — Identify the nature of validation.

## Response `200`

The validation status and responses of each validating parameter.

- ValidationResponse — Response of pre job creation validations.
  - `properties` ValidationResponseProperties — Properties of pre job creation validation response.
    - `status` 'AllValidToProceed' | 'InputsRevisitRequired' | 'CertainInputValidationsSkipped' — Overall validation status.
    - `individualResponseDetails` ValidationInputResponse[] — List of response details contain validationType and its response as key and value respectively.
      - `validationType` 'ValidateAddress' | 'ValidateDataDestinationDetails' | 'ValidateSubscriptionIsAllowedToCreateJob' | 'ValidatePreferences' | 'ValidateCreateOrderLimit' | 'ValidateSkuAvailability', required — Identifies the type of validation response.
      - `error` Error — Top level error for the job.
        - `code` string — Error code that can be used to programmatically identify the error.
        - `message` string — Describes the error in detail and provides debugging information.

## Other responses

- `default` — Error response describing reason for operation failure.

---

[API](https://skmtc.net/azure/apis/databoxmanagementclient.md) · [All operations](https://skmtc.net/azure/apis/databoxmanagementclient/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/databoxmanagementclient/versions/a5a0c2b247e2/schema)
