POST api/Administration/Announcement/{announcementId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
announcementId

string

None.

Body Parameters

AnnouncementCreateUpdateViewModel
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Title

string

None.

Message

string

None.

IsAppear

boolean

None.

IsAppearInLogin

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "849fbf36-7e42-4cb5-bdb3-da06f43f1052",
  "Title": "sample string 2",
  "Message": "sample string 3",
  "IsAppear": true,
  "IsAppearInLogin": true
}

application/xml, text/xml

Sample:
<AnnouncementCreateUpdateViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iP.Products.MySDS.WebAPI.Areas.Administration.ViewModels">
  <Id>849fbf36-7e42-4cb5-bdb3-da06f43f1052</Id>
  <IsAppear>true</IsAppear>
  <IsAppearInLogin>true</IsAppearInLogin>
  <Message>sample string 3</Message>
  <Title>sample string 2</Title>
</AnnouncementCreateUpdateViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Id"

849fbf36-7e42-4cb5-bdb3-da06f43f1052
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Title"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Message"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="IsAppear"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="IsAppearInLogin"

True
--MultipartDataMediaFormatterBoundary1q2w3e--

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, multipart/form-data

Sample:

Sample not available.