Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Run the POST request to send feedback about the activity matching the specified primary key.
HTTP request
POST /api/v1/activities/<pk>/feedback
Request URL parameters
| Parameter | Description |
|---|---|
| pk | The ID of the activity |
Request BODY parameters
| Parameter | Description |
|---|---|
| feedback | The feedback for the activity |
Example
Request
Here's an example of the request.
curl -XPOST -H "Authorization:Token <your_token_key>" -H "Content-Type: application/json" "https://<tenant_id>.<tenant_region>.portal.cloudappsecurity.com/api/v1/activities/<pk>/feedback" -d '{
"feedbackValue": "0",
"feedbackText": "Irrelevant",
"allowContact": false,
"contactEmail": "some.contact.address"
}'
Response
Returns a list of activities in JSON format.
{
"total": 5 // approximate number of records
"hasNext": true // whether there is more data to show or not.
"data": [
// returned records
]
}
If you run into any problems, we're here to help. To get assistance or support for your product issue, please open a support ticket