POST api/ng/circle/deleteuserdiarypost

Request Information

URI Parameters

None.

Body Parameters

UserDiaryEntryID
NameDescriptionTypeAdditional information
PostID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "PostID": 1
}

application/xml, text/xml

Sample:
<UserDiaryEntryID xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SoulSeasons2017.Models.Angular">
  <PostID>1</PostID>
</UserDiaryEntryID>

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

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:48:59.1948152-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:48:59.1948152-04:00</DateSubmitted>
  <ErrorType>NoError</ErrorType>
  <IsSuccess>true</IsSuccess>
  <PostID>2</PostID>
</PostSubmitResult>