Update BP Record Permission

PUT /ws/rest/service/v2/bp/record/wf/permission

Purpose:

Add or remove users from a single workflow business process record.

Input:

Request parameters are specified as a JSON Map {} - structure : { "options":{} }

In options JSON map : { "project_number": "<value>", "bpname": "<value>", "record_no": "<value>", "add_users" : <List of user names>, "remove_users" : <List of user names> }

Project number is an optional input. Add users and remove users are also optional, but one or the other is required. If using add users or remove users, user name is a mandatory input. BP name and record number are mandatory.

Update BP Record Permission - Sample Input JSON

{

"options": {

"project_number" : "RE00000",

"bpname" : "Action Items",

"record_no" : "AI-000734",

"add_user" : ["testuser1", "coadmin"],

"remove_user" : ["testuser2", "testuser3"]

}

}

Output:

JSON object containing 'status', 'data', 'message', 'rest_audit_id'

Response Format :

{

"data": [

{

"record_id" : "<Internal record ID for the specified BP record>"

}

],

"message": [ "<message string>"],

"status":<integer value>,

"rest_audit_id" : <ID from the rest audit table matching this request>

}

Message will be present if status is not 200; otherwise, it will be "success".

Update BP Record Permission - Sample Response

{

"data":

[

{

"record_id" : "798"

}

],

"message":

[

"success"

],

"status":200,

"rest_audit_id" : 720

}

Update BP Record Permission - Sample Error Response

{

"data": [],

"message": [

"AI-000734 specified is in Initiation step"

],

"status": 17007,

"rest_audit_id": 721

}

Notes for Removing a User:

Notes for Adding a User:

Related Topics

Business Processes

Create BP Record

Update BP Record

Update BP Record with Attachment

Create BP Record with Attachment

Response Error Codes

Payment Application with Auto-populate from SOV and Commits

Get BP Record Permission

Add Assignees to Workflow BP Records



Last Published Tuesday, July 1, 2025