ServiceExceptionData

Provides information about the exception.

Properties

Message

string

Message of the exception.

EventType

int

Type of the exception:

  • 1 = Critical
  • 2 = Error
  • 4 = Warning
  • 8 = Information

EventCode

int

Specific code to identify the exception (argument missing, not logged in, not all required questions of the questionnaire are answered, etc.).

HttpStatusCode

int

Same like HTTP status code. See Error handling

Description

string

More details of the exception.

ReferenceNumber

string

A unique reference number that represents an event in the Meddbase logs. This can be traced by Meddbase support.

JSON Example

{
    "Message": "Password isn't set.",
    "EventType": 2,
    "EventCode": 0,
    "HttpStatusCode": 400,
    "Description": null,
    "ReferenceNumber": null
}