POST api/applog/update

Request Information

URI Parameters

None.

Body Parameters

AppLog
NameDescriptionTypeAdditional information
Id

integer

Required

JobId

integer

Required

Timestamp

date

Required

Message

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "JobId": 2,
  "Timestamp": "2025-10-25T20:51:59.1078098+02:00",
  "Message": "sample string 4"
}

application/xml, text/xml

Sample:
<AppLog xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">
  <Id>1</Id>
  <JobId>2</JobId>
  <Message>sample string 4</Message>
  <Timestamp>2025-10-25T20:51:59.1078098+02:00</Timestamp>
</AppLog>

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 'AppLog'.

Response Information

Resource Description

AppLogDisplay
NameDescriptionTypeAdditional information
JobIdDisplay

string

None.

Id

integer

Required

JobId

integer

Required

Timestamp

date

Required

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "JobIdDisplay": "sample string 1",
  "Id": 2,
  "JobId": 3,
  "Timestamp": "2025-10-25T20:51:59.1108093+02:00",
  "Message": "sample string 5"
}

application/xml, text/xml

Sample:
<AppLogDisplay xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.App.Models">
  <Id>2</Id>
  <JobId>3</JobId>
  <Message>sample string 5</Message>
  <Timestamp>2025-10-25T20:51:59.1108093+02:00</Timestamp>
  <JobIdDisplay>sample string 1</JobIdDisplay>
</AppLogDisplay>