Batch Create Project Dependencies
post
/api/restapi/projectDependency/batch
Send a request to this endpoint to create one or more project dependencies. 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<ApiEntityProjectDependencyInput>
Type:
array
Title:
Show Source
List<ApiEntityProjectDependencyInput>
-
Array of:
object ApiEntityProjectDependencyInput
Title:
ApiEntityProjectDependencyInput
This entity represents a ProjectDependency object, a unique ProjectDependency object can be identified by the following combinations of the fields.- projectDependencyId
- projectId,dependentProjectId
- projectId,dependentProjectCode,dependentProjectWorkspaceCode
- projectCode,projectWorkspaceCode,dependentProjectId
- projectCode,projectWorkspaceCode,dependentProjectCode,dependentProjectWorkspaceCode
Nested Schema : ApiEntityProjectDependencyInput
Type:
object
Title:
ApiEntityProjectDependencyInput
This entity represents a ProjectDependency object, a unique ProjectDependency object can be identified by the following combinations of the fields.
Show Source
- projectDependencyId
- projectId,dependentProjectId
- projectId,dependentProjectCode,dependentProjectWorkspaceCode
- projectCode,projectWorkspaceCode,dependentProjectId
- projectCode,projectWorkspaceCode,dependentProjectCode,dependentProjectWorkspaceCode
-
dependencyDescription: string
Minimum Length:
0
Maximum Length:4000
The detailed summary of the project dependency.
The description provides more information than short names or titles.
It can give background information or establish a purpose for the item.
Dependency Descriptions can help elaborate the reasons for the project dependency. -
dependentProjectCode: string
Minimum Length:
1
Maximum Length:60
The project code of a project that has other projects that it relies on for support. -
dependentProjectId(required): integer
(int64)
The unique identifier of a project that has other projects that it relies on for support.
-
dependentProjectWorkspaceCode: string
Minimum Length:
0
Maximum Length:60
The workspace code of a project that has other projects that it relies on for support.#project invalid inputs -
link: string(url)Read Only:true
Deprecated. As of 24.5.The self-link to the object. This field is populated only in the responses generated by the batch create APIs. -
projectCode: string
Minimum Length:
1
Maximum Length:60
The project code of a project that has other projects depending on it. -
projectDependencyId: integer
(int64)
The unique identifier of a project dependency.
-
projectId(required): integer
(int64)
The unique identifier of a project that has other projects depending on it.
-
projectWorkspaceCode: string
Minimum Length:
0
Maximum Length:60
The workspace code of a project that has other projects depending on it. -
updateDate: string(date-time)Read Only:true
Deprecated. As of 24.5.Date when the record was last updated.
Examples
Back to Top
Response
Supported Media Types
- application/json
201 Response
The object was successfully created.
Root Schema : List<ApiEntityProjectDependency>
Type:
array
Title:
Show Source
List<ApiEntityProjectDependency>
-
Array of:
object ApiEntityProjectDependency
Title:
ApiEntityProjectDependency
This entity represents a ProjectDependency object, a unique ProjectDependency object can be identified by the following combinations of the fields.- projectDependencyId
- projectId,dependentProjectId
- projectId,dependentProjectCode,dependentProjectWorkspaceCode
- projectCode,projectWorkspaceCode,dependentProjectId
- projectCode,projectWorkspaceCode,dependentProjectCode,dependentProjectWorkspaceCode
Nested Schema : ApiEntityProjectDependency
Type:
object
Title:
ApiEntityProjectDependency
This entity represents a ProjectDependency object, a unique ProjectDependency object can be identified by the following combinations of the fields.
Show Source
- projectDependencyId
- projectId,dependentProjectId
- projectId,dependentProjectCode,dependentProjectWorkspaceCode
- projectCode,projectWorkspaceCode,dependentProjectId
- projectCode,projectWorkspaceCode,dependentProjectCode,dependentProjectWorkspaceCode
-
dependencyDescription: string
Minimum Length:
0
Maximum Length:4000
The detailed summary of the project dependency.
The description provides more information than short names or titles.
It can give background information or establish a purpose for the item.
Dependency Descriptions can help elaborate the reasons for the project dependency. -
dependentProjectCode: string
Minimum Length:
1
Maximum Length:60
The project code of a project that has other projects that it relies on for support. -
dependentProjectId: integer
(int64)
The unique identifier of a project that has other projects that it relies on for support.
-
dependentProjectWorkspaceCode: string
Minimum Length:
0
Maximum Length:60
The workspace code of a project that has other projects that it relies on for support.#project invalid inputs -
link: string
(url)
The self-link to the object. This field is populated only in the responses generated by the batch create APIs.
-
projectCode: string
Minimum Length:
1
Maximum Length:60
The project code of a project that has other projects depending on it. -
projectDependencyId: integer
(int64)
The unique identifier of a project dependency.
-
projectId: integer
(int64)
The unique identifier of a project that has other projects depending on it.
-
projectWorkspaceCode: string
Minimum Length:
0
Maximum Length:60
The workspace code of a project that has other projects depending on it. -
updateDate: string
(date-time)
Date when the record was last updated.
400 Response
Invalid input.