POST api/Logging/Exception

Log an exception of critical error

Request Information

URI Parameters

NameDescriptionTypeAdditional information
v

The requested API version

string

Required

Default value is 1

Body Parameters

The data associated with the exception or error

FilmFlex.Platform.Common.API.Contracts.V1.LogExceptionDTO
NameDescriptionTypeAdditional information
Message

The exception or error message

string

None.

LoggingProperties

A list of properties to record

Collection of FilmFlex.Platform.Common.API.Contracts.V1.LoggingProperty

None.

LoggingMetrics

A list of metrics to record

Collection of FilmFlex.Platform.Common.API.Contracts.V1.LoggingMetric

None.

Request Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "LoggingProperties": [
    {
      "Name": "sample string 1",
      "Value": "sample string 2"
    },
    {
      "Name": "sample string 1",
      "Value": "sample string 2"
    }
  ],
  "LoggingMetrics": [
    {
      "Name": "sample string 1",
      "Value": 2.1
    },
    {
      "Name": "sample string 1",
      "Value": 2.1
    }
  ]
}

Response Information

Resource Description

Log an exception of critical error

boolean

Response Formats

application/json, text/json

Sample:
true