POST api/ErrorMessages

Creates ErrorMessage.

Request Information

URI Parameters

None.

Body Parameters

ErrorMessage
NameDescriptionTypeAdditional information
ID

integer

None.

UserID

string

None.

Time

date

None.

Message

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "UserID": "sample string 2",
  "Time": "2020-07-11T06:26:14.3305415+02:00",
  "Message": "sample string 4"
}

text/html

Sample:
{"ID":1,"UserID":"sample string 2","Time":"2020-07-11T06:26:14.3305415+02:00","Message":"sample string 4"}

application/xml, text/xml

Sample:
<ErrorMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZPPModel.Model">
  <ID>1</ID>
  <Message>sample string 4</Message>
  <Time>2020-07-11T06:26:14.3305415+02:00</Time>
  <UserID>sample string 2</UserID>
</ErrorMessage>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json, text/html

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>