POST api/errorlogs/addlog
Request Information
URI Parameters
None.
Body Parameters
LogDetailsName | Description | Type | Additional information |
---|---|---|---|
Message | string |
Required |
|
EIN | string |
None. |
|
UserId | string |
None. |
|
User | string |
None. |
|
Level | string |
Required |
|
Exception | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "message": "sample string 1", "ein": "sample string 2", "userId": "sample string 3", "user": "sample string 4", "level": "sample string 5", "exception": "sample string 6" }
application/xml, text/xml
Sample:
<LogDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DOL.WHD.Section14c.Log.Models"> <EIN>sample string 2</EIN> <Exception>sample string 6</Exception> <Level>sample string 5</Level> <Message>sample string 1</Message> <User>sample string 4</User> <UserId>sample string 3</UserId> </LogDetails>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.