---
title: "Validates a LegacyFreightZone"
method: POST
path: "/LegacyFreightZone/_validate"
tags: ["LegacyFreightZone"]
---

# Validates a LegacyFreightZone

`POST /LegacyFreightZone/_validate`

Validates an instance of LegacyFreightZone

## Request body

- LegacyFreightZoneData
  - `$type` 'Asi.Soa.Commerce.DataContracts.LegacyFreightZoneData, Asi.Contracts', required — The DataType must be "Asi.Soa.Commerce.DataContracts.LegacyFreightZoneData, Asi.Contracts"
  - `Country` CountryData
    - `$type` 'Asi.Soa.Membership.DataContracts.CountryData, Asi.Contracts', required — The DataType must be "Asi.Soa.Membership.DataContracts.CountryData, Asi.Contracts"
    - `CountryCode` string
    - `CountryName` string
    - `CountrySubEntities` CountrySubEntityDataCollection
      - `$type` 'Asi.Soa.Membership.DataContracts.CountrySubEntityDataCollection, Asi.Contracts', required — The DataType must be "Asi.Soa.Membership.DataContracts.CountrySubEntityDataCollection, Asi.Contracts"
      - `$values` CountrySubEntityData[], required — The values for the collection
        - `$type` 'Asi.Soa.Membership.DataContracts.CountrySubEntityData, Asi.Contracts', required — The DataType must be "Asi.Soa.Membership.DataContracts.CountrySubEntityData, Asi.Contracts"
        - `Code` string
        - `Name` string
    - `EuCountryCode` string
    - `IsActive` boolean
    - `Iso3DigitCountryCode` string
    - `MailGroup` string
    - `SubEntityCodeCaption` string
    - `SubEntityNameCaption` string
    - `UseSubEntityList` boolean
  - `DefaultZoneId` string
  - `DeliveryMethod` DeliveryMethodData
    - `$type` 'Asi.Soa.Commerce.DataContracts.DeliveryMethodData, Asi.Contracts', required — The DataType must be "Asi.Soa.Commerce.DataContracts.DeliveryMethodData, Asi.Contracts"
    - `DeliveryMethodId` string
    - `Name` string
  - `Name` string
  - `UpdatedDateTime` string, date-time
  - `Zones` FreightZoneDefinitionDataCollection
    - `$type` 'Asi.Soa.Commerce.DataContracts.FreightZoneDefinitionDataCollection, Asi.Contracts', required — The DataType must be "Asi.Soa.Commerce.DataContracts.FreightZoneDefinitionDataCollection, Asi.Contracts"
    - `$values` FreightZoneDefinitionData[], required — The values for the collection
      - `$type` 'Asi.Soa.Commerce.DataContracts.FreightZoneDefinitionData, Asi.Contracts', required — The DataType must be "Asi.Soa.Commerce.DataContracts.FreightZoneDefinitionData, Asi.Contracts"
      - `RangeBeginValue` string
      - `RangeEndValue` string
      - `ZoneId` string
  - `ZoneTableId` string

## Response `200`

The request was successful.

## Other responses

- `201` — The resource was successfully created.
- `202` — The resource was asynchronously created.

---

[API](https://skmtc.net/imis/apis/accounting.md) · [All operations](https://skmtc.net/imis/apis/accounting/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/imis/accounting/revisions/67a8cf169a01/schema)
