Create a PBS

post

/api/restapi/pbs

Send a request to this endpoint to create a PBS. An application object will be created using the JSON data provided in the request body.

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : ApiEntityPBSInput
Type: object
Title: ApiEntityPBSInput
This entity represents a PBS object, a unique PBS object can be identified by the following combinations of the fields.
  • pbsId
  • pbsCode,projectId
  • pbsCode,projectCode,workspaceCode
Show Source
Nested Schema : pbsCodeHierarchy
Type: array
The list of PBS codes in hierarchical way.
Show Source
Examples

Back to Top

Response

Supported Media Types

201 Response

The object was successfully created.
Body ()
Root Schema : ApiEntityPBS
Type: object
Title: ApiEntityPBS
This entity represents a PBS object, a unique PBS object can be identified by the following combinations of the fields.
  • pbsId
  • pbsCode,projectId
  • pbsCode,projectCode,workspaceCode
Show Source
Nested Schema : pbsCodeHierarchy
Type: array
The list of PBS codes in hierarchical way.
Show Source

400 Response

Invalid input for the PBS service. Verify the request contains valid data, then resubmit the request.
Back to Top