POST api/ClearinghouseContent?submit={submit}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
submit

boolean

Required

Body Parameters

ShortClearinghouseContent
NameDescriptionTypeAdditional information
id

globally unique identifier

None.

templateId

integer

None.

title

string

None.

logo

string

None.

createdDate

date

None.

published

boolean

None.

publishedOn

date

None.

isDenied

boolean

None.

deniedOn

date

None.

denyReason

string

None.

isActive

boolean

None.

authorFirstName

string

None.

authorLastName

string

None.

authorFullName

string

None.

authorEmail

string

None.

orgName

string

None.

orgLogoName

string

None.

orgLogo

string

None.

submitted

boolean

None.

submittedOn

date

None.

lastUpdated

date

None.

tags

Collection of ShortClearinghouseContentTag

None.

answers

Collection of ShortClearinghouseContentAnswer

None.

ratings

Collection of ShortContentRating

None.

templateItems

Collection of ShortTemplateItem

None.

categoryName

string

None.

avgRating

decimal number

None.

isFeatured

boolean

None.

isSentBack

boolean

None.

sendBackReason

string

None.

summaryText

string

None.

previewOnly

boolean

None.

originalContentId

globally unique identifier

None.

logoBlob

string

None.

orgLogoBlob

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "a983b377-904b-41ac-a6b2-1cbe0244d7fa",
  "templateId": 1,
  "title": "sample string 2",
  "logo": "sample string 3",
  "createdDate": "2019-05-24T22:56:48.1190794+00:00",
  "published": true,
  "publishedOn": "2019-05-24T22:56:48.1190794+00:00",
  "isDenied": true,
  "deniedOn": "2019-05-24T22:56:48.134746+00:00",
  "denyReason": "sample string 7",
  "isActive": true,
  "authorFirstName": "sample string 9",
  "authorLastName": "sample string 10",
  "authorFullName": "sample string 11",
  "authorEmail": "sample string 12",
  "orgName": "sample string 13",
  "orgLogoName": "sample string 14",
  "orgLogo": "sample string 15",
  "submitted": true,
  "submittedOn": "2019-05-24T22:56:48.134746+00:00",
  "lastUpdated": "2019-05-24T22:56:48.134746+00:00",
  "tags": [
    {
      "id": 1,
      "name": "sample string 2"
    },
    {
      "id": 1,
      "name": "sample string 2"
    }
  ],
  "answers": [
    {
      "id": 1,
      "contentId": "2eca1d93-e1f3-41fd-b9f3-04c248b3ac07",
      "templateItemId": 3,
      "value": "sample string 4"
    },
    {
      "id": 1,
      "contentId": "2eca1d93-e1f3-41fd-b9f3-04c248b3ac07",
      "templateItemId": 3,
      "value": "sample string 4"
    }
  ],
  "ratings": [
    {
      "id": 1,
      "contentId": "3ff0e037-cbfa-4d63-a810-d57a51cb7a07",
      "userProfileId": 3,
      "rating": 4
    },
    {
      "id": 1,
      "contentId": "3ff0e037-cbfa-4d63-a810-d57a51cb7a07",
      "userProfileId": 3,
      "rating": 4
    }
  ],
  "templateItems": [
    {
      "id": 1,
      "templateId": 2,
      "fieldType": 3,
      "labelText": "sample string 4",
      "placeholderText": "sample string 5",
      "isRequired": true,
      "itemOrder": 7,
      "choices": [
        {
          "id": 1,
          "choiceName": "sample string 2"
        },
        {
          "id": 1,
          "choiceName": "sample string 2"
        }
      ]
    },
    {
      "id": 1,
      "templateId": 2,
      "fieldType": 3,
      "labelText": "sample string 4",
      "placeholderText": "sample string 5",
      "isRequired": true,
      "itemOrder": 7,
      "choices": [
        {
          "id": 1,
          "choiceName": "sample string 2"
        },
        {
          "id": 1,
          "choiceName": "sample string 2"
        }
      ]
    }
  ],
  "categoryName": "sample string 18",
  "avgRating": 19.0,
  "isFeatured": true,
  "isSentBack": true,
  "sendBackReason": "sample string 22",
  "summaryText": "sample string 23",
  "previewOnly": true,
  "originalContentId": "e08a3419-ae9e-48ed-b772-47e1c850c358",
  "logoBlob": "sample string 25",
  "orgLogoBlob": "sample string 26"
}

application/xml, text/xml

Sample:
<ShortClearinghouseContent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IAN_QPSA.Models">
  <answers>
    <ShortClearinghouseContentAnswer>
      <contentId>2eca1d93-e1f3-41fd-b9f3-04c248b3ac07</contentId>
      <id>1</id>
      <templateItemId>3</templateItemId>
      <value>sample string 4</value>
    </ShortClearinghouseContentAnswer>
    <ShortClearinghouseContentAnswer>
      <contentId>2eca1d93-e1f3-41fd-b9f3-04c248b3ac07</contentId>
      <id>1</id>
      <templateItemId>3</templateItemId>
      <value>sample string 4</value>
    </ShortClearinghouseContentAnswer>
  </answers>
  <authorEmail>sample string 12</authorEmail>
  <authorFirstName>sample string 9</authorFirstName>
  <authorFullName>sample string 11</authorFullName>
  <authorLastName>sample string 10</authorLastName>
  <avgRating>19</avgRating>
  <categoryName>sample string 18</categoryName>
  <createdDate>2019-05-24T22:56:48.1190794+00:00</createdDate>
  <deniedOn>2019-05-24T22:56:48.134746+00:00</deniedOn>
  <denyReason>sample string 7</denyReason>
  <id>a983b377-904b-41ac-a6b2-1cbe0244d7fa</id>
  <isActive>true</isActive>
  <isDenied>true</isDenied>
  <isFeatured>true</isFeatured>
  <isSentBack>true</isSentBack>
  <lastUpdated>2019-05-24T22:56:48.134746+00:00</lastUpdated>
  <logo>sample string 3</logo>
  <logoBlob>sample string 25</logoBlob>
  <orgLogo>sample string 15</orgLogo>
  <orgLogoBlob>sample string 26</orgLogoBlob>
  <orgLogoName>sample string 14</orgLogoName>
  <orgName>sample string 13</orgName>
  <originalContentId>e08a3419-ae9e-48ed-b772-47e1c850c358</originalContentId>
  <previewOnly>true</previewOnly>
  <published>true</published>
  <publishedOn>2019-05-24T22:56:48.1190794+00:00</publishedOn>
  <ratings>
    <ShortContentRating>
      <contentId>3ff0e037-cbfa-4d63-a810-d57a51cb7a07</contentId>
      <id>1</id>
      <rating>4</rating>
      <userProfileId>3</userProfileId>
    </ShortContentRating>
    <ShortContentRating>
      <contentId>3ff0e037-cbfa-4d63-a810-d57a51cb7a07</contentId>
      <id>1</id>
      <rating>4</rating>
      <userProfileId>3</userProfileId>
    </ShortContentRating>
  </ratings>
  <sendBackReason>sample string 22</sendBackReason>
  <submitted>true</submitted>
  <submittedOn>2019-05-24T22:56:48.134746+00:00</submittedOn>
  <summaryText>sample string 23</summaryText>
  <tags>
    <ShortClearinghouseContentTag>
      <id>1</id>
      <name>sample string 2</name>
    </ShortClearinghouseContentTag>
    <ShortClearinghouseContentTag>
      <id>1</id>
      <name>sample string 2</name>
    </ShortClearinghouseContentTag>
  </tags>
  <templateId>1</templateId>
  <templateItems>
    <ShortTemplateItem>
      <choices>
        <ShortTemplateItemChoice>
          <choiceName>sample string 2</choiceName>
          <id>1</id>
        </ShortTemplateItemChoice>
        <ShortTemplateItemChoice>
          <choiceName>sample string 2</choiceName>
          <id>1</id>
        </ShortTemplateItemChoice>
      </choices>
      <fieldType>3</fieldType>
      <id>1</id>
      <isRequired>true</isRequired>
      <itemOrder>7</itemOrder>
      <labelText>sample string 4</labelText>
      <placeholderText>sample string 5</placeholderText>
      <templateId>2</templateId>
    </ShortTemplateItem>
    <ShortTemplateItem>
      <choices>
        <ShortTemplateItemChoice>
          <choiceName>sample string 2</choiceName>
          <id>1</id>
        </ShortTemplateItemChoice>
        <ShortTemplateItemChoice>
          <choiceName>sample string 2</choiceName>
          <id>1</id>
        </ShortTemplateItemChoice>
      </choices>
      <fieldType>3</fieldType>
      <id>1</id>
      <isRequired>true</isRequired>
      <itemOrder>7</itemOrder>
      <labelText>sample string 4</labelText>
      <placeholderText>sample string 5</placeholderText>
      <templateId>2</templateId>
    </ShortTemplateItem>
  </templateItems>
  <title>sample string 2</title>
</ShortClearinghouseContent>

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.