POST api/Resources
Request Information
URI Parameters
None.
Body Parameters
ResourceItemEntryDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Body | string |
None. |
|
| ContentDescription | string |
None. |
|
| IsPublished | boolean |
None. |
|
| NestRemoteContent | boolean |
None. |
|
| PublicationDateUTC | string |
None. |
|
| RemoteLink | string |
None. |
|
| Title | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Body": "sample string 1",
"ContentDescription": "sample string 2",
"IsPublished": true,
"NestRemoteContent": true,
"PublicationDateUTC": "sample string 5",
"RemoteLink": "sample string 6",
"Title": "sample string 7"
}
application/xml, text/xml
Sample:
<ResourceItemEntryDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bulletin.Model.DTO"> <Body>sample string 1</Body> <ContentDescription>sample string 2</ContentDescription> <IsPublished>true</IsPublished> <NestRemoteContent>true</NestRemoteContent> <PublicationDateUTC>sample string 5</PublicationDateUTC> <RemoteLink>sample string 6</RemoteLink> <Title>sample string 7</Title> </ResourceItemEntryDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |