POST api/Exception/AddExcetion

Request Information

URI Parameters

None.

Body Parameters

UserException
NameDescriptionTypeAdditional information
Id

string

None.

IsServerException

boolean

None.

UserId

integer

None.

UserName

string

None.

DateTime

date

None.

Message

string

None.

Stacktrace

string

None.

Exception

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "IsServerException": true,
  "UserId": 1,
  "UserName": "sample string 2",
  "DateTime": "2022-04-10T05:28:07.2985057+08:00",
  "Message": "sample string 3",
  "Stacktrace": "sample string 4",
  "Exception": "sample string 5"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UserException'.

Response Information

Resource Description

ApiResultOfBoolean
NameDescriptionTypeAdditional information
Sucess

boolean

None.

Message

string

None.

Data

boolean

None.

DueTime

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "Sucess": true,
  "Message": "sample string 2",
  "Data": true,
  "DueTime": 4.1
}