PUT api/Events

Request Information

URI Parameters

None.

Body Parameters

EventItemDTO
NameDescriptionTypeAdditional information
ContentEventMetaId

integer

None.

ContentEventMetaVersionId

string

None.

EndDateTimeUTC

string

None.

StartDateTimeUTC

string

None.

ContentItemId

integer

None.

Body

string

None.

DateCreatedUTC

string

None.

ContentDescription

string

None.

IsPublished

boolean

None.

LastModifiedUTC

string

None.

RemoteLink

string

None.

PublicationDateUTC

string

None.

Title

string

None.

NestRemoteContent

boolean

None.

VersionId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ContentEventMetaId": 1,
  "ContentEventMetaVersionId": "sample string 1",
  "EndDateTimeUTC": "sample string 2",
  "StartDateTimeUTC": "sample string 3",
  "ContentItemId": 1,
  "Body": "sample string 4",
  "DateCreatedUTC": "sample string 5",
  "ContentDescription": "sample string 6",
  "IsPublished": true,
  "LastModifiedUTC": "sample string 8",
  "RemoteLink": "sample string 9",
  "PublicationDateUTC": "sample string 10",
  "Title": "sample string 11",
  "NestRemoteContent": true,
  "VersionId": "sample string 13"
}

application/xml, text/xml

Sample:
<EventItemDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bulletin.Model.DTO">
  <Body>sample string 4</Body>
  <ContentDescription>sample string 6</ContentDescription>
  <ContentItemId>1</ContentItemId>
  <DateCreatedUTC>sample string 5</DateCreatedUTC>
  <IsPublished>true</IsPublished>
  <LastModifiedUTC>sample string 8</LastModifiedUTC>
  <NestRemoteContent>true</NestRemoteContent>
  <PublicationDateUTC>sample string 10</PublicationDateUTC>
  <RemoteLink>sample string 9</RemoteLink>
  <Title>sample string 11</Title>
  <VersionId>sample string 13</VersionId>
  <ContentEventMetaId>1</ContentEventMetaId>
  <ContentEventMetaVersionId>sample string 1</ContentEventMetaVersionId>
  <EndDateTimeUTC>sample string 2</EndDateTimeUTC>
  <StartDateTimeUTC>sample string 3</StartDateTimeUTC>
</EventItemDTO>

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.