Create a Project Dependency
post
/api/restapi/projectDependency
Send a request to this endpoint to create a project dependency. 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 : 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 : 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.