POST v1/core/accounts/{accId}/accessgroups/{accgrpId}/otizonequotas

creates a new OTIZone quota for a given accId/accgrpId

Request Information

Parameters

NameDescriptionAdditional information
accId

Define this parameter in the request URI.

accgrpId

Define this parameter in the request URI.

quota

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "OTIZoneID": 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:
{"OTIZoneID":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:
<AccessGroupOTIZoneQuota xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pbnb_models.Groups">
  <AccessGroupID xmlns="http://schemas.datacontract.org/2004/07/pbnb_models">3</AccessGroupID>
  <CutoffTotal xmlns="http://schemas.datacontract.org/2004/07/pbnb_models">4</CutoffTotal>
  <Cycle xmlns="http://schemas.datacontract.org/2004/07/pbnb_models">
    <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 xmlns="http://schemas.datacontract.org/2004/07/pbnb_models">5</RestrictionTotal>
  <SharedRestrictionTotal xmlns="http://schemas.datacontract.org/2004/07/pbnb_models">6</SharedRestrictionTotal>
  <Status xmlns="http://schemas.datacontract.org/2004/07/pbnb_models">Disabled|Enabled</Status>
  <OTIZoneID>1</OTIZoneID>
</AccessGroupOTIZoneQuota>

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

application/bson

Sample:
�OTIZoneIDAccessGroupIDStatusCycleNTypeDayHourMinuteTimeZoneDaylightSavingsCutoffTotalRestrictionTotalSharedRestrictionTotal

Response Information

Response body formats

application/json, text/json

Sample:
{
  "Success": true,
  "Data": {
    "OTIZoneID": 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":{"OTIZoneID":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:
<PBNBReturnOfAccessGroupOTIZoneQuotaQXE6atR3 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pbnb_models">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/pbnb_models.Groups">
    <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>
    <d2p1:OTIZoneID>1</d2p1:OTIZoneID>
  </Data>
  <ErrorCode>2</ErrorCode>
  <ErrorDescription>sample string 3</ErrorDescription>
  <Meta>sample string 4</Meta>
  <Success>true</Success>
</PBNBReturnOfAccessGroupOTIZoneQuotaQXE6atR3>

application/bson

Sample:
;SuccessData�OTIZoneIDAccessGroupIDStatusCycleNTypeDayHourMinuteTimeZoneDaylightSavingsCutoffTotalRestrictionTotalSharedRestrictionTotalErrorCodeErrorDescriptionsample string 3Metasample string 4