Update a PBS
put
/api/restapi/pbs
Send a request to this endpoint to update a PBS. An application object with an ID value that matches the ID value provided in the JSON object in the request body will be updated to reflect the JSON contents.
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Root Schema : ApiEntityPBSInput
Type:
objectTitle:
ApiEntityPBSInputThis entity represents a PBS object, a unique PBS object can be identified by the following combinations of the fields.
Show Source
- pbsId
- pbsCode,projectId
- pbsCode,projectCode,workspaceCode
-
description: string
Minimum Length:
0Maximum Length:4000Additional details for the PBS node. -
parentId: integer
(int64)
The name of the PBS parent of the scope item.
-
pbsCode(required): string
Minimum Length:
1Maximum Length:60A unique identifier for the PBS node. -
pbsCodeHierarchy: array
pbsCodeHierarchy
The list of PBS codes in hierarchical way.
-
pbsId: integer
(int64)
The system-generated identifier of the PBS.
-
pbsName(required): string
Minimum Length:
1Maximum Length:255The name of the PBS node. -
projectCode: string
Minimum Length:
1Maximum Length:60The unique identifier for a project set by the user who created the project. -
projectId(required): integer
(int64)
The unique identifier for the project.The project object can also be identified by its unique criteria.
-
sequenceNumber: integer
(int32)
The sequence number of a PBS.
-
workspaceCode: string
Minimum Length:
0Maximum Length:60The user-specified identifier of a workspace.
Examples
Back to Top
Response
204 Response
Successful operation with no content.
400 Response
Invalid input for the PBS service. Verify the request contains valid data, then resubmit the request.