GET v1/core/accounts/{accId}/apnzones

Return all APN zone in the account

Request Information

Parameters

NameDescriptionAdditional information
accId
the account id

Define this parameter in the request URI.

Response Information

the APN zone

Response body formats

application/json, text/json

Sample:
{
  "Success": true,
  "Data": [
    {
      "AccountID": 1,
      "ID": 2,
      "Name": "sample string 3",
      "Networks": [
        {
          "MCC": "sample string 1",
          "MNC": "sample string 2"
        },
        {
          "MCC": "sample string 1",
          "MNC": "sample string 2"
        },
        {
          "MCC": "sample string 1",
          "MNC": "sample string 2"
        }
      ]
    },
    {
      "AccountID": 1,
      "ID": 2,
      "Name": "sample string 3",
      "Networks": [
        {
          "MCC": "sample string 1",
          "MNC": "sample string 2"
        },
        {
          "MCC": "sample string 1",
          "MNC": "sample string 2"
        },
        {
          "MCC": "sample string 1",
          "MNC": "sample string 2"
        }
      ]
    },
    {
      "AccountID": 1,
      "ID": 2,
      "Name": "sample string 3",
      "Networks": [
        {
          "MCC": "sample string 1",
          "MNC": "sample string 2"
        },
        {
          "MCC": "sample string 1",
          "MNC": "sample string 2"
        },
        {
          "MCC": "sample string 1",
          "MNC": "sample string 2"
        }
      ]
    }
  ],
  "ErrorCode": 2,
  "ErrorDescription": "sample string 3",
  "Meta": "sample string 4"
}

text/javascript

Sample:
{"Success":true,"Data":[{"AccountID":1,"ID":2,"Name":"sample string 3","Networks":[{"MCC":"sample string 1","MNC":"sample string 2"},{"MCC":"sample string 1","MNC":"sample string 2"},{"MCC":"sample string 1","MNC":"sample string 2"}]},{"AccountID":1,"ID":2,"Name":"sample string 3","Networks":[{"MCC":"sample string 1","MNC":"sample string 2"},{"MCC":"sample string 1","MNC":"sample string 2"},{"MCC":"sample string 1","MNC":"sample string 2"}]},{"AccountID":1,"ID":2,"Name":"sample string 3","Networks":[{"MCC":"sample string 1","MNC":"sample string 2"},{"MCC":"sample string 1","MNC":"sample string 2"},{"MCC":"sample string 1","MNC":"sample string 2"}]}],"ErrorCode":2,"ErrorDescription":"sample string 3","Meta":"sample string 4"}

application/xml, text/xml

Sample:
<PBNBReturnOfArrayOfAPNZoneCA1DLPoZ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pbnb_models">
  <Data>
    <APNZone>
      <AccountID>1</AccountID>
      <ID>2</ID>
      <Name>sample string 3</Name>
      <Networks>
        <APNZoneNetworks>
          <MCC>sample string 1</MCC>
          <MNC>sample string 2</MNC>
        </APNZoneNetworks>
        <APNZoneNetworks>
          <MCC>sample string 1</MCC>
          <MNC>sample string 2</MNC>
        </APNZoneNetworks>
        <APNZoneNetworks>
          <MCC>sample string 1</MCC>
          <MNC>sample string 2</MNC>
        </APNZoneNetworks>
      </Networks>
    </APNZone>
    <APNZone>
      <AccountID>1</AccountID>
      <ID>2</ID>
      <Name>sample string 3</Name>
      <Networks>
        <APNZoneNetworks>
          <MCC>sample string 1</MCC>
          <MNC>sample string 2</MNC>
        </APNZoneNetworks>
        <APNZoneNetworks>
          <MCC>sample string 1</MCC>
          <MNC>sample string 2</MNC>
        </APNZoneNetworks>
        <APNZoneNetworks>
          <MCC>sample string 1</MCC>
          <MNC>sample string 2</MNC>
        </APNZoneNetworks>
      </Networks>
    </APNZone>
    <APNZone>
      <AccountID>1</AccountID>
      <ID>2</ID>
      <Name>sample string 3</Name>
      <Networks>
        <APNZoneNetworks>
          <MCC>sample string 1</MCC>
          <MNC>sample string 2</MNC>
        </APNZoneNetworks>
        <APNZoneNetworks>
          <MCC>sample string 1</MCC>
          <MNC>sample string 2</MNC>
        </APNZoneNetworks>
        <APNZoneNetworks>
          <MCC>sample string 1</MCC>
          <MNC>sample string 2</MNC>
        </APNZoneNetworks>
      </Networks>
    </APNZone>
  </Data>
  <ErrorCode>2</ErrorCode>
  <ErrorDescription>sample string 3</ErrorDescription>
  <Meta>sample string 4</Meta>
  <Success>true</Success>
</PBNBReturnOfArrayOfAPNZoneCA1DLPoZ>

application/bson

Sample:
KSuccessData�0�AccountIDIDNamesample string 3Networks�07MCCsample string 1MNCsample string 217MCCsample string 1MNCsample string 227MCCsample string 1MNCsample string 21�AccountIDIDNamesample string 3Networks�07MCCsample string 1MNCsample string 217MCCsample string 1MNCsample string 227MCCsample string 1MNCsample string 22�AccountIDIDNamesample string 3Networks�07MCCsample string 1MNCsample string 217MCCsample string 1MNCsample string 227MCCsample string 1MNCsample string 2ErrorCodeErrorDescriptionsample string 3Metasample string 4