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": "2d9947c8-4101-4b36-895e-42b342ac68c4",
  "Message": "sample string 2",
  "LogType": "sample string 3",
  "Module": "sample string 4",
  "UserId": "c4cb32f3-4e64-4d3c-8edc-98519f5df23c",
  "ReferenceId": "a698ff64-5d86-44be-a396-42915ca7996f",
  "DateCreated": "2017-06-23T12:06:52.089584+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-06-23T12:06:52.089584+00:00</DateCreated>
  <Email>sample string 7</Email>
  <FacebookId>sample string 8</FacebookId>
  <FirstName>sample string 10</FirstName>
  <Id>2d9947c8-4101-4b36-895e-42b342ac68c4</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>a698ff64-5d86-44be-a396-42915ca7996f</ReferenceId>
  <UserId>c4cb32f3-4e64-4d3c-8edc-98519f5df23c</UserId>
  <UserName>sample string 6</UserName>
</Log>

application/x-www-form-urlencoded

Sample:

Sample not available.