POST api/log/write
Request Information
URI Parameters
None.
Body Parameters
logName | Description | Type | Additional information |
---|---|---|---|
id | integer |
None. |
|
content | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": 1, "content": "sample string 2" }
application/xml, text/xml
Sample:
<log xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/newpostModel"> <content>sample string 2</content> <id>1</id> </log>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Dictionary of string [key] and Object [value]Response Formats
application/json, text/json
Sample:
{ "sample string 1": {}, "sample string 3": {} }
application/xml, text/xml
Sample:
<ArrayOfKeyValueOfstringanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <KeyValueOfstringanyType> <Key>sample string 1</Key> <Value /> </KeyValueOfstringanyType> <KeyValueOfstringanyType> <Key>sample string 3</Key> <Value /> </KeyValueOfstringanyType> </ArrayOfKeyValueOfstringanyType>