POST v1/core/accounts/{accId}/accessgroups/{accgrpID}/otizonerestrictions/{otiZoneRestrictionID}/domainfiltering/defaultaction

creates the domainFiltering DefaultAction for a given {otiZoneRestrictionId}

Request Information

Parameters

NameDescriptionAdditional information
accId

Define this parameter in the request URI.

accgrpID

Define this parameter in the request URI.

otiZoneRestrictionID

Define this parameter in the request URI.

actionType

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
"Unknown"

text/javascript

Sample:
0

application/xml, text/xml

Sample:
<ActionType xmlns="http://schemas.datacontract.org/2004/07/pbnb_models.dnf">Unknown</ActionType>

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

application/bson

Sample:

An exception has occurred while using the formatter 'BsonMediaTypeFormatter' to generate sample for media type 'application/bson'. Exception message: Error writing Integer value. BSON must start with an Object or Array. Path ''.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "Success": true,
  "Data": "Unknown",
  "ErrorCode": 2,
  "ErrorDescription": "sample string 3",
  "Meta": "sample string 4"
}

text/javascript

Sample:
{"Success":true,"Data":0,"ErrorCode":2,"ErrorDescription":"sample string 3","Meta":"sample string 4"}

application/xml, text/xml

Sample:
<PBNBReturnOfActionType76FemLeQ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pbnb_models">
  <Data>Unknown</Data>
  <ErrorCode>2</ErrorCode>
  <ErrorDescription>sample string 3</ErrorDescription>
  <Meta>sample string 4</Meta>
  <Success>true</Success>
</PBNBReturnOfActionType76FemLeQ>

application/bson

Sample:
hSuccessDataErrorCodeErrorDescriptionsample string 3Metasample string 4