Trace - Records trace information

Records trace information into Azure Insights using the provided details.

post
Authorizations
Query parameters
versionstringOptional

The requested API version

Default: 1.0
Body

Class for storing trace log.

traceEventstring | nullableOptional

A public property of type string that has both a getter and a setter method, which allows for getting and setting the value of the TraceEvent property.

traceMessagestring | nullableOptional

A public property of type string that has both a getter and a setter method, which allows for getting and setting the value of the TraceMessage property.

traceIdstring | nullableOptional

A public property of type string that has both a getter and a setter method, which allows for getting and setting the value of the TraceId property.

parentIdstring | nullableOptional

A public property of type string that has both a getter and a setter method, which allows for getting and setting the value of the ParentId property.

authUserIdstring | nullableOptional

A public property of type string that has both a getter and a setter method, which allows for getting and setting the value of the AuthUserId property.

Responses
201
Success: Trace log created successfully in Azure Insights.
post
POST /trace HTTP/1.1
Host: 
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 147

{
  "traceEvent": "text",
  "traceMessage": "text",
  "traceId": "text",
  "parentId": "text",
  "requestBody": {
    "ANY_ADDITIONAL_PROPERTY": "text"
  },
  "authUserId": "text"
}
{
  "message": "Success Message",
  "statusCode": 200
}

Last updated