GET api/tin-tuc?nameascii={nameascii}&pageIndex={pageIndex}&pageSize={pageSize}

Thông tin cần

Các tham số URI

NameDescriptionTypeAdditional information
nameascii

string

Required

pageIndex

integer

Required

pageSize

integer

Required

Không có.

Thông tin trả về

Mô tả các trường dữ liệu

Collection of News
NameDescriptionTypeAdditional information
NewsTitle

string

None.

NewsTitleAscii

string

None.

NewsEventID

integer

None.

NewsSiteID

integer

None.

NewsTypeID

integer

None.

NewsPictureID

integer

None.

NewsImagesUrl

string

None.

NewsDescription

string

None.

NewsShow

boolean

None.

NewsHot

boolean

None.

NewsAllowComment

boolean

None.

NewsDetails

string

None.

NewsViewed

integer

None.

NewsSeoTitle

string

None.

NewsSeoDescription

string

None.

Id

integer

None.

CreatedDate

date

None.

ModifiedDate

date

None.

PublishedDate

date

None.

CreatedUser

string

None.

ModifiedUser

string

None.

NewsOrder

integer

None.

IsDeleted

boolean

None.

UrlShare

string

None.

Picture

Gallery_Picture

None.

Kiểu dữ liệu

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "NewsTitle": "sample string 1",
    "NewsTitleAscii": "sample string 2",
    "NewsEventID": 1,
    "NewsSiteID": 1,
    "NewsTypeID": 1,
    "NewsPictureID": 1,
    "NewsImagesUrl": "sample string 3",
    "NewsDescription": "sample string 4",
    "NewsShow": true,
    "NewsHot": true,
    "NewsAllowComment": true,
    "NewsDetails": "sample string 5",
    "NewsViewed": 1,
    "NewsSeoTitle": "sample string 6",
    "NewsSeoDescription": "sample string 7",
    "Id": 8,
    "CreatedDate": "2019-05-27T04:40:55.5746172+07:00",
    "ModifiedDate": "2019-05-27T04:40:55.5746172+07:00",
    "PublishedDate": "2019-05-27T04:40:55.5746172+07:00",
    "CreatedUser": "sample string 9",
    "ModifiedUser": "sample string 10",
    "NewsOrder": 1,
    "IsDeleted": true,
    "UrlShare": "sample string 11",
    "Picture": {
      "$id": "2",
      "Id": 1,
      "PictureAlbumID": 1,
      "PictureCategoryID": 1,
      "PictureName": "sample string 2",
      "PictureUrl": "sample string 3",
      "PictureDescription": "sample string 4",
      "PictureLink": "sample string 5",
      "IsDeleted": true,
      "IsShow": true,
      "CreatedDate": "2019-05-27T04:40:55.5746172+07:00",
      "ModifiedDate": "2019-05-27T04:40:55.5746172+07:00",
      "CreatedUser": "sample string 6",
      "ModifiedUser": "sample string 7",
      "News": [
        {
          "$ref": "1"
        },
        {
          "$ref": "1"
        }
      ],
      "Gallery_Albums": {
        "$id": "3",
        "Id": 1,
        "CreatedDate": "2019-05-27T04:40:55.5746172+07:00",
        "ModifiedDate": "2019-05-27T04:40:55.5746172+07:00",
        "CreatedUser": "sample string 2",
        "ModifiedUser": "sample string 3",
        "IsDeleted": true,
        "Name": "sample string 4",
        "NameAsccii": "sample string 5",
        "IsShow": true,
        "Description": "sample string 6",
        "Order": 1,
        "Gallery_Pictures": [
          {
            "$ref": "2"
          },
          {
            "$ref": "2"
          }
        ]
      }
    }
  },
  {
    "$ref": "1"
  }
]