POST api/Log

Documentation for 'Post'.

Request Information

Parameters

NameDescriptionAdditional information
data
Documentation for 'data'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Id": "3f3df01d-5b44-42eb-bfff-85148049ca27",
  "Message": "sample string 2",
  "LogType": "sample string 3",
  "Module": "sample string 4",
  "UserId": "76fb435d-cfce-45b1-813c-1499b133b185",
  "ReferenceId": "e287ab1d-45e7-4541-8bc8-e7098e1aa6c2",
  "DateCreated": "2017-11-19T19:26:00.4207464+00:00",
  "Longitude": 1.0,
  "Latitude": 1.0,
  "UserName": "sample string 6",
  "Email": "sample string 7",
  "FacebookId": "sample string 8",
  "CompanyName": "sample string 9",
  "FirstName": "sample string 10",
  "LastName": "sample string 11"
}

application/xml, text/xml

Sample:
<Log xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OBDiagnostics.Business">
  <CompanyName>sample string 9</CompanyName>
  <DateCreated>2017-11-19T19:26:00.4207464+00:00</DateCreated>
  <Email>sample string 7</Email>
  <FacebookId>sample string 8</FacebookId>
  <FirstName>sample string 10</FirstName>
  <Id>3f3df01d-5b44-42eb-bfff-85148049ca27</Id>
  <LastName>sample string 11</LastName>
  <Latitude>1</Latitude>
  <LogType>sample string 3</LogType>
  <Longitude>1</Longitude>
  <Message>sample string 2</Message>
  <Module>sample string 4</Module>
  <ReferenceId>e287ab1d-45e7-4541-8bc8-e7098e1aa6c2</ReferenceId>
  <UserId>76fb435d-cfce-45b1-813c-1499b133b185</UserId>
  <UserName>sample string 6</UserName>
</Log>

application/x-www-form-urlencoded

Sample:

Sample not available.