PUT v1/core/accounts/{accId}/accessgroups/{accgrpId}/apnzonequotas?overrideCycleCheck={overrideCycleCheck}

update a zone quota for the group based on the zone id specified in the supplied object

Request Information

Parameters

NameDescriptionAdditional information
accId
The Account ID

Define this parameter in the request URI.

accgrpId
The Access Group ID

Define this parameter in the request URI.

value
The Access Group Zone Quota to update

Define this parameter in the request body.

overrideCycleCheck
A flag to allow overriding a check on the cycle changing which typically blocks the update. Set to True to skip this check.

Define this parameter in the request URI.

Request body formats

application/json, text/json

Sample:
{
  "APNZoneID": 1,
  "AccessGroupID": 3,
  "Status": "Disabled|Enabled",
  "Cycle": {
    "Type": "Monthly|Weekly|Daily",
    "Day": 1,
    "Hour": 2,
    "Minute": 3,
    "TimeZone": "GMT|CET|EET|AST|EST|CST|MST|PST|AKST|HAST|MSK|RZ3|RZ4|RZ5|RZ1|RZ6|RZ7|RZ8|RZ9|RZ10|RZ11|MSST|DST|MIS|MXP|MXM|MXC|BLT|VST|BVT|CHT|NST|BZT|AGT|GST|UST|JST|EGT|SAT|IST|SST|KST|INT|WAT|NAT|AUT|QST|NWT|AEST|ACST|AWST|HKT|ACT|AMT|BRT|FNT",
    "DaylightSavings": true
  },
  "CutoffTotal": 4,
  "RestrictionTotal": 5,
  "SharedRestrictionTotal": 6
}

text/javascript

Sample:
{"APNZoneID":1,"AccessGroupID":3,"Status":0,"Cycle":{"Type":0,"Day":1,"Hour":2,"Minute":3,"TimeZone":0,"DaylightSavings":true},"CutoffTotal":4,"RestrictionTotal":5,"SharedRestrictionTotal":6}

application/xml, text/xml

Sample:
<AccessGroupZoneQuota xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pbnb_models">
  <AccessGroupID>3</AccessGroupID>
  <CutoffTotal>4</CutoffTotal>
  <Cycle>
    <Day>1</Day>
    <DaylightSavings>true</DaylightSavings>
    <Hour>2</Hour>
    <Minute>3</Minute>
    <TimeZone>GMT|CET|EET|AST|EST|CST|MST|PST|AKST|HAST|MSK|RZ3|RZ4|RZ5|RZ1|RZ6|RZ7|RZ8|RZ9|RZ10|RZ11|MSST|DST|MIS|MXP|MXM|MXC|BLT|VST|BVT|CHT|NST|BZT|AGT|GST|UST|JST|EGT|SAT|IST|SST|KST|INT|WAT|NAT|AUT|QST|NWT|AEST|ACST|AWST|HKT|ACT|AMT|BRT|FNT</TimeZone>
    <Type>Monthly|Weekly|Daily</Type>
  </Cycle>
  <RestrictionTotal>5</RestrictionTotal>
  <SharedRestrictionTotal>6</SharedRestrictionTotal>
  <Status>Disabled|Enabled</Status>
  <APNZoneID>1</APNZoneID>
</AccessGroupZoneQuota>

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 'AccessGroupZoneQuota'.

application/bson

Sample:
�APNZoneIDAccessGroupIDStatusCycleNTypeDayHourMinuteTimeZoneDaylightSavingsCutoffTotalRestrictionTotalSharedRestrictionTotal

Response Information

Response body formats

application/json, text/json

Sample:
{
  "Success": true,
  "Data": {
    "APNZoneID": 1,
    "AccessGroupID": 3,
    "Status": "Disabled|Enabled",
    "Cycle": {
      "Type": "Monthly|Weekly|Daily",
      "Day": 1,
      "Hour": 2,
      "Minute": 3,
      "TimeZone": "GMT|CET|EET|AST|EST|CST|MST|PST|AKST|HAST|MSK|RZ3|RZ4|RZ5|RZ1|RZ6|RZ7|RZ8|RZ9|RZ10|RZ11|MSST|DST|MIS|MXP|MXM|MXC|BLT|VST|BVT|CHT|NST|BZT|AGT|GST|UST|JST|EGT|SAT|IST|SST|KST|INT|WAT|NAT|AUT|QST|NWT|AEST|ACST|AWST|HKT|ACT|AMT|BRT|FNT",
      "DaylightSavings": true
    },
    "CutoffTotal": 4,
    "RestrictionTotal": 5,
    "SharedRestrictionTotal": 6
  },
  "ErrorCode": 2,
  "ErrorDescription": "sample string 3",
  "Meta": "sample string 4"
}

text/javascript

Sample:
{"Success":true,"Data":{"APNZoneID":1,"AccessGroupID":3,"Status":0,"Cycle":{"Type":0,"Day":1,"Hour":2,"Minute":3,"TimeZone":0,"DaylightSavings":true},"CutoffTotal":4,"RestrictionTotal":5,"SharedRestrictionTotal":6},"ErrorCode":2,"ErrorDescription":"sample string 3","Meta":"sample string 4"}

application/xml, text/xml

Sample:
<PBNBReturnOfAccessGroupZoneQuotaCA1DLPoZ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pbnb_models">
  <Data>
    <AccessGroupID>3</AccessGroupID>
    <CutoffTotal>4</CutoffTotal>
    <Cycle>
      <Day>1</Day>
      <DaylightSavings>true</DaylightSavings>
      <Hour>2</Hour>
      <Minute>3</Minute>
      <TimeZone>GMT|CET|EET|AST|EST|CST|MST|PST|AKST|HAST|MSK|RZ3|RZ4|RZ5|RZ1|RZ6|RZ7|RZ8|RZ9|RZ10|RZ11|MSST|DST|MIS|MXP|MXM|MXC|BLT|VST|BVT|CHT|NST|BZT|AGT|GST|UST|JST|EGT|SAT|IST|SST|KST|INT|WAT|NAT|AUT|QST|NWT|AEST|ACST|AWST|HKT|ACT|AMT|BRT|FNT</TimeZone>
      <Type>Monthly|Weekly|Daily</Type>
    </Cycle>
    <RestrictionTotal>5</RestrictionTotal>
    <SharedRestrictionTotal>6</SharedRestrictionTotal>
    <Status>Disabled|Enabled</Status>
    <APNZoneID>1</APNZoneID>
  </Data>
  <ErrorCode>2</ErrorCode>
  <ErrorDescription>sample string 3</ErrorDescription>
  <Meta>sample string 4</Meta>
  <Success>true</Success>
</PBNBReturnOfAccessGroupZoneQuotaCA1DLPoZ>

application/bson

Sample:
;SuccessData�APNZoneIDAccessGroupIDStatusCycleNTypeDayHourMinuteTimeZoneDaylightSavingsCutoffTotalRestrictionTotalSharedRestrictionTotalErrorCodeErrorDescriptionsample string 3Metasample string 4