POST api/AnounceMent/Update

Request Information

URI Parameters

None.

Body Parameters

Anouncement
NameDescriptionTypeAdditional information
Id

string

None.

SessionId

integer

None.

Title

string

None.

Body

string

None.

Publisher

integer

None.

PublishDate

date

None.

TopMost

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "SessionId": 1,
  "Title": "sample string 2",
  "Body": "sample string 3",
  "Publisher": 1,
  "PublishDate": "2022-04-10T21:53:31.3264279+08:00",
  "TopMost": 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 'Anouncement'.

Response Information

Resource Description

ApiResultOfBoolean
NameDescriptionTypeAdditional information
Sucess

boolean

None.

Message

string

None.

Data

boolean

None.

DueTime

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "Sucess": true,
  "Message": "sample string 2",
  "Data": true,
  "DueTime": 4.1
}