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
| Name | Description | Additional 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:
application/bson
Sample:
� 0 @ ID NASClusterID CountryCode sample string 3 1 @ ID NASClusterID CountryCode sample string 3 2 @ ID NASClusterID CountryCode sample 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:
2 Success Data � 0 @ ID NASClusterID CountryCode sample string 3 1 @ ID NASClusterID CountryCode sample string 3 2 @ ID NASClusterID CountryCode sample string 3 ErrorCode ErrorDescription sample string 3 Meta sample string 4