GET api/ErrorMessages/{id}

Gets ErrorMessages for the specified user.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of ErrorMessage
NameDescriptionTypeAdditional information
ID

integer

None.

UserID

string

None.

Time

date

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "UserID": "sample string 2",
    "Time": "2020-07-11T06:18:50.3093815+02:00",
    "Message": "sample string 4"
  },
  {
    "ID": 1,
    "UserID": "sample string 2",
    "Time": "2020-07-11T06:18:50.3093815+02:00",
    "Message": "sample string 4"
  }
]

text/html

Sample:
[{"ID":1,"UserID":"sample string 2","Time":"2020-07-11T06:18:50.3093815+02:00","Message":"sample string 4"},{"ID":1,"UserID":"sample string 2","Time":"2020-07-11T06:18:50.3093815+02:00","Message":"sample string 4"}]

application/xml, text/xml

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