POST api/post/get-posts3

Request Information

URI Parameters

None.

Body Parameters

RequestDataJson
NameDescriptionTypeAdditional information
tabIndexId

ETab

None.

categoryId

integer

None.

subCategoryId

integer

None.

searchContent

string

None.

qty

integer

None.

startId

integer

None.

endId

integer

None.

direction

string

None.

saveContent

boolean

None.

includePosts

boolean

None.

includeUpdatedData

boolean

None.

postSource

EPostSource

None.

Request Formats

application/json, text/json

Sample:
{
  "tabIndexId": 1,
  "categoryId": 1,
  "subCategoryId": 1,
  "searchContent": "sample string 1",
  "qty": 1,
  "startId": 1,
  "endId": 1,
  "direction": "sample string 2",
  "saveContent": true,
  "includePosts": true,
  "includeUpdatedData": true,
  "postSource": 30
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseDataJson
NameDescriptionTypeAdditional information
listPosts

Collection of PostJson

None.

listAttachments

Collection of AttachmentJson

None.

listUpdatedData

Collection of PostJson

None.

dtStart

date

None.

dtEnd

date

None.

interval

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "listPosts": [
    {
      "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,
      "brzPermission": true,
      "publishDate": "2024-11-08T18:47:49.1330934+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": "2024-11-08T18:47:49.1330934+00:00",
          "dateUtcCommentIso8601": "2024-11-08T18:47:49Z",
          "id": 9,
          "active": true,
          "userIns": "sample string 11",
          "dateUtcIns": "2024-11-08T18:47:49.1330934+00:00",
          "userUpd": "sample string 12",
          "dateUtcUpd": "2024-11-08T18:47:49.1330934+00:00",
          "dateUtcUpdIso8601": "2024-11-08T18:47:49Z",
          "dateUtcInsIso8601": "2024-11-08T18:47:49Z"
        },
        {
          "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": "2024-11-08T18:47:49.1330934+00:00",
          "dateUtcCommentIso8601": "2024-11-08T18:47:49Z",
          "id": 9,
          "active": true,
          "userIns": "sample string 11",
          "dateUtcIns": "2024-11-08T18:47:49.1330934+00:00",
          "userUpd": "sample string 12",
          "dateUtcUpd": "2024-11-08T18:47:49.1330934+00:00",
          "dateUtcUpdIso8601": "2024-11-08T18:47:49Z",
          "dateUtcInsIso8601": "2024-11-08T18:47:49Z"
        }
      ],
      "attachments": [
        {
          "postId": 1,
          "typeId": 0,
          "typeName": "Arquivo",
          "name": "sample string 2",
          "relativeUrl": "sample string 3",
          "canDownload": true,
          "publishDate": "2024-11-08T18:47:49.1330934+00:00",
          "strPublishDate": "20241108",
          "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": "2024-11-08T18:47:49.1330934+00:00",
          "userUpd": "sample string 11",
          "dateUtcUpd": "2024-11-08T18:47:49.1330934+00:00",
          "dateUtcUpdIso8601": "2024-11-08T18:47:49Z",
          "dateUtcInsIso8601": "2024-11-08T18:47:49Z"
        },
        {
          "postId": 1,
          "typeId": 0,
          "typeName": "Arquivo",
          "name": "sample string 2",
          "relativeUrl": "sample string 3",
          "canDownload": true,
          "publishDate": "2024-11-08T18:47:49.1330934+00:00",
          "strPublishDate": "20241108",
          "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": "2024-11-08T18:47:49.1330934+00:00",
          "userUpd": "sample string 11",
          "dateUtcUpd": "2024-11-08T18:47:49.1330934+00:00",
          "dateUtcUpdIso8601": "2024-11-08T18:47:49Z",
          "dateUtcInsIso8601": "2024-11-08T18:47:49Z"
        }
      ],
      "formatFullDate": "08/11/24 18:47",
      "formatPublishDate": "8 de Nov de 2024",
      "strRating": "13,0",
      "strSharedCount": "1",
      "id": 23,
      "active": true,
      "userIns": "sample string 25",
      "dateUtcIns": "2024-11-08T18:47:49.1330934+00:00",
      "userUpd": "sample string 26",
      "dateUtcUpd": "2024-11-08T18:47:49.1330934+00:00",
      "dateUtcUpdIso8601": "2024-11-08T18:47:49Z",
      "dateUtcInsIso8601": "2024-11-08T18:47:49Z"
    },
    {
      "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,
      "brzPermission": true,
      "publishDate": "2024-11-08T18:47:49.1330934+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": "2024-11-08T18:47:49.1330934+00:00",
          "dateUtcCommentIso8601": "2024-11-08T18:47:49Z",
          "id": 9,
          "active": true,
          "userIns": "sample string 11",
          "dateUtcIns": "2024-11-08T18:47:49.1330934+00:00",
          "userUpd": "sample string 12",
          "dateUtcUpd": "2024-11-08T18:47:49.1330934+00:00",
          "dateUtcUpdIso8601": "2024-11-08T18:47:49Z",
          "dateUtcInsIso8601": "2024-11-08T18:47:49Z"
        },
        {
          "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": "2024-11-08T18:47:49.1330934+00:00",
          "dateUtcCommentIso8601": "2024-11-08T18:47:49Z",
          "id": 9,
          "active": true,
          "userIns": "sample string 11",
          "dateUtcIns": "2024-11-08T18:47:49.1330934+00:00",
          "userUpd": "sample string 12",
          "dateUtcUpd": "2024-11-08T18:47:49.1330934+00:00",
          "dateUtcUpdIso8601": "2024-11-08T18:47:49Z",
          "dateUtcInsIso8601": "2024-11-08T18:47:49Z"
        }
      ],
      "attachments": [
        {
          "postId": 1,
          "typeId": 0,
          "typeName": "Arquivo",
          "name": "sample string 2",
          "relativeUrl": "sample string 3",
          "canDownload": true,
          "publishDate": "2024-11-08T18:47:49.1330934+00:00",
          "strPublishDate": "20241108",
          "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": "2024-11-08T18:47:49.1330934+00:00",
          "userUpd": "sample string 11",
          "dateUtcUpd": "2024-11-08T18:47:49.1330934+00:00",
          "dateUtcUpdIso8601": "2024-11-08T18:47:49Z",
          "dateUtcInsIso8601": "2024-11-08T18:47:49Z"
        },
        {
          "postId": 1,
          "typeId": 0,
          "typeName": "Arquivo",
          "name": "sample string 2",
          "relativeUrl": "sample string 3",
          "canDownload": true,
          "publishDate": "2024-11-08T18:47:49.1330934+00:00",
          "strPublishDate": "20241108",
          "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": "2024-11-08T18:47:49.1330934+00:00",
          "userUpd": "sample string 11",
          "dateUtcUpd": "2024-11-08T18:47:49.1330934+00:00",
          "dateUtcUpdIso8601": "2024-11-08T18:47:49Z",
          "dateUtcInsIso8601": "2024-11-08T18:47:49Z"
        }
      ],
      "formatFullDate": "08/11/24 18:47",
      "formatPublishDate": "8 de Nov de 2024",
      "strRating": "13,0",
      "strSharedCount": "1",
      "id": 23,
      "active": true,
      "userIns": "sample string 25",
      "dateUtcIns": "2024-11-08T18:47:49.1330934+00:00",
      "userUpd": "sample string 26",
      "dateUtcUpd": "2024-11-08T18:47:49.1330934+00:00",
      "dateUtcUpdIso8601": "2024-11-08T18:47:49Z",
      "dateUtcInsIso8601": "2024-11-08T18:47:49Z"
    }
  ],
  "listAttachments": [
    {
      "postId": 1,
      "typeId": 0,
      "typeName": "Arquivo",
      "name": "sample string 2",
      "relativeUrl": "sample string 3",
      "canDownload": true,
      "publishDate": "2024-11-08T18:47:49.1330934+00:00",
      "strPublishDate": "20241108",
      "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": "2024-11-08T18:47:49.1330934+00:00",
      "userUpd": "sample string 11",
      "dateUtcUpd": "2024-11-08T18:47:49.1330934+00:00",
      "dateUtcUpdIso8601": "2024-11-08T18:47:49Z",
      "dateUtcInsIso8601": "2024-11-08T18:47:49Z"
    },
    {
      "postId": 1,
      "typeId": 0,
      "typeName": "Arquivo",
      "name": "sample string 2",
      "relativeUrl": "sample string 3",
      "canDownload": true,
      "publishDate": "2024-11-08T18:47:49.1330934+00:00",
      "strPublishDate": "20241108",
      "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": "2024-11-08T18:47:49.1330934+00:00",
      "userUpd": "sample string 11",
      "dateUtcUpd": "2024-11-08T18:47:49.1330934+00:00",
      "dateUtcUpdIso8601": "2024-11-08T18:47:49Z",
      "dateUtcInsIso8601": "2024-11-08T18:47:49Z"
    }
  ],
  "listUpdatedData": [
    {
      "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,
      "brzPermission": true,
      "publishDate": "2024-11-08T18:47:49.1330934+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": "2024-11-08T18:47:49.1330934+00:00",
          "dateUtcCommentIso8601": "2024-11-08T18:47:49Z",
          "id": 9,
          "active": true,
          "userIns": "sample string 11",
          "dateUtcIns": "2024-11-08T18:47:49.1330934+00:00",
          "userUpd": "sample string 12",
          "dateUtcUpd": "2024-11-08T18:47:49.1330934+00:00",
          "dateUtcUpdIso8601": "2024-11-08T18:47:49Z",
          "dateUtcInsIso8601": "2024-11-08T18:47:49Z"
        },
        {
          "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": "2024-11-08T18:47:49.1330934+00:00",
          "dateUtcCommentIso8601": "2024-11-08T18:47:49Z",
          "id": 9,
          "active": true,
          "userIns": "sample string 11",
          "dateUtcIns": "2024-11-08T18:47:49.1330934+00:00",
          "userUpd": "sample string 12",
          "dateUtcUpd": "2024-11-08T18:47:49.1330934+00:00",
          "dateUtcUpdIso8601": "2024-11-08T18:47:49Z",
          "dateUtcInsIso8601": "2024-11-08T18:47:49Z"
        }
      ],
      "attachments": [
        {
          "postId": 1,
          "typeId": 0,
          "typeName": "Arquivo",
          "name": "sample string 2",
          "relativeUrl": "sample string 3",
          "canDownload": true,
          "publishDate": "2024-11-08T18:47:49.1330934+00:00",
          "strPublishDate": "20241108",
          "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": "2024-11-08T18:47:49.1330934+00:00",
          "userUpd": "sample string 11",
          "dateUtcUpd": "2024-11-08T18:47:49.1330934+00:00",
          "dateUtcUpdIso8601": "2024-11-08T18:47:49Z",
          "dateUtcInsIso8601": "2024-11-08T18:47:49Z"
        },
        {
          "postId": 1,
          "typeId": 0,
          "typeName": "Arquivo",
          "name": "sample string 2",
          "relativeUrl": "sample string 3",
          "canDownload": true,
          "publishDate": "2024-11-08T18:47:49.1330934+00:00",
          "strPublishDate": "20241108",
          "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": "2024-11-08T18:47:49.1330934+00:00",
          "userUpd": "sample string 11",
          "dateUtcUpd": "2024-11-08T18:47:49.1330934+00:00",
          "dateUtcUpdIso8601": "2024-11-08T18:47:49Z",
          "dateUtcInsIso8601": "2024-11-08T18:47:49Z"
        }
      ],
      "formatFullDate": "08/11/24 18:47",
      "formatPublishDate": "8 de Nov de 2024",
      "strRating": "13,0",
      "strSharedCount": "1",
      "id": 23,
      "active": true,
      "userIns": "sample string 25",
      "dateUtcIns": "2024-11-08T18:47:49.1330934+00:00",
      "userUpd": "sample string 26",
      "dateUtcUpd": "2024-11-08T18:47:49.1330934+00:00",
      "dateUtcUpdIso8601": "2024-11-08T18:47:49Z",
      "dateUtcInsIso8601": "2024-11-08T18:47:49Z"
    },
    {
      "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,
      "brzPermission": true,
      "publishDate": "2024-11-08T18:47:49.1330934+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": "2024-11-08T18:47:49.1330934+00:00",
          "dateUtcCommentIso8601": "2024-11-08T18:47:49Z",
          "id": 9,
          "active": true,
          "userIns": "sample string 11",
          "dateUtcIns": "2024-11-08T18:47:49.1330934+00:00",
          "userUpd": "sample string 12",
          "dateUtcUpd": "2024-11-08T18:47:49.1330934+00:00",
          "dateUtcUpdIso8601": "2024-11-08T18:47:49Z",
          "dateUtcInsIso8601": "2024-11-08T18:47:49Z"
        },
        {
          "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": "2024-11-08T18:47:49.1330934+00:00",
          "dateUtcCommentIso8601": "2024-11-08T18:47:49Z",
          "id": 9,
          "active": true,
          "userIns": "sample string 11",
          "dateUtcIns": "2024-11-08T18:47:49.1330934+00:00",
          "userUpd": "sample string 12",
          "dateUtcUpd": "2024-11-08T18:47:49.1330934+00:00",
          "dateUtcUpdIso8601": "2024-11-08T18:47:49Z",
          "dateUtcInsIso8601": "2024-11-08T18:47:49Z"
        }
      ],
      "attachments": [
        {
          "postId": 1,
          "typeId": 0,
          "typeName": "Arquivo",
          "name": "sample string 2",
          "relativeUrl": "sample string 3",
          "canDownload": true,
          "publishDate": "2024-11-08T18:47:49.1330934+00:00",
          "strPublishDate": "20241108",
          "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": "2024-11-08T18:47:49.1330934+00:00",
          "userUpd": "sample string 11",
          "dateUtcUpd": "2024-11-08T18:47:49.1330934+00:00",
          "dateUtcUpdIso8601": "2024-11-08T18:47:49Z",
          "dateUtcInsIso8601": "2024-11-08T18:47:49Z"
        },
        {
          "postId": 1,
          "typeId": 0,
          "typeName": "Arquivo",
          "name": "sample string 2",
          "relativeUrl": "sample string 3",
          "canDownload": true,
          "publishDate": "2024-11-08T18:47:49.1330934+00:00",
          "strPublishDate": "20241108",
          "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": "2024-11-08T18:47:49.1330934+00:00",
          "userUpd": "sample string 11",
          "dateUtcUpd": "2024-11-08T18:47:49.1330934+00:00",
          "dateUtcUpdIso8601": "2024-11-08T18:47:49Z",
          "dateUtcInsIso8601": "2024-11-08T18:47:49Z"
        }
      ],
      "formatFullDate": "08/11/24 18:47",
      "formatPublishDate": "8 de Nov de 2024",
      "strRating": "13,0",
      "strSharedCount": "1",
      "id": 23,
      "active": true,
      "userIns": "sample string 25",
      "dateUtcIns": "2024-11-08T18:47:49.1330934+00:00",
      "userUpd": "sample string 26",
      "dateUtcUpd": "2024-11-08T18:47:49.1330934+00:00",
      "dateUtcUpdIso8601": "2024-11-08T18:47:49Z",
      "dateUtcInsIso8601": "2024-11-08T18:47:49Z"
    }
  ],
  "dtStart": "2024-11-08T18:47:49.1330934+00:00",
  "dtEnd": "2024-11-08T18:47:49.1330934+00:00",
  "interval": 0.0
}