Create a new approval rule

POST
/buyers/{buyerID}/approvalrules

Description

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

FullAccess
ApprovalRuleAdmin

Parameters

NameTypeDescriptionPossible Values
buyerIDstringID of the buyer.---

Request Body

PropertyTypeFormatMax LengthPossible Values
IDstring---------
Namestring---100 characters---
Descriptionstring---2000 characters---
ApprovingGroupID
Required
string---------
RuleExpression
Required
string---400 characters---

xpobject---------

Response Body

PropertyTypeFormatMax LengthPossible Values
IDstring---------
Namestring---100 characters---
Descriptionstring---2000 characters---
ApprovingGroupIDstring---------
RuleExpressionstring---400 characters---

xpobject---------