POST update/createUpdate

Request Information

URI Parameters

None.

Body Parameters

UpdateInfo
NameDescriptionTypeAdditional information
UpdateId

integer

None.

UpdateDesc

string

None.

StartDTTM

date

None.

EndDTTM

date

None.

Done

boolean

None.

UserId

integer

None.

Countdown

integer

None.

Downtime

integer

None.

UpdateAction

string

None.

TenantIds

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "UpdateId": 1,
  "UpdateDesc": "sample string 2",
  "StartDTTM": "2026-04-17T11:31:56.9929161+00:00",
  "EndDTTM": "2026-04-17T11:31:56.9929161+00:00",
  "Done": true,
  "UserId": 6,
  "Countdown": 7,
  "Downtime": 8,
  "UpdateAction": "sample string 9",
  "TenantIds": [
    1,
    2
  ]
}

text/html

Sample:
{"UpdateId":1,"UpdateDesc":"sample string 2","StartDTTM":"2026-04-17T11:31:56.9929161+00:00","EndDTTM":"2026-04-17T11:31:56.9929161+00:00","Done":true,"UserId":6,"Countdown":7,"Downtime":8,"UpdateAction":"sample string 9","TenantIds":[1,2]}

application/xml, text/xml

Sample:
<UpdateInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Update">
  <Countdown>7</Countdown>
  <Done>true</Done>
  <Downtime>8</Downtime>
  <EndDTTM>2026-04-17T11:31:56.9929161+00:00</EndDTTM>
  <StartDTTM>2026-04-17T11:31:56.9929161+00:00</StartDTTM>
  <TenantIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </TenantIds>
  <UpdateAction>sample string 9</UpdateAction>
  <UpdateDesc>sample string 2</UpdateDesc>
  <UpdateId>1</UpdateId>
  <UserId>6</UserId>
</UpdateInfo>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.