Batch Create Baseline Categories
post
/api/restapi/baselineCategory/batch
Send a request to this endpoint to create one or more baseline categories. An application object will be created for each JSON object provided in the request body.
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Root Schema : List<ApiEntityBaselineCategoryInput>
Type:
array
Title:
Show Source
List<ApiEntityBaselineCategoryInput>
-
Array of:
object ApiEntityBaselineCategoryInput
Title:
ApiEntityBaselineCategoryInput
This entity represents a BaselineCategory object, a unique BaselineCategory object can be identified by the following combinations of the fields.- baselineCategoryId
- baselineCategoryName,workspaceId
- baselineCategoryName,workspaceCode
Nested Schema : ApiEntityBaselineCategoryInput
Type:
object
Title:
ApiEntityBaselineCategoryInput
This entity represents a BaselineCategory object, a unique BaselineCategory object can be identified by the following combinations of the fields.
Show Source
- baselineCategoryId
- baselineCategoryName,workspaceId
- baselineCategoryName,workspaceCode
-
baselineCategoryId: integer
(int64)
The system-generated unique identifier of a baseline category.
-
baselineCategoryName(required): string
Minimum Length:
1
Maximum Length:255
The name of the baseline category. -
pushDownType: string
Allowed Values:
[ "MANUAL", "AUTOMATIC" ]
How data is shared between parent and child workspaces.
Manual: Data can be pulled down by child workspaces. This is the default option.
Automatic: Data is automatically shared with all child workspaces. -
workspaceCode: string
Minimum Length:
0
Maximum Length:60
The user-specified identifier of a workspace. -
workspaceId(required): integer
(int64)
The unique identifier for the workspace.The workspace object can also be identified by its unique criteria.
Response
Supported Media Types
- application/json
201 Response
The object was successfully created.
Root Schema : List<ApiEntityBaselineCategory>
Type:
array
Title:
Show Source
List<ApiEntityBaselineCategory>
-
Array of:
object ApiEntityBaselineCategory
Title:
ApiEntityBaselineCategory
Nested Schema : ApiEntityBaselineCategory
Type:
object
Title:
Show Source
ApiEntityBaselineCategory
-
associationType: string
Allowed Values:
[ "OWNED", "INHERITED" ]
The type of association in the relationship between the baseline category and the workspace. -
baselineCategoryId: integer
(int64)
The system-generated unique identifier of a baseline category.
-
baselineCategoryName: string
Minimum Length:
1
Maximum Length:255
The name of the baseline category. -
link: string
(url)
The self-link to the object. This field is populated only in the responses generated by the batch create APIs.
-
pushDownType: string
Allowed Values:
[ "MANUAL", "AUTOMATIC" ]
How data is shared between parent and child workspaces.
Manual: Data can be pulled down by child workspaces. This is the default option.
Automatic: Data is automatically shared with all child workspaces. -
updateDate: string
(date-time)
Date when the record was last updated.
-
workspaceCode: string
Minimum Length:
0
Maximum Length:60
The user-specified identifier of a workspace. -
workspaceId: integer
(int64)
The unique identifier for the workspace.The workspace object can also be identified by its unique criteria.
400 Response
Invalid input for the Baseline Category service. Verify the request contains valid data, then resubmit the request.