GET api/Settings/GetAutoModeration

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

ObjResultOfAutoModeration
NameDescriptionTypeAdditional information
Data

AutoModeration

None.

Error

Error description if the operation failed

string

None.

Success

Operation result

boolean

None.

ErrorCode

Error code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "data": {
    "isEnabled": true,
    "items": [
      {
        "minimum": 1,
        "property": {
          "id": 1,
          "indexed": true,
          "guid": "6b43892b-8bae-4e27-9e21-aced7d6afc9e",
          "locked": true,
          "name": "sample string 5",
          "originName": "sample string 6",
          "readOnly": true,
          "dataType": "sample string 8"
        }
      },
      {
        "minimum": 1,
        "property": {
          "id": 1,
          "indexed": true,
          "guid": "6b43892b-8bae-4e27-9e21-aced7d6afc9e",
          "locked": true,
          "name": "sample string 5",
          "originName": "sample string 6",
          "readOnly": true,
          "dataType": "sample string 8"
        }
      }
    ],
    "requireAdminAproval": true
  },
  "error": "sample string 1",
  "success": true,
  "errorCode": 3
}

application/xml, text/xml

Sample:
<ObjResultOfAutoModerationXmvOanaG xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAMClient.Models">
  <_x003C_ErrorCode_x003E_k__BackingField>3</_x003C_ErrorCode_x003E_k__BackingField>
  <_x003C_Error_x003E_k__BackingField>sample string 1</_x003C_Error_x003E_k__BackingField>
  <_x003C_Success_x003E_k__BackingField>true</_x003C_Success_x003E_k__BackingField>
  <Data>
    <IsEnabled>true</IsEnabled>
    <Items>
      <RequiredItem>
        <Minimum>1</Minimum>
        <Property>
          <DataType>sample string 8</DataType>
          <Guid>6b43892b-8bae-4e27-9e21-aced7d6afc9e</Guid>
          <Id>1</Id>
          <Indexed>true</Indexed>
          <Locked>true</Locked>
          <Name>sample string 5</Name>
          <OriginName>sample string 6</OriginName>
          <ReadOnly>true</ReadOnly>
        </Property>
      </RequiredItem>
      <RequiredItem>
        <Minimum>1</Minimum>
        <Property>
          <DataType>sample string 8</DataType>
          <Guid>6b43892b-8bae-4e27-9e21-aced7d6afc9e</Guid>
          <Id>1</Id>
          <Indexed>true</Indexed>
          <Locked>true</Locked>
          <Name>sample string 5</Name>
          <OriginName>sample string 6</OriginName>
          <ReadOnly>true</ReadOnly>
        </Property>
      </RequiredItem>
    </Items>
    <RequireAdminAproval>true</RequireAdminAproval>
  </Data>
</ObjResultOfAutoModerationXmvOanaG>
bool hasModels = Model.ParameterModels.Count > 0; if (hasModels) {

Parameter Information

}