AttackForge Enterprise & AttackForge Core
Powered By GitBook
GetProjectRequestById
This method can be used for the following: Get details for a project request you have access to, by project request identifier (Id).

Parameters

The following URL, Headers and Parameters are required for requests to this API endpoint. Where a parameter is optional, it will be indicated. Otherwise treat all parameters as mandatory.

Headers

1
GET /api/ss/request/:id HTTP/1.1
2
Host: demo.attackforge.com
3
X-SSAPI-KEY: APIKey
4
Content-Type: application/json
5
Connection: close
Copied!

Query

id (string)
Identifier for the project request.
Example:
1
GET /api/ss/request/5e8017d2e1385f0c58e8f4f8 HTTP/1.1
Copied!

Example

The following example is a cURL request to get a project request by its identifier (Id).

Request

Include API Token instead of stars in 'X-SSAPI-KEY: ***************************************' parameter.
1
curl -X GET 'https://demo.attackforge.com/api/ss/request/5e8017d2e1385f0c58e8f4f8' -H 'Host: demo.attackforge.com' -H 'X-SSAPI-KEY: ***************************************' -H 'Content-Type: application/json' -H 'Connection: close'
Copied!

Response

Response contains a project request object.
1
{
2
"request":{
3
"id": "...",
4
"created": "...",
5
"last_updated": "...",
6
"name": "...",
7
"code": "...",
8
"status": "...",
9
"groups": ["...", "..."],
10
"scope": ["...", "..."],
11
"test_types_to_be_performed": ["...", "..."],
12
"project_start_date": "...",
13
"project_end_date": "...",
14
"project_testing_hours": "...",
15
"onsite_testing_required": "...",
16
"created_by": "...",
17
"supporting_documents": ["...", "..."],
18
"custom_fields": [{"key": "...", "value": "...", "type": "Tag/Field"}]
19
}
20
}
Copied!

Last modified 12d ago