POST api/RssFeeds/MultiplePost

Post multiple RssFeeds.

Request Information

URI Parameters

None.

Body Parameters

rssResuestListObject
NameDescriptionTypeAdditional information
rssFeeds

Collection of RssFeed

None.

Request Formats

application/json, text/json

Sample:
{
  "rssFeeds": [
    {
      "Id": 1,
      "Name": "sample string 2",
      "RssUrl": "sample string 3",
      "CompanyId": 4,
      "IsDeletable": true,
      "IsNotified": true
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "RssUrl": "sample string 3",
      "CompanyId": 4,
      "IsDeletable": true,
      "IsNotified": true
    }
  ]
}

application/xml, text/xml

Sample:
<RssFeedsController.rssResuestListObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Controllers">
  <rssFeeds xmlns:d2p1="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models">
    <d2p1:RssFeed>
      <d2p1:CompanyId>4</d2p1:CompanyId>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsDeletable>true</d2p1:IsDeletable>
      <d2p1:IsNotified>true</d2p1:IsNotified>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:RssUrl>sample string 3</d2p1:RssUrl>
    </d2p1:RssFeed>
    <d2p1:RssFeed>
      <d2p1:CompanyId>4</d2p1:CompanyId>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsDeletable>true</d2p1:IsDeletable>
      <d2p1:IsNotified>true</d2p1:IsNotified>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:RssUrl>sample string 3</d2p1:RssUrl>
    </d2p1:RssFeed>
  </rssFeeds>
</RssFeedsController.rssResuestListObject>

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

Response Information

Resource Description

RssFeed
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

RssUrl

string

None.

CompanyId

integer

None.

IsDeletable

boolean

None.

IsNotified

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "RssUrl": "sample string 3",
  "CompanyId": 4,
  "IsDeletable": true,
  "IsNotified": true
}

application/xml, text/xml

Sample:
<RssFeed xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models">
  <CompanyId>4</CompanyId>
  <Id>1</Id>
  <IsDeletable>true</IsDeletable>
  <IsNotified>true</IsNotified>
  <Name>sample string 2</Name>
  <RssUrl>sample string 3</RssUrl>
</RssFeed>