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": "340b82ff-8383-4e5b-9853-b0e893f10dc0",
  "Message": "sample string 2",
  "LogType": "sample string 3",
  "Module": "sample string 4",
  "UserId": "ce400ea4-fc03-494e-9849-1c74e6a1ad97",
  "ReferenceId": "3d53d595-a3fb-496d-b8fc-5863b9bf50fd",
  "DateCreated": "2017-04-25T14:28:20.4624239+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-04-25T14:28:20.4624239+00:00</DateCreated>
  <Email>sample string 7</Email>
  <FacebookId>sample string 8</FacebookId>
  <FirstName>sample string 10</FirstName>
  <Id>340b82ff-8383-4e5b-9853-b0e893f10dc0</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>3d53d595-a3fb-496d-b8fc-5863b9bf50fd</ReferenceId>
  <UserId>ce400ea4-fc03-494e-9849-1c74e6a1ad97</UserId>
  <UserName>sample string 6</UserName>
</Log>

application/x-www-form-urlencoded

Sample:

Sample not available.