Create a new approval rule.
POST
/buyers/{buyerID}/approvalrules
201Description
If ID is provided and an object with that ID already exists, a 409 (conflict) error is returned.
Roles
At least one of the roles below is required to access this endpoint.
FullAccessApprovalRuleAdmin
Parameters
Name | Type | Description | Possible Values | |
---|---|---|---|---|
buyerID | Required | string | ID of the buyer. | --- |
Request Body
Property | Type | Format | Max Length | Possible Values | ||
---|---|---|---|---|---|---|
ID | string | --- | 100 characters | --- | ||
Name | string | --- | 100 characters | --- | ||
Description | string | --- | 2000 characters | --- | ||
ApprovingGroupID | Required | string | --- | --- | --- | |
RuleExpression | Required | string | --- | 400 characters | --- | |
xp | object | --- | --- | --- |
Response Body
Property | Type | Format | Max Length | Possible Values | ||
---|---|---|---|---|---|---|
ID | string | --- | 100 characters | --- | ||
Name | string | --- | 100 characters | --- | ||
Description | string | --- | 2000 characters | --- | ||
ApprovingGroupID | string | --- | --- | --- | ||
RuleExpression | string | --- | 400 characters | --- | ||
xp | object | --- | --- | --- |