Actions20
- Get All Projects
- Get Project Schema
- Get Example Projects
- Get Project by ID
- Get Project by Name
- Check Project Exists
- Check SubProject Exists
- Check Project Name Exists
- Create Project
- Update Project
- Rename Project
- Copy Project
- Delete Project
- Get Project Versions
- Get Project Version Tree
- Restore Project Version
- Submit Work Package List
- Submit Sub Work Package List
- Submit Single Work Package Sub List
- Get Numbered Work Packages
Check SubProject Exists
AI-generatedSummary
Check if a specific subproject exists within a designated project by its ID.
Inputs
- projectId (required) — The ID of the project to which the subproject belongs.
- subProjectId (required) — The ID of the subproject to check for existence.
- requestOptions — Optional settings for the request, including batching configurations and SSL options.
Output shape
no body — success/failure only
Returns a success status if the subproject exists; otherwise, indicates it does not.
Examples
Example 1: Check existence of a known subproject
Use the operation with projectId '123' and subProjectId '456'. Expect a success response if the subproject exists.
Example 2: Check for a non-existent subproject
Use invalid subProjectId with valid projectId and expect a failure response indicating non-existence.