POST v1/core/accounts/{accId}/otizones/{otiZoneID}/NASClusterCountries

Adds a list of NASClusterCountries to the OTIZone. Replaces any existing NASClusterCountries for the OTIZone

Request Information

Parameters

NameDescriptionAdditional information
accId

Define this parameter in the request URI.

otiZoneID

Define this parameter in the request URI.

nasClusterCountries

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "NASClusterID": 2,
    "CountryCode": "sample string 3"
  },
  {
    "ID": 1,
    "NASClusterID": 2,
    "CountryCode": "sample string 3"
  },
  {
    "ID": 1,
    "NASClusterID": 2,
    "CountryCode": "sample string 3"
  }
]

text/javascript

Sample:
[{"ID":1,"NASClusterID":2,"CountryCode":"sample string 3"},{"ID":1,"NASClusterID":2,"CountryCode":"sample string 3"},{"ID":1,"NASClusterID":2,"CountryCode":"sample string 3"}]

application/xml, text/xml

Sample:
<ArrayOfZoneNASClusterCountry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pbnb_models">
  <ZoneNASClusterCountry>
    <CountryCode>sample string 3</CountryCode>
    <ID>1</ID>
    <NASClusterID>2</NASClusterID>
  </ZoneNASClusterCountry>
  <ZoneNASClusterCountry>
    <CountryCode>sample string 3</CountryCode>
    <ID>1</ID>
    <NASClusterID>2</NASClusterID>
  </ZoneNASClusterCountry>
  <ZoneNASClusterCountry>
    <CountryCode>sample string 3</CountryCode>
    <ID>1</ID>
    <NASClusterID>2</NASClusterID>
  </ZoneNASClusterCountry>
</ArrayOfZoneNASClusterCountry>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

application/bson

Sample:
�0@IDNASClusterIDCountryCodesample string 31@IDNASClusterIDCountryCodesample string 32@IDNASClusterIDCountryCodesample string 3

Response Information

A list of NASClusterCountries for the current OTIZone

Response body formats

application/json, text/json

Sample:
{
  "Success": true,
  "Data": [
    {
      "ID": 1,
      "NASClusterID": 2,
      "CountryCode": "sample string 3"
    },
    {
      "ID": 1,
      "NASClusterID": 2,
      "CountryCode": "sample string 3"
    },
    {
      "ID": 1,
      "NASClusterID": 2,
      "CountryCode": "sample string 3"
    }
  ],
  "ErrorCode": 2,
  "ErrorDescription": "sample string 3",
  "Meta": "sample string 4"
}

text/javascript

Sample:
{"Success":true,"Data":[{"ID":1,"NASClusterID":2,"CountryCode":"sample string 3"},{"ID":1,"NASClusterID":2,"CountryCode":"sample string 3"},{"ID":1,"NASClusterID":2,"CountryCode":"sample string 3"}],"ErrorCode":2,"ErrorDescription":"sample string 3","Meta":"sample string 4"}

application/xml, text/xml

Sample:
<PBNBReturnOfArrayOfZoneNASClusterCountryCA1DLPoZ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pbnb_models">
  <Data>
    <ZoneNASClusterCountry>
      <CountryCode>sample string 3</CountryCode>
      <ID>1</ID>
      <NASClusterID>2</NASClusterID>
    </ZoneNASClusterCountry>
    <ZoneNASClusterCountry>
      <CountryCode>sample string 3</CountryCode>
      <ID>1</ID>
      <NASClusterID>2</NASClusterID>
    </ZoneNASClusterCountry>
    <ZoneNASClusterCountry>
      <CountryCode>sample string 3</CountryCode>
      <ID>1</ID>
      <NASClusterID>2</NASClusterID>
    </ZoneNASClusterCountry>
  </Data>
  <ErrorCode>2</ErrorCode>
  <ErrorDescription>sample string 3</ErrorDescription>
  <Meta>sample string 4</Meta>
  <Success>true</Success>
</PBNBReturnOfArrayOfZoneNASClusterCountryCA1DLPoZ>

application/bson

Sample:
2SuccessData�0@IDNASClusterIDCountryCodesample string 31@IDNASClusterIDCountryCodesample string 32@IDNASClusterIDCountryCodesample string 3ErrorCodeErrorDescriptionsample string 3Metasample string 4