CreateTestcaseNote

This method can be used for the following functionality: Update a testcase on a project that you have Edit access to.

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

POST /api/ss/project/:projectId/testcase/:testcaseId/note HTTP/1.1
Host: demo.attackforge.com
X-SSAPI-KEY: APIKey
Content-Type: application/json
Connection: close

Query

projectId (string)

Id of the project.

Example:

POST /api/ss/project/5e7c29afa3362408cf502a11/testcase/:testcaseId/note HTTP/1.1

assetId (string)

Id of the testcase.

Example:

note (string)

Testcase note.

Example:

note_type (string)

Must be either PLAINTEXT or RICHTEXT. Defaults to PLAINTEXT if not specified.

Example:

Example

The following example is a cURL request to create a note on a testcase for a project.

Request

Include API Token instead of stars in 'X-SSAPI-KEY: ***************************************' parameter.

Response

Response contains a status.

Last updated