POST api/Values

Request Information

URI Parameters

None.

Body Parameters

ServiceLog
NameDescriptionTypeAdditional information
Id

integer

None.

UserId

string

None.

DateAdded

date

None.

IpAddress

string

None.

MacAddress

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "UserId": "sample string 2",
  "DateAdded": "2021-04-22T21:21:45.9427971-05:00",
  "IpAddress": "sample string 3",
  "MacAddress": "sample string 4"
}

application/xml, text/xml

Sample:
<ServiceLog xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication2.Models">
  <DateAdded>2021-04-22T21:21:45.9427971-05:00</DateAdded>
  <Id>1</Id>
  <IpAddress>sample string 3</IpAddress>
  <MacAddress>sample string 4</MacAddress>
  <UserId>sample string 2</UserId>
</ServiceLog>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.