Share

Bulk-update the revision note and release type for a change request

POST /api/cr/v1/crs/{id}/items-bulk updates the revision note and release type for items in a change request (CR) that is in Draft state.

Request schema

Method URL
POST /api/cr/v1/crs/{id}/items-bulk

Request header

*indicates mandatory fields

Field Value Type Description of values
*Authorization String Enter: Bearer access token.
*id Integer CR’s unique ID number. This is not the same as the number in the CR's name. To get the CR ID:
  1. In the Upchain web app, open the Business Processes > Change Requests section of the project.
  2. Single-click the desired CR to open its detail pane.
The CR's ID number is the value shown beside preview<workflowname>= in the URL. Alternatively, you may obtain the ID when the CR is created using POST /api/cr/v1/crs.
*Upc-Selected-Company Integer Company’s ID. Use the value returned in the id field received in response to the following request: GET /api/auth/v1/companies.
X-User-Id Text Enter the email address of the user being impersonated. This value is required if you are using a two-legged token. If you are using a three-legged token, then this field is not required.

Request body

Field Value Type Description of values
revisionNote String Describes changes to items in the CR.
releaseType String Indicate whether the items underwent Major and Minor changes.

Sample request

{
"revisionNote": "Minor changes to valve dimensions.",
"releaseType": "Minor"
}

Response schema

Response body

HTTP 200 Response

Field Value Type Description of values
updatedItems Integer Number of items for which the updated revisionNote and releaseType were applied.

Sample response

{
"updatedItems": 9
} 

Was this information helpful?