POST api/ng/circle/submitcirclepost

Request Information

URI Parameters

None.

Body Parameters

CirclePostEntry
NameDescriptionTypeAdditional information
CircleID

integer

None.

PostID

integer

None.

PostTypeID

integer

None.

Title

string

None.

PictureUrl

string

None.

VideoUrl

string

None.

Content

string

None.

DateSubmitted

date

None.

IsAnnouncement

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "CircleID": 1,
  "PostID": 2,
  "PostTypeID": 3,
  "Title": "sample string 4",
  "PictureUrl": "sample string 5",
  "VideoUrl": "sample string 6",
  "Content": "sample string 7",
  "DateSubmitted": "2021-04-19T20:08:11.0683076-04:00",
  "IsAnnouncement": true
}

application/xml, text/xml

Sample:
<CirclePostEntry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SoulSeasons2017.Models.Angular">
  <CircleID>1</CircleID>
  <Content>sample string 7</Content>
  <DateSubmitted>2021-04-19T20:08:11.0683076-04:00</DateSubmitted>
  <IsAnnouncement>true</IsAnnouncement>
  <PictureUrl>sample string 5</PictureUrl>
  <PostID>2</PostID>
  <PostTypeID>3</PostTypeID>
  <Title>sample string 4</Title>
  <VideoUrl>sample string 6</VideoUrl>
</CirclePostEntry>

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

Response Information

Resource Description

PostSubmitResult
NameDescriptionTypeAdditional information
IsSuccess

boolean

None.

PostID

integer

None.

DateSubmitted

date

None.

ErrorType

UserPostError

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccess": true,
  "PostID": 2,
  "DateSubmitted": "2021-04-19T20:08:11.0839076-04:00",
  "ErrorType": 0
}

application/xml, text/xml

Sample:
<PostSubmitResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SoulSeasons2017.Models.Angular">
  <DateSubmitted>2021-04-19T20:08:11.0839076-04:00</DateSubmitted>
  <ErrorType>NoError</ErrorType>
  <IsSuccess>true</IsSuccess>
  <PostID>2</PostID>
</PostSubmitResult>