POST api/account/{id}/article

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

None.

Body Parameters

Article
NameDescriptionTypeAdditional information
ArticleId

integer

None.

ArticleVersionId

integer

None.

Account

Account

None.

OriginalTitle

string

None.

ExternalId

string

None.

ArticleActive

integer

None.

ArticleVersion

decimal number

None.

ArticleCurrent

integer

None.

ArticleTitle

string

None.

ArticleLink

string

None.

ArticleBodyText

string

None.

ArticleBodyHTML

string

None.

ArticleUpdateDate

date

None.

ArticleFromFeed

integer

None.

ArticleFeedName

string

None.

ArticleFeedLink

string

None.

ArticleLogin

Login

None.

ArticleCategories

Collection of Category

None.

ArticleImageSrc

string

None.

CuratorComments

string

None.

CuratorCommentsTeaser

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ArticleId": 1,
  "ArticleVersionId": 2,
  "Account": {
    "AccountId": 1,
    "AccountName": "sample string 2",
    "AccountActive": 3,
    "AccountActiveDate": "2020-04-01T21:45:22.717848-05:00"
  },
  "OriginalTitle": "sample string 3",
  "ExternalId": "sample string 4",
  "ArticleActive": 5,
  "ArticleVersion": 6.1,
  "ArticleCurrent": 7,
  "ArticleTitle": "sample string 8",
  "ArticleLink": "sample string 9",
  "ArticleBodyText": "sample string 10",
  "ArticleBodyHTML": "sample string 11",
  "ArticleUpdateDate": "2020-04-01T21:45:22.717848-05:00",
  "ArticleFromFeed": 13,
  "ArticleFeedName": "sample string 14",
  "ArticleFeedLink": "sample string 15",
  "ArticleLogin": {
    "LoginId": 1,
    "LoginType": {
      "LoginTypeId": 1,
      "LoginTypeName": "sample string 2",
      "LoginTypeCodeName": "sample string 3",
      "LoginTypeDescription": "sample string 4",
      "LoginTypeActive": 5,
      "LoginTypeActiveDate": "2020-04-01T21:45:22.717848-05:00"
    },
    "LoginUsername": "sample string 2",
    "LoginEmail": "sample string 3",
    "LoginPassword": "sample string 4",
    "LoginActive": 5,
    "LoginActiveDate": "2020-04-01T21:45:22.717848-05:00",
    "LoginAccounts": [
      {
        "AccountId": 1,
        "AccountName": "sample string 2",
        "AccountActive": 3,
        "AccountActiveDate": "2020-04-01T21:45:22.717848-05:00"
      },
      {
        "AccountId": 1,
        "AccountName": "sample string 2",
        "AccountActive": 3,
        "AccountActiveDate": "2020-04-01T21:45:22.717848-05:00"
      }
    ],
    "LoginClients": [
      {
        "ClientId": 1,
        "Account": {
          "AccountId": 1,
          "AccountName": "sample string 2",
          "AccountActive": 3,
          "AccountActiveDate": "2020-04-01T21:45:22.717848-05:00"
        },
        "ClientName": "sample string 2",
        "ClientActive": 3,
        "ClientActiveDate": "2020-04-01T21:45:22.717848-05:00"
      },
      {
        "ClientId": 1,
        "Account": {
          "AccountId": 1,
          "AccountName": "sample string 2",
          "AccountActive": 3,
          "AccountActiveDate": "2020-04-01T21:45:22.717848-05:00"
        },
        "ClientName": "sample string 2",
        "ClientActive": 3,
        "ClientActiveDate": "2020-04-01T21:45:22.717848-05:00"
      }
    ],
    "Token": "sample string 7"
  },
  "ArticleCategories": [
    {
      "CategoryId": 1,
      "Account": {
        "AccountId": 1,
        "AccountName": "sample string 2",
        "AccountActive": 3,
        "AccountActiveDate": "2020-04-01T21:45:22.717848-05:00"
      },
      "CategoryName": "sample string 2",
      "CategoryDescription": "sample string 3",
      "CategoryImage": "sample string 4",
      "CategoryActive": 5,
      "CategoryActiveDate": "2020-04-01T21:45:22.717848-05:00"
    },
    {
      "CategoryId": 1,
      "Account": {
        "AccountId": 1,
        "AccountName": "sample string 2",
        "AccountActive": 3,
        "AccountActiveDate": "2020-04-01T21:45:22.717848-05:00"
      },
      "CategoryName": "sample string 2",
      "CategoryDescription": "sample string 3",
      "CategoryImage": "sample string 4",
      "CategoryActive": 5,
      "CategoryActiveDate": "2020-04-01T21:45:22.717848-05:00"
    }
  ],
  "ArticleImageSrc": "sample string 16",
  "CuratorComments": "sample string 17",
  "CuratorCommentsTeaser": "sample string 18"
}

text/html

Sample:
{"ArticleId":1,"ArticleVersionId":2,"Account":{"AccountId":1,"AccountName":"sample string 2","AccountActive":3,"AccountActiveDate":"2020-04-01T21:45:22.717848-05:00"},"OriginalTitle":"sample string 3","ExternalId":"sample string 4","ArticleActive":5,"ArticleVersion":6.1,"ArticleCurrent":7,"ArticleTitle":"sample string 8","ArticleLink":"sample string 9","ArticleBodyText":"sample string 10","ArticleBodyHTML":"sample string 11","ArticleUpdateDate":"2020-04-01T21:45:22.717848-05:00","ArticleFromFeed":13,"ArticleFeedName":"sample string 14","ArticleFeedLink":"sample string 15","ArticleLogin":{"LoginId":1,"LoginType":{"LoginTypeId":1,"LoginTypeName":"sample string 2","LoginTypeCodeName":"sample string 3","LoginTypeDescription":"sample string 4","LoginTypeActive":5,"LoginTypeActiveDate":"2020-04-01T21:45:22.717848-05:00"},"LoginUsername":"sample string 2","LoginEmail":"sample string 3","LoginPassword":"sample string 4","LoginActive":5,"LoginActiveDate":"2020-04-01T21:45:22.717848-05:00","LoginAccounts":[{"AccountId":1,"AccountName":"sample string 2","AccountActive":3,"AccountActiveDate":"2020-04-01T21:45:22.717848-05:00"},{"AccountId":1,"AccountName":"sample string 2","AccountActive":3,"AccountActiveDate":"2020-04-01T21:45:22.717848-05:00"}],"LoginClients":[{"ClientId":1,"Account":{"AccountId":1,"AccountName":"sample string 2","AccountActive":3,"AccountActiveDate":"2020-04-01T21:45:22.717848-05:00"},"ClientName":"sample string 2","ClientActive":3,"ClientActiveDate":"2020-04-01T21:45:22.717848-05:00"},{"ClientId":1,"Account":{"AccountId":1,"AccountName":"sample string 2","AccountActive":3,"AccountActiveDate":"2020-04-01T21:45:22.717848-05:00"},"ClientName":"sample string 2","ClientActive":3,"ClientActiveDate":"2020-04-01T21:45:22.717848-05:00"}],"Token":"sample string 7"},"ArticleCategories":[{"CategoryId":1,"Account":{"AccountId":1,"AccountName":"sample string 2","AccountActive":3,"AccountActiveDate":"2020-04-01T21:45:22.717848-05:00"},"CategoryName":"sample string 2","CategoryDescription":"sample string 3","CategoryImage":"sample string 4","CategoryActive":5,"CategoryActiveDate":"2020-04-01T21:45:22.717848-05:00"},{"CategoryId":1,"Account":{"AccountId":1,"AccountName":"sample string 2","AccountActive":3,"AccountActiveDate":"2020-04-01T21:45:22.717848-05:00"},"CategoryName":"sample string 2","CategoryDescription":"sample string 3","CategoryImage":"sample string 4","CategoryActive":5,"CategoryActiveDate":"2020-04-01T21:45:22.717848-05:00"}],"ArticleImageSrc":"sample string 16","CuratorComments":"sample string 17","CuratorCommentsTeaser":"sample string 18"}

application/xml, text/xml

Sample:
<Article xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FeedFlowAPI.Models.Content">
  <Account xmlns:d2p1="http://schemas.datacontract.org/2004/07/FeedFlowAPI.Models.Permissions">
    <d2p1:AccountActive>3</d2p1:AccountActive>
    <d2p1:AccountActiveDate>2020-04-01T21:45:22.717848-05:00</d2p1:AccountActiveDate>
    <d2p1:AccountId>1</d2p1:AccountId>
    <d2p1:AccountName>sample string 2</d2p1:AccountName>
  </Account>
  <ArticleActive>5</ArticleActive>
  <ArticleBodyHTML>sample string 11</ArticleBodyHTML>
  <ArticleBodyText>sample string 10</ArticleBodyText>
  <ArticleCategories>
    <Category>
      <Account xmlns:d4p1="http://schemas.datacontract.org/2004/07/FeedFlowAPI.Models.Permissions">
        <d4p1:AccountActive>3</d4p1:AccountActive>
        <d4p1:AccountActiveDate>2020-04-01T21:45:22.717848-05:00</d4p1:AccountActiveDate>
        <d4p1:AccountId>1</d4p1:AccountId>
        <d4p1:AccountName>sample string 2</d4p1:AccountName>
      </Account>
      <CategoryActive>5</CategoryActive>
      <CategoryActiveDate>2020-04-01T21:45:22.717848-05:00</CategoryActiveDate>
      <CategoryDescription>sample string 3</CategoryDescription>
      <CategoryId>1</CategoryId>
      <CategoryImage>sample string 4</CategoryImage>
      <CategoryName>sample string 2</CategoryName>
    </Category>
    <Category>
      <Account xmlns:d4p1="http://schemas.datacontract.org/2004/07/FeedFlowAPI.Models.Permissions">
        <d4p1:AccountActive>3</d4p1:AccountActive>
        <d4p1:AccountActiveDate>2020-04-01T21:45:22.717848-05:00</d4p1:AccountActiveDate>
        <d4p1:AccountId>1</d4p1:AccountId>
        <d4p1:AccountName>sample string 2</d4p1:AccountName>
      </Account>
      <CategoryActive>5</CategoryActive>
      <CategoryActiveDate>2020-04-01T21:45:22.717848-05:00</CategoryActiveDate>
      <CategoryDescription>sample string 3</CategoryDescription>
      <CategoryId>1</CategoryId>
      <CategoryImage>sample string 4</CategoryImage>
      <CategoryName>sample string 2</CategoryName>
    </Category>
  </ArticleCategories>
  <ArticleCurrent>7</ArticleCurrent>
  <ArticleFeedLink>sample string 15</ArticleFeedLink>
  <ArticleFeedName>sample string 14</ArticleFeedName>
  <ArticleFromFeed>13</ArticleFromFeed>
  <ArticleId>1</ArticleId>
  <ArticleImageSrc>sample string 16</ArticleImageSrc>
  <ArticleLink>sample string 9</ArticleLink>
  <ArticleLogin xmlns:d2p1="http://schemas.datacontract.org/2004/07/FeedFlowAPI.Models.Permissions">
    <d2p1:LoginAccounts>
      <d2p1:Account>
        <d2p1:AccountActive>3</d2p1:AccountActive>
        <d2p1:AccountActiveDate>2020-04-01T21:45:22.717848-05:00</d2p1:AccountActiveDate>
        <d2p1:AccountId>1</d2p1:AccountId>
        <d2p1:AccountName>sample string 2</d2p1:AccountName>
      </d2p1:Account>
      <d2p1:Account>
        <d2p1:AccountActive>3</d2p1:AccountActive>
        <d2p1:AccountActiveDate>2020-04-01T21:45:22.717848-05:00</d2p1:AccountActiveDate>
        <d2p1:AccountId>1</d2p1:AccountId>
        <d2p1:AccountName>sample string 2</d2p1:AccountName>
      </d2p1:Account>
    </d2p1:LoginAccounts>
    <d2p1:LoginActive>5</d2p1:LoginActive>
    <d2p1:LoginActiveDate>2020-04-01T21:45:22.717848-05:00</d2p1:LoginActiveDate>
    <d2p1:LoginClients xmlns:d3p1="http://schemas.datacontract.org/2004/07/FeedFlowAPI.Models.Out">
      <d3p1:Client>
        <d3p1:Account>
          <d2p1:AccountActive>3</d2p1:AccountActive>
          <d2p1:AccountActiveDate>2020-04-01T21:45:22.717848-05:00</d2p1:AccountActiveDate>
          <d2p1:AccountId>1</d2p1:AccountId>
          <d2p1:AccountName>sample string 2</d2p1:AccountName>
        </d3p1:Account>
        <d3p1:ClientActive>3</d3p1:ClientActive>
        <d3p1:ClientActiveDate>2020-04-01T21:45:22.717848-05:00</d3p1:ClientActiveDate>
        <d3p1:ClientId>1</d3p1:ClientId>
        <d3p1:ClientName>sample string 2</d3p1:ClientName>
      </d3p1:Client>
      <d3p1:Client>
        <d3p1:Account>
          <d2p1:AccountActive>3</d2p1:AccountActive>
          <d2p1:AccountActiveDate>2020-04-01T21:45:22.717848-05:00</d2p1:AccountActiveDate>
          <d2p1:AccountId>1</d2p1:AccountId>
          <d2p1:AccountName>sample string 2</d2p1:AccountName>
        </d3p1:Account>
        <d3p1:ClientActive>3</d3p1:ClientActive>
        <d3p1:ClientActiveDate>2020-04-01T21:45:22.717848-05:00</d3p1:ClientActiveDate>
        <d3p1:ClientId>1</d3p1:ClientId>
        <d3p1:ClientName>sample string 2</d3p1:ClientName>
      </d3p1:Client>
    </d2p1:LoginClients>
    <d2p1:LoginEmail>sample string 3</d2p1:LoginEmail>
    <d2p1:LoginId>1</d2p1:LoginId>
    <d2p1:LoginPassword>sample string 4</d2p1:LoginPassword>
    <d2p1:LoginType>
      <d2p1:LoginTypeActive>5</d2p1:LoginTypeActive>
      <d2p1:LoginTypeActiveDate>2020-04-01T21:45:22.717848-05:00</d2p1:LoginTypeActiveDate>
      <d2p1:LoginTypeCodeName>sample string 3</d2p1:LoginTypeCodeName>
      <d2p1:LoginTypeDescription>sample string 4</d2p1:LoginTypeDescription>
      <d2p1:LoginTypeId>1</d2p1:LoginTypeId>
      <d2p1:LoginTypeName>sample string 2</d2p1:LoginTypeName>
    </d2p1:LoginType>
    <d2p1:LoginUsername>sample string 2</d2p1:LoginUsername>
    <d2p1:Token>sample string 7</d2p1:Token>
  </ArticleLogin>
  <ArticleTitle>sample string 8</ArticleTitle>
  <ArticleUpdateDate>2020-04-01T21:45:22.717848-05:00</ArticleUpdateDate>
  <ArticleVersion>6.1</ArticleVersion>
  <ArticleVersionId>2</ArticleVersionId>
  <CuratorComments>sample string 17</CuratorComments>
  <CuratorCommentsTeaser>sample string 18</CuratorCommentsTeaser>
  <ExternalId>sample string 4</ExternalId>
  <OriginalTitle>sample string 3</OriginalTitle>
</Article>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.