PUT api/Message/UpdateMessage

Aktualizacja WiadomoĊ›ci Statusu i Archiwizacji

Request Information

URI Parameters

None.

Body Parameters

Status=1 nowe Status=2 przeczytane Przyjmuje tylko 2

MessageUpdate
NazwaOpisTypInformacje dodatkowe
MessageId

integer

None.

ThreadId

integer

None.

Status

integer

None.

Archived

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "MessageId": 1,
  "ThreadId": 1,
  "Status": 1,
  "Archived": true
}

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.