Batch Update Project Dependencies
put
/api/restapi/projectDependency/batch
Send a request to this endpoint to update one or more project dependencies. For each JSON object provided in the request body, an application object with a matching ID value will be updated to reflect the JSON contents.
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
200 Response
A collection of object IDs mapped to a canonical link of the object. For example - {"links":{"1":"https://[host]:[port]/api/restapi/[object]/1","2":"https://[host]:[port]/api/restapi/[object]/2"}}
400 Response
Invalid input.