POST api/announcement/enterprise/Add

Request Information

URI Parameters

None.

Body Parameters

AnnouncementItemDTO
NameDescriptionTypeAdditional information
Name

string

None.

Content

Collection of byte

None.

ContentType

string

None.

FileSize

integer

None.

Uploaded

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "Content": "QEA=",
  "ContentType": "sample string 2",
  "FileSize": 1,
  "Uploaded": "2024-11-21T04:45:30.4421878-05:00"
}

application/xml, text/xml

Sample:
<AnnouncementItemDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSPApi.DTO">
  <Content>QEA=</Content>
  <ContentType>sample string 2</ContentType>
  <FileSize>1</FileSize>
  <Name>sample string 1</Name>
  <Uploaded>2024-11-21T04:45:30.4421878-05:00</Uploaded>
</AnnouncementItemDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

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.