POST V2/CMS/GetGroupContentsByCatId

Request Information

URI Parameters

None.

Body Parameters

CMSContentCond
NameDescriptionTypeAdditional information
ContentId

integer

None.

CatId

integer

None.

Key

string

None.

IsMobile

boolean

None.

Title

string

None.

SeoKeyWord

string

None.

QtyOnTop

integer

None.

OnTopList

Collection of integer

None.

CatIds

Collection of integer

None.

TimeTypes

integer

None.

YearMon

string

None.

CatLevel

integer

None.

CatKey

string

None.

Page

integer

None.

PageSize

integer

None.

Offset

integer

None.

SortName

string

None.

SortOrder

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ContentId": 1,
  "CatId": 2,
  "Key": "sample string 3",
  "IsMobile": true,
  "Title": "sample string 5",
  "SeoKeyWord": "sample string 6",
  "QtyOnTop": 7,
  "OnTopList": [
    1,
    2
  ],
  "CatIds": [
    1,
    2
  ],
  "TimeTypes": 8,
  "YearMon": "sample string 9",
  "CatLevel": 10,
  "CatKey": "sample string 11",
  "Page": 12,
  "PageSize": 13,
  "Offset": 143,
  "SortName": "sample string 14",
  "SortOrder": "sample string 15"
}

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

Response Information

Resource Description

PageDataOfCMSContentInfo
NameDescriptionTypeAdditional information
TotalPage

integer

None.

TotalRecord

integer

None.

Data

Collection of CMSContentInfo

None.

Page

integer

None.

PageSize

integer

None.

Offset

integer

None.

SortName

string

None.

SortOrder

string

None.

Response Formats

application/json, text/json

Sample:
{
  "TotalPage": 1,
  "TotalRecord": 1,
  "Data": [
    {
      "Id": 1,
      "Key": "sample string 2",
      "Author": "sample string 3",
      "AuthorTransId": "4eabbe60-3782-454d-8a4a-c5e43a972b28",
      "Desc": "sample string 5",
      "DescTransId": "68dab073-b689-4429-88da-003cca0a2b22",
      "Body": "sample string 7",
      "ContentTransId": "1cf48fea-0a78-48f8-8f32-c639b06aab8e",
      "MContentTransId": "07d0f81d-1674-4738-9448-d27c02f8d1d9",
      "Title": "sample string 10",
      "TitleTransId": "f9a620a3-a0cd-48d0-b937-5a3c574e4a49",
      "ImagePath": "sample string 12",
      "CreateDate": "sample string 13",
      "UpdateDate": "sample string 14",
      "CreateDateVal": "2024-11-15 14:51:24",
      "UpdateDateVal": "2024-11-15 14:51:24",
      "CatId": 15,
      "Cover": "sample string 16",
      "CoverId": "ae2cd0b8-adbb-4733-9e3f-7dd8ce27bf80",
      "Url": "sample string 17",
      "UrlTransId": "acc3f77b-d711-49ad-8aaf-2c0beb777723",
      "Category": {
        "Id": 1,
        "Name": "sample string 2",
        "ParentId": 3,
        "Path": "sample string 4",
        "CatPaths": [
          {
            "CatId": "sample string 1",
            "PathName": "sample string 2"
          },
          {
            "CatId": "sample string 1",
            "PathName": "sample string 2"
          }
        ]
      },
      "SeoKeyword": "sample string 19",
      "SeoKeyTransId": "f094ac49-315b-4049-a7e0-45af0e470bb4",
      "SeoDesc": "sample string 21",
      "SeoDescTransId": "d2bc35fe-0a02-428f-a0ca-437bd3334506",
      "Status": 23,
      "CmsControl": [
        {
          "ControlId": "sample string 1",
          "ControlCode": "sample string 2",
          "ControlName": "sample string 3",
          "ControlValue": "sample string 4",
          "ControlImageLis": [
            {
              "Id": 1,
              "ContentId": 2,
              "SmallImagePath": "sample string 3",
              "BigImagePath": "sample string 4",
              "Lang": "sample string 5",
              "IsDetele": true,
              "CreateDate": "2024-11-15 14:51:24",
              "CreateDateString": "sample string 8",
              "Name": "sample string 9"
            },
            {
              "Id": 1,
              "ContentId": 2,
              "SmallImagePath": "sample string 3",
              "BigImagePath": "sample string 4",
              "Lang": "sample string 5",
              "IsDetele": true,
              "CreateDate": "2024-11-15 14:51:24",
              "CreateDateString": "sample string 8",
              "Name": "sample string 9"
            }
          ]
        },
        {
          "ControlId": "sample string 1",
          "ControlCode": "sample string 2",
          "ControlName": "sample string 3",
          "ControlValue": "sample string 4",
          "ControlImageLis": [
            {
              "Id": 1,
              "ContentId": 2,
              "SmallImagePath": "sample string 3",
              "BigImagePath": "sample string 4",
              "Lang": "sample string 5",
              "IsDetele": true,
              "CreateDate": "2024-11-15 14:51:24",
              "CreateDateString": "sample string 8",
              "Name": "sample string 9"
            },
            {
              "Id": 1,
              "ContentId": 2,
              "SmallImagePath": "sample string 3",
              "BigImagePath": "sample string 4",
              "Lang": "sample string 5",
              "IsDetele": true,
              "CreateDate": "2024-11-15 14:51:24",
              "CreateDateString": "sample string 8",
              "Name": "sample string 9"
            }
          ]
        }
      ],
      "ContentDateTime": "2024-11-15 14:51:24",
      "IsTop": true,
      "IsOpenWindows": true,
      "UrlTypeTransId": "f5d4877a-d91f-408b-a254-170b5c5dd81d",
      "IsMobile": true,
      "WeekNum": "sample string 28",
      "ContentDateTimeStr": "sample string 29",
      "Parentid": 30,
      "CatKey": "sample string 31",
      "PreviousId": "sample string 32",
      "NextId": "sample string 33"
    },
    {
      "Id": 1,
      "Key": "sample string 2",
      "Author": "sample string 3",
      "AuthorTransId": "4eabbe60-3782-454d-8a4a-c5e43a972b28",
      "Desc": "sample string 5",
      "DescTransId": "68dab073-b689-4429-88da-003cca0a2b22",
      "Body": "sample string 7",
      "ContentTransId": "1cf48fea-0a78-48f8-8f32-c639b06aab8e",
      "MContentTransId": "07d0f81d-1674-4738-9448-d27c02f8d1d9",
      "Title": "sample string 10",
      "TitleTransId": "f9a620a3-a0cd-48d0-b937-5a3c574e4a49",
      "ImagePath": "sample string 12",
      "CreateDate": "sample string 13",
      "UpdateDate": "sample string 14",
      "CreateDateVal": "2024-11-15 14:51:24",
      "UpdateDateVal": "2024-11-15 14:51:24",
      "CatId": 15,
      "Cover": "sample string 16",
      "CoverId": "ae2cd0b8-adbb-4733-9e3f-7dd8ce27bf80",
      "Url": "sample string 17",
      "UrlTransId": "acc3f77b-d711-49ad-8aaf-2c0beb777723",
      "Category": {
        "Id": 1,
        "Name": "sample string 2",
        "ParentId": 3,
        "Path": "sample string 4",
        "CatPaths": [
          {
            "CatId": "sample string 1",
            "PathName": "sample string 2"
          },
          {
            "CatId": "sample string 1",
            "PathName": "sample string 2"
          }
        ]
      },
      "SeoKeyword": "sample string 19",
      "SeoKeyTransId": "f094ac49-315b-4049-a7e0-45af0e470bb4",
      "SeoDesc": "sample string 21",
      "SeoDescTransId": "d2bc35fe-0a02-428f-a0ca-437bd3334506",
      "Status": 23,
      "CmsControl": [
        {
          "ControlId": "sample string 1",
          "ControlCode": "sample string 2",
          "ControlName": "sample string 3",
          "ControlValue": "sample string 4",
          "ControlImageLis": [
            {
              "Id": 1,
              "ContentId": 2,
              "SmallImagePath": "sample string 3",
              "BigImagePath": "sample string 4",
              "Lang": "sample string 5",
              "IsDetele": true,
              "CreateDate": "2024-11-15 14:51:24",
              "CreateDateString": "sample string 8",
              "Name": "sample string 9"
            },
            {
              "Id": 1,
              "ContentId": 2,
              "SmallImagePath": "sample string 3",
              "BigImagePath": "sample string 4",
              "Lang": "sample string 5",
              "IsDetele": true,
              "CreateDate": "2024-11-15 14:51:24",
              "CreateDateString": "sample string 8",
              "Name": "sample string 9"
            }
          ]
        },
        {
          "ControlId": "sample string 1",
          "ControlCode": "sample string 2",
          "ControlName": "sample string 3",
          "ControlValue": "sample string 4",
          "ControlImageLis": [
            {
              "Id": 1,
              "ContentId": 2,
              "SmallImagePath": "sample string 3",
              "BigImagePath": "sample string 4",
              "Lang": "sample string 5",
              "IsDetele": true,
              "CreateDate": "2024-11-15 14:51:24",
              "CreateDateString": "sample string 8",
              "Name": "sample string 9"
            },
            {
              "Id": 1,
              "ContentId": 2,
              "SmallImagePath": "sample string 3",
              "BigImagePath": "sample string 4",
              "Lang": "sample string 5",
              "IsDetele": true,
              "CreateDate": "2024-11-15 14:51:24",
              "CreateDateString": "sample string 8",
              "Name": "sample string 9"
            }
          ]
        }
      ],
      "ContentDateTime": "2024-11-15 14:51:24",
      "IsTop": true,
      "IsOpenWindows": true,
      "UrlTypeTransId": "f5d4877a-d91f-408b-a254-170b5c5dd81d",
      "IsMobile": true,
      "WeekNum": "sample string 28",
      "ContentDateTimeStr": "sample string 29",
      "Parentid": 30,
      "CatKey": "sample string 31",
      "PreviousId": "sample string 32",
      "NextId": "sample string 33"
    }
  ],
  "Page": 2,
  "PageSize": 3,
  "Offset": 3,
  "SortName": "sample string 4",
  "SortOrder": "sample string 5"
}