PATCH v1/core/accounts/{accId}/accessgroups/{accgrpId}/otizonequotas/{otiZoneId}

Updates the OTIZone quota of a given otiZoneId

Request Information

Parameters

NameDescriptionAdditional information
accId

Define this parameter in the request URI.

accgrpId

Define this parameter in the request URI.

otiZoneId

Define this parameter in the request URI.

quota

Define this parameter in the request body.

Request body formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: One or more errors occurred.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: One or more errors occurred.

text/javascript

Sample:

An exception has occurred while using the formatter 'JsonPMediaTypeFormatter' to generate sample for media type 'text/javascript'. Exception message: One or more errors occurred.

application/xml, text/xml

Sample:
<JsonPatchDocumentOfAccessGroupOTIZoneQuotaQXE6atR3 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Marvin.JsonPatch" />

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 'JsonPatchDocument`1'.

application/bson

Sample:

An exception has occurred while using the formatter 'BsonMediaTypeFormatter' to generate sample for media type 'application/bson'. Exception message: Requested value 'sample string 3' was not found.

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