POST api/RssFeeds/{userid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userid

integer

Required

Body Parameters

UserFeed
NameDescriptionTypeAdditional information
UserID

integer

None.

User

User

None.

RssFeedID

integer

None.

RssFeed

RssFeed

None.

Request Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "User": {
    "UserID": 1,
    "Name": "sample string 2",
    "Img": "sample string 3",
    "Type": 4
  },
  "RssFeedID": 2,
  "RssFeed": {
    "RssFeedID": 1,
    "Name": "sample string 2",
    "IsMandatory": true,
    "Type": 4,
    "URL": "sample string 5"
  }
}

application/xml, text/xml

Sample:
<UserFeed xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PulseAPI.Models">
  <RssFeed>
    <IsMandatory>true</IsMandatory>
    <Name>sample string 2</Name>
    <RssFeedID>1</RssFeedID>
    <Type>4</Type>
    <URL>sample string 5</URL>
  </RssFeed>
  <RssFeedID>2</RssFeedID>
  <User>
    <Img>sample string 3</Img>
    <Name>sample string 2</Name>
    <Type>4</Type>
    <UserID>1</UserID>
  </User>
  <UserID>1</UserID>
</UserFeed>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.