GET v1/core/accounts/{accId}/apnzones
Return all APN zone in the account
Request Information
Parameters
Name | Description | Additional 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:
K Success Data � 0 � AccountID ID Name sample string 3 Networks � 0 7 MCC sample string 1 MNC sample string 2 1 7 MCC sample string 1 MNC sample string 2 2 7 MCC sample string 1 MNC sample string 2 1 � AccountID ID Name sample string 3 Networks � 0 7 MCC sample string 1 MNC sample string 2 1 7 MCC sample string 1 MNC sample string 2 2 7 MCC sample string 1 MNC sample string 2 2 � AccountID ID Name sample string 3 Networks � 0 7 MCC sample string 1 MNC sample string 2 1 7 MCC sample string 1 MNC sample string 2 2 7 MCC sample string 1 MNC sample string 2 ErrorCode ErrorDescription sample string 3 Meta sample string 4