Get Plans Of Scenario
The endpoint retrieves the plans associated with a specific scenario. It returns a list of plans based on the provided project and scenario information.
Endpoint Information
URL:
<custom-env-url>/Testinium.RestApi/api/projects/{projectNameOrId}/scenarios/{scenarioNameOrId}/plans
Method:
GET
Authentication:
Bearer Token
is requiredContent-Type:
application/json
Path Variables
projectNameOrId
Object
Yes
The name or ID of the project.
scenarioNameOrId
Object
Yes
The name or ID of the scenario.
Response Body
Upon a successful request, the API returns a list of PlanDTO
objects associated with the specified scenario.
id
integer
The unique ID of the plan.
name
string
The name of the plan.
description
string
A brief description of the plan.
projectId
integer
The ID of the associated project.
userId
integer
The ID of the user who created the plan.
Error Codes
Possible error codes and their explanations during the operation:
401
Unauthorized
Authorization failed. The user is not logged in.
403
Forbidden
The user does not have permission to access the scenario.
404
Scenario not found
The specified scenario was not found.
500
Internal Server Error
An unexpected error occurred on the server side.
Example Request
Last updated