PUT api/Logs/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Log
NameDescriptionTypeAdditional information
Id

integer

None.

DateTime

date

None.

Username

string

None.

Type

string

None.

Description

string

None.

TraceId

string

None.

Attachments

string

None.

Data

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "DateTime": "2025-08-29T02:52:31.8708426+00:00",
  "Username": "sample string 3",
  "Type": "sample string 4",
  "Description": "sample string 5",
  "TraceId": "sample string 6",
  "Attachments": "sample string 7",
  "Data": "sample string 8"
}

application/octet-stream

Sample:
{"Id":1,"DateTime":"2025-08-29T02:52:31.8708426+00:00","Username":"sample string 3","Type":"sample string 4","Description":"sample string 5","TraceId":"sample string 6","Attachments":"sample string 7","Data":"sample string 8"}

application/xml, text/xml

Sample:
<Log xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Id>1</Id>
  <DateTime>2025-08-29T02:52:31.8708426+00:00</DateTime>
  <Username>sample string 3</Username>
  <Type>sample string 4</Type>
  <Description>sample string 5</Description>
  <TraceId>sample string 6</TraceId>
  <Attachments>sample string 7</Attachments>
  <Data>sample string 8</Data>
</Log>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Log'.

Response Information

Resource Description

None.