Problems API - POST a comment

Posts a comment on the specified problem.

The request consumes an application/json payload.

Early Adopter

This request is an Early Adopter release and may be changed in non-compatible way.

POST
  • Managed https://{your-domain}/e/{your-environment-id}/api/v2/problems/{problemId}/comments
  • SaaS https://{your-environment-id}.live.dynatrace.com/api/v2/problems/{problemId}/comments

Authentication

To execute this request, you need the Access problem and event feed, metrics, and topology (DataExport) permission assigned to your API token. To learn how to obtain and use it, see Tokens and authentication.

Parameters

Parameter Type Description In Required
problemId string

The ID of the problem you're commenting on.

path required
body CommentRequestDtoImpl

The comment that should be created.

body optional

The CommentRequestDtoImpl object

Element Type Description Required
message string

The content of the comment.

optional
context string

The context of the comment.

optional

Response format

A successful request doesn't return any content.