Approve a custom field (POST)


The POST command approves a custom field. 

The macro unmigrated-inline-wiki-markup from Confluence is no longer available.

Command overview

Method — POST
 Resource — approval
 Resource identifier — Integer that identifies the custom field (custom field ID)

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

approve 1

If true, the custom field is approved.

approve=true

 1 This parameter is required.

Sample request

https://10.0.0.1/rest/configurationapi/customfieldapi/1.0/approval/44?usr=jdoe&pwd=pa55w0rd!&tid=4738&approve=true

Sample response

<?xml version="1.0" encoding="UTF-8"?>
<response>
 <status result="success"></status>
</response>

Related topic

Custom-field-API-XML-reference

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*