POST api/Deployment/Log

Request Information

URI Parameters

None.

Body Parameters

Log
NameDescriptionTypeAdditional information
Id

integer

None.

DeploymentId

integer

None.

Timestamp

date

None.

Message

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "DeploymentId": 2,
  "Timestamp": "2025-12-25T15:54:57.5760602+00:00",
  "Message": "sample string 4"
}

text/html

Sample:
{"Id":1,"DeploymentId":2,"Timestamp":"2025-12-25T15:54:57.5760602+00:00","Message":"sample string 4"}

application/xml, text/xml

Sample:
<Log xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KnowledgeBase.Deployments">
  <DeploymentId>2</DeploymentId>
  <Id>1</Id>
  <Message>sample string 4</Message>
  <Timestamp>2025-12-25T15:54:57.5760602+00:00</Timestamp>
</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.