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": "05672d41-3d0c-47b5-921b-d02948edbaef",
  "Message": "sample string 2",
  "LogType": "sample string 3",
  "Module": "sample string 4",
  "UserId": "5a9cc18d-c87d-41d1-8fdd-e5e1c5374746",
  "ReferenceId": "fe68358d-a0ea-45d6-8e3a-ac9770c6922d",
  "DateCreated": "2019-02-23T09:10:26.9347486+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>2019-02-23T09:10:26.9347486+00:00</DateCreated>
  <Email>sample string 7</Email>
  <FacebookId>sample string 8</FacebookId>
  <FirstName>sample string 10</FirstName>
  <Id>05672d41-3d0c-47b5-921b-d02948edbaef</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>fe68358d-a0ea-45d6-8e3a-ac9770c6922d</ReferenceId>
  <UserId>5a9cc18d-c87d-41d1-8fdd-e5e1c5374746</UserId>
  <UserName>sample string 6</UserName>
</Log>

application/x-www-form-urlencoded

Sample:

Sample not available.