DELETE api/manage-post

Request Information

URI Parameters

None.

Body Parameters

PostJson
NameDescriptionTypeAdditional information
tabIndex

ETab

None.

title

string

None.

description

string

None.

author

string

None.

content

string

None.

postCategory

string

None.

postSubCategory

string

None.

tags

string

None.

tabName

string

None.

authorId

integer

None.

postCategoryId

integer

None.

postSubCategoryId

integer

None.

commentsCount

integer

None.

viewsCount

integer

None.

price

decimal number

None.

rating

decimal number

None.

sharedCount

integer

None.

userRating

decimal number

None.

isRead

boolean

None.

exclusive

boolean

None.

isHighlight

boolean

None.

sendNotification

boolean

None.

canView

boolean

None.

showStamp

boolean

None.

publishDate

date

None.

comments

Collection of CommentJson

None.

attachments

Collection of AttachmentJson

None.

formatFullDate

string

None.

formatPublishDate

string

None.

strRating

string

None.

strSharedCount

string

None.

id

integer

None.

active

boolean

None.

userIns

string

None.

dateUtcIns

date

None.

userUpd

string

None.

dateUtcUpd

date

None.

dateUtcUpdIso8601

string

None.

dateUtcInsIso8601

string

None.

Request Formats

application/json, text/json

Sample:
{
  "tabIndex": 1,
  "title": "sample string 1",
  "description": "sample string 2",
  "author": "sample string 3",
  "content": "sample string 4",
  "postCategory": "sample string 5",
  "postSubCategory": "sample string 6",
  "tags": "sample string 7",
  "tabName": "sample string 8",
  "authorId": 1,
  "postCategoryId": 9,
  "postSubCategoryId": 10,
  "commentsCount": 11,
  "viewsCount": 12,
  "price": 1.0,
  "rating": 13.0,
  "sharedCount": 1,
  "userRating": 14.0,
  "isRead": true,
  "exclusive": true,
  "isHighlight": true,
  "sendNotification": true,
  "canView": true,
  "showStamp": true,
  "publishDate": "2021-05-08T19:03:59.3488101+00:00",
  "comments": [
    {
      "userId": 1,
      "postId": 2,
      "post": "sample string 3",
      "name": "sample string 4",
      "email": "sample string 5",
      "comment": "sample string 6",
      "postName": "sample string 7",
      "dateUtcComment": "2021-05-08T19:03:59.3488101+00:00",
      "dateUtcCommentIso8601": "2021-05-08T19:03:59Z",
      "id": 9,
      "active": true,
      "userIns": "sample string 11",
      "dateUtcIns": "2021-05-08T19:03:59.3488101+00:00",
      "userUpd": "sample string 12",
      "dateUtcUpd": "2021-05-08T19:03:59.3488101+00:00",
      "dateUtcUpdIso8601": "2021-05-08T19:03:59Z",
      "dateUtcInsIso8601": "2021-05-08T19:03:59Z"
    },
    {
      "userId": 1,
      "postId": 2,
      "post": "sample string 3",
      "name": "sample string 4",
      "email": "sample string 5",
      "comment": "sample string 6",
      "postName": "sample string 7",
      "dateUtcComment": "2021-05-08T19:03:59.3488101+00:00",
      "dateUtcCommentIso8601": "2021-05-08T19:03:59Z",
      "id": 9,
      "active": true,
      "userIns": "sample string 11",
      "dateUtcIns": "2021-05-08T19:03:59.3488101+00:00",
      "userUpd": "sample string 12",
      "dateUtcUpd": "2021-05-08T19:03:59.3488101+00:00",
      "dateUtcUpdIso8601": "2021-05-08T19:03:59Z",
      "dateUtcInsIso8601": "2021-05-08T19:03:59Z"
    }
  ],
  "attachments": [
    {
      "postId": 1,
      "typeId": 0,
      "typeName": "Arquivo",
      "name": "sample string 2",
      "relativeUrl": "sample string 3",
      "canDownload": true,
      "publishDate": "2021-05-08T19:03:59.3488101+00:00",
      "strPublishDate": "20210508",
      "extension": "sample string 6",
      "filename": "sample string 7",
      "url": "https://agrinvest.azurewebsites.net/sample string 3",
      "id": 8,
      "active": true,
      "userIns": "sample string 10",
      "dateUtcIns": "2021-05-08T19:03:59.3488101+00:00",
      "userUpd": "sample string 11",
      "dateUtcUpd": "2021-05-08T19:03:59.3488101+00:00",
      "dateUtcUpdIso8601": "2021-05-08T19:03:59Z",
      "dateUtcInsIso8601": "2021-05-08T19:03:59Z"
    },
    {
      "postId": 1,
      "typeId": 0,
      "typeName": "Arquivo",
      "name": "sample string 2",
      "relativeUrl": "sample string 3",
      "canDownload": true,
      "publishDate": "2021-05-08T19:03:59.3488101+00:00",
      "strPublishDate": "20210508",
      "extension": "sample string 6",
      "filename": "sample string 7",
      "url": "https://agrinvest.azurewebsites.net/sample string 3",
      "id": 8,
      "active": true,
      "userIns": "sample string 10",
      "dateUtcIns": "2021-05-08T19:03:59.3488101+00:00",
      "userUpd": "sample string 11",
      "dateUtcUpd": "2021-05-08T19:03:59.3488101+00:00",
      "dateUtcUpdIso8601": "2021-05-08T19:03:59Z",
      "dateUtcInsIso8601": "2021-05-08T19:03:59Z"
    }
  ],
  "formatFullDate": "08/05/21 19:03",
  "formatPublishDate": "8 de Mai de 2021",
  "strRating": "13,0",
  "strSharedCount": "1",
  "id": 22,
  "active": true,
  "userIns": "sample string 24",
  "dateUtcIns": "2021-05-08T19:03:59.3488101+00:00",
  "userUpd": "sample string 25",
  "dateUtcUpd": "2021-05-08T19:03:59.3488101+00:00",
  "dateUtcUpdIso8601": "2021-05-08T19:03:59Z",
  "dateUtcInsIso8601": "2021-05-08T19:03:59Z"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.