Retrieve approvals for all custom fields (GET)
The GET command retrieves a list of all revoked and approved custom field IDs.
Command overview
Method — GET
Resource — approvals
Parameters
Parameter | Description | Example |
---|---|---|
usr 1 | A valid system user name (case sensitive) | usr=myUsername |
pwd 1 | The password that corresponds to the usr (user name) parameter (case sensitive) | pwd=myPassword |
tid | The transaction identifier. You must specify the tid for all stateful operations. Do not include it in stateless operations. | tid=5456 |
1 This parameter is required.
Sample request
https://10.0.0.1/rest/configurationapi/customfieldapi/1.0/approvals?usr=jdoe&pwd=pa55w0rd!&tid=4738
Sample response
<?xml version="1.0" encoding="UTF-8"?>
<response>
<status result="success"></status>
<result>
<approvals>
<approval id="43" approved="true"/>
<approval id="48" approved="true"/>
<approval id="58" approved="false"/>
<approval id="64" approved="true"/>
</approvals>
</result>
</response>
<response>
<status result="success"></status>
<result>
<approvals>
<approval id="43" approved="true"/>
<approval id="48" approved="true"/>
<approval id="58" approved="false"/>
<approval id="64" approved="true"/>
</approvals>
</result>
</response>
Related topic
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*