POST api/Logger
Logs arbitrary text
Request Information
URI Parameters
None.
Body Parameters
LoggerRequestName | Description | Type | Additional information |
---|---|---|---|
Datalog |
Text to log |
string |
Required |
Request Formats
application/json, text/json
Sample:
{ "Datalog": "sample string 1" }
application/xml, text/xml
Sample:
<LoggerRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Entities.Logging"> <Datalog>sample string 1</Datalog> </LoggerRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
LoggerResult
ApiSuccessOfLoggerResultName | Description | Type | Additional information |
---|---|---|---|
Success | boolean | ||
Data | LoggerResult |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Data": { "Logged": true } }
application/xml, text/xml
Sample:
<ApiSuccessOfLoggerResult5Wrqv_SJz xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Api"> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Entities.Logging"> <d2p1:Logged>true</d2p1:Logged> </Data> </ApiSuccessOfLoggerResult5Wrqv_SJz>