Rules

Update a rule

Update an existing rule

put/participant-pools/{participantPoolId}/rules/{id}

Request

  • Base URL
    https://rest.api.pactima.com/v1
  • URL
    https://rest.api.pactima.com/v1/participant-pools/{participantPoolId}/rules/{id}
  • Auth
    HTTP bearer

Request body

idstring

Unique identifier for the rule

namestring required

Human-readable rule name (e.g., "department", "experience_years")

descriptionstring

Detailed description of what this rule validates

dataType'STRING' | 'NUMBER' | 'BOOLEAN' | 'DATE' required

Data type for participant pool rule values

selectionMode'SINGLE' | 'MULTIPLE' | 'RANGE' | 'FREEFORM' required

Selection mode for participant pool rule values

createdAtstring date-time

Timestamp when the rule was created

updatedAtstring date-time

Timestamp when the rule was last updated

isEditableboolean

Whether this rule is editable

Response

Rule updated successfully

idstring

Unique identifier for the rule

namestring required

Human-readable rule name (e.g., "department", "experience_years")

descriptionstring

Detailed description of what this rule validates

dataType'STRING' | 'NUMBER' | 'BOOLEAN' | 'DATE' required

Data type for participant pool rule values

selectionMode'SINGLE' | 'MULTIPLE' | 'RANGE' | 'FREEFORM' required

Selection mode for participant pool rule values

createdAtstring date-time

Timestamp when the rule was created

updatedAtstring date-time

Timestamp when the rule was last updated

isEditableboolean

Whether this rule is editable

Changes

No recorded changes to this operation across all 1 revision of this API.