POST api/ShopUser/LogError

Request Information

URI Parameters

None.

Body Parameters

ErrorLogDto
NameDescriptionTypeAdditional information
Log

string

None.

CreatedOn

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Log": "sample string 1",
  "CreatedOn": "2023-01-27T17:47:34.2352715+05:30"
}

application/xml, text/xml

Sample:
<ErrorLogDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BreakProtection.Common.Dto">
  <CreatedOn>2023-01-27T17:47:34.2352715+05:30</CreatedOn>
  <Log>sample string 1</Log>
</ErrorLogDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
Status

integer

None.

Message

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "Message": "sample string 2",
  "Data": {}
}

application/xml, text/xml

Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BreakProtection.Common.Dto">
  <Data />
  <Message>sample string 2</Message>
  <Status>1</Status>
</Response>