지금 지원 담당자와 채팅
지원 담당자와 채팅

Identity Manager 9.0 LTS - REST API Reference Guide

Set global variables

To set a set of global variables, use the URL <baseURL>/api/variables.

Table 12: Set a set of global variable request
HTTP method URI Body
Put <baseURL>/api/variables {"variables": { "variablename": <value> }}
Table 13: Set global variable parameters
Parameter Description Parameter type Data type
variables Variable names (required). body string
Body schema:

{"variables": {

"variablename": <value>

}}

Example:

https://<Hostname>/AppServer/api/variables

Body:

{"variables": {"FullSync": True, "MyVariable": 42}}

Clear global variables

To clear a set of global variables, use the URL <baseURL>/api/variables/clear.

Table 14: Clear a set of global variable request
HTTP method URI Body
Put <baseURL>/api/variables/clear {"variables": [ "string" ]}
Table 15: Clear global variable parameters
Parameter Description Parameter type Data type
variables Variable names (required) body string
Body schema:

{

"variables": [

"string"

]

}

Example:

https://<Hostname>/AppServer/api/variables/clear

Body:

{"variables": ["FullSync", "MyVariable"]}

Running the Application Server in REST API only mode

The Application Server can be restricted to the pure REST API only. To do this, modify the Web.config file. All services necessary for login and status page are not affected by the switch-off.

Settings for the Application Server plugins in the Web.config file

<restapi>

<!-- Switch REST API part off -->

<!--<add key="off" value="true" />-->

</restapi>

<appserverapi>

<!-- Switch application server APIs off -->

<!--<add key="off" value="true" />-->

</appserverapi>

Disabling WHERE clauses for the REST API of the Application Server

You have the option to disable the WHERE clauses or even predefined WHERE clauses through the Web.config file.

Settings for WHERE clauses and predefined WHERE clauses in the Web.config file

<restapi>

...

<!-- Plain WHERE clauses as parameters are forbidden -->

<!--<add key="nowhereclause" value="true" />-->

<!-- Using predefined WHERE clauses as parameter is forbidden -->

<!--<add key="nolimitedsql" value="true" />-->

</restapi>

관련 문서

The document was helpful.

평가 결과 선택

I easily found the information I needed.

평가 결과 선택