POST api/Logging/Event

Log an event

Request Information

URI Parameters

NameDescriptionTypeAdditional information
v

The requested API version

string

Required

Default value is 1

Body Parameters

The data associated with the event

FilmFlex.Platform.Common.API.Contracts.V1.LogEventDTO
NameDescriptionTypeAdditional information
EventName

The name of the event

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:
{
  "EventName": "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 event

boolean

Response Formats

application/json, text/json

Sample:
true