Attributes

Attribute

type

values

default

mandate

comment

name

string

 

 

 

 

displayName

string

 

 

 

 

holders

collection

 

 

 

Holder attribute:
name,
displayName


/policyCategory/search

+Examples:+
Method:/policyCategory/search
Parameters: 
\{
 "match":\[\],
 "return":\["name", "displayName", 
  \{"holders":\[\{"elements":\["*"\]\}\]\}\]
\}
Response: 
\{
 "error":0,
"result":
\[
 "rows":
\[
 \{
  "name":"Session",
"displayName":"Session"
"holders":
\[
 elements:
\[
\{
"name":"application",
"displayName":"Application"
\}
...
\]
\]
\},
 \{
...
\}
\],
"total":10
\]
\}

/policyCategory/get

Method:/policyCategory/get
Parameters: 
\{
 "match": \[\],
 "return":\["category", "name", "id", "domains.id", "options"\],
\}
Response: 
\{
 "error":0,
"result":
\\
 \{
  "name":"Session",
"displayName":"Session"
"holders":
\[
 elements:
\[
\{
"name":"application",
"displayName":"Application"
\}
...
\]
\]
\}
\}
\\