PATCH v1/core/accounts/{accId}/otizones/{otiZoneId}

Patches the otizones for this account with the specified {accId} with the data provided.

Request Information

Parameters

NameDescriptionAdditional information
accId

Define this parameter in the request URI.

otiZoneId

Define this parameter in the request URI.

value

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:
<JsonPatchDocumentOfOTIZoneCA1DLPoZ 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": {
    "ID": 1,
    "CASType": 2,
    "Status": 3,
    "Name": "sample string 4",
    "BlackHoleAuthFailures": true
  },
  "ErrorCode": 2,
  "ErrorDescription": "sample string 3",
  "Meta": "sample string 4"
}

text/javascript

Sample:
{"Success":true,"Data":{"ID":1,"CASType":2,"Status":3,"Name":"sample string 4","BlackHoleAuthFailures":true},"ErrorCode":2,"ErrorDescription":"sample string 3","Meta":"sample string 4"}

application/xml, text/xml

Sample:
<PBNBReturnOfOTIZoneCA1DLPoZ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pbnb_models">
  <Data>
    <BlackHoleAuthFailures>true</BlackHoleAuthFailures>
    <CASType>2</CASType>
    <ID>1</ID>
    <Name>sample string 4</Name>
    <Status>3</Status>
  </Data>
  <ErrorCode>2</ErrorCode>
  <ErrorDescription>sample string 3</ErrorDescription>
  <Meta>sample string 4</Meta>
  <Success>true</Success>
</PBNBReturnOfOTIZoneCA1DLPoZ>

application/bson

Sample:
�SuccessDataXIDCASTypeStatusNamesample string 4BlackHoleAuthFailuresErrorCodeErrorDescriptionsample string 3Metasample string 4