GET api/Blog/GetBlogByType/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of BlogView
NameDescriptionTypeAdditional information
Keyword

string

None.

Published

boolean

None.

YoutubeLink

string

None.

DisplayYoutubeOnTop

boolean

None.

DisplayYoutubeOnBottom

boolean

None.

EmbedCode

string

None.

CoverText

string

None.

CreatedDate

date

None.

UpdatedDate

date

None.

Deleted

boolean

None.

EventTypeId

integer

None.

Attendance

decimal number

None.

AreaType

SearchAreaType

None.

AreaId

string

None.

ButtonTextThai

string

None.

ButtonTextEng

string

None.

CateringBudgetRange

SearchBudgetRange

None.

CateringRestaurantPackageTypeId

integer

None.

Thumbnail

BlogPictureView

None.

CurrentUserName

string

None.

FirstName

string

None.

LastName

string

None.

Content

string

None.

HasMoreComments

boolean

None.

PlaceSearch

string

None.

BlogViewer

string

None.

BlogType

BlogType

None.

BlogId

integer

None.

Link

string

None.

Title

string

None.

Description

string

None.

FriendlyUrl

string

None.

BlogCategoryType

BlogCategory

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "keyword": "sample string 1",
    "published": true,
    "youtubeLink": "sample string 2",
    "displayYoutubeOnTop": true,
    "displayYoutubeOnBottom": true,
    "embedCode": "sample string 3",
    "coverText": "sample string 4",
    "createdDate": "2025-08-26T19:50:30.1687223+00:00",
    "updatedDate": "2025-08-26T19:50:30.1687223+00:00",
    "deleted": true,
    "eventTypeId": 1,
    "attendance": 1.1,
    "areaType": 0,
    "areaId": "sample string 5",
    "buttonTextThai": "sample string 6",
    "buttonTextEng": "sample string 7",
    "cateringBudgetRange": 0,
    "cateringRestaurantPackageTypeId": 1,
    "thumbnail": {
      "id": 1,
      "type": "sample string 2",
      "fileName": "sample string 3",
      "format": "sample string 4",
      "cloudinaryPublicId": "sample string 5",
      "cloudinaryUrl": "sample string 6"
    },
    "currentUserName": "sample string 8",
    "firstName": "sample string 9",
    "lastName": "sample string 10",
    "content": "sample string 11",
    "hasMoreComments": true,
    "placeSearch": "sample string 12",
    "blogViewer": "sample string 13",
    "blogType": 1,
    "blogId": 14,
    "link": "sample string 15",
    "title": "sample string 16",
    "description": "sample string 17",
    "friendlyUrl": "sample string 18",
    "blogCategoryType": 1
  },
  {
    "keyword": "sample string 1",
    "published": true,
    "youtubeLink": "sample string 2",
    "displayYoutubeOnTop": true,
    "displayYoutubeOnBottom": true,
    "embedCode": "sample string 3",
    "coverText": "sample string 4",
    "createdDate": "2025-08-26T19:50:30.1687223+00:00",
    "updatedDate": "2025-08-26T19:50:30.1687223+00:00",
    "deleted": true,
    "eventTypeId": 1,
    "attendance": 1.1,
    "areaType": 0,
    "areaId": "sample string 5",
    "buttonTextThai": "sample string 6",
    "buttonTextEng": "sample string 7",
    "cateringBudgetRange": 0,
    "cateringRestaurantPackageTypeId": 1,
    "thumbnail": {
      "id": 1,
      "type": "sample string 2",
      "fileName": "sample string 3",
      "format": "sample string 4",
      "cloudinaryPublicId": "sample string 5",
      "cloudinaryUrl": "sample string 6"
    },
    "currentUserName": "sample string 8",
    "firstName": "sample string 9",
    "lastName": "sample string 10",
    "content": "sample string 11",
    "hasMoreComments": true,
    "placeSearch": "sample string 12",
    "blogViewer": "sample string 13",
    "blogType": 1,
    "blogId": 14,
    "link": "sample string 15",
    "title": "sample string 16",
    "description": "sample string 17",
    "friendlyUrl": "sample string 18",
    "blogCategoryType": 1
  }
]

text/html

Sample:
[{"keyword":"sample string 1","published":true,"youtubeLink":"sample string 2","displayYoutubeOnTop":true,"displayYoutubeOnBottom":true,"embedCode":"sample string 3","coverText":"sample string 4","createdDate":"2025-08-26T19:50:30.1687223+00:00","updatedDate":"2025-08-26T19:50:30.1687223+00:00","deleted":true,"eventTypeId":1,"attendance":1.1,"areaType":0,"areaId":"sample string 5","buttonTextThai":"sample string 6","buttonTextEng":"sample string 7","cateringBudgetRange":0,"cateringRestaurantPackageTypeId":1,"thumbnail":{"id":1,"type":"sample string 2","fileName":"sample string 3","format":"sample string 4","cloudinaryPublicId":"sample string 5","cloudinaryUrl":"sample string 6"},"currentUserName":"sample string 8","firstName":"sample string 9","lastName":"sample string 10","content":"sample string 11","hasMoreComments":true,"placeSearch":"sample string 12","blogViewer":"sample string 13","blogType":1,"blogId":14,"link":"sample string 15","title":"sample string 16","description":"sample string 17","friendlyUrl":"sample string 18","blogCategoryType":1},{"keyword":"sample string 1","published":true,"youtubeLink":"sample string 2","displayYoutubeOnTop":true,"displayYoutubeOnBottom":true,"embedCode":"sample string 3","coverText":"sample string 4","createdDate":"2025-08-26T19:50:30.1687223+00:00","updatedDate":"2025-08-26T19:50:30.1687223+00:00","deleted":true,"eventTypeId":1,"attendance":1.1,"areaType":0,"areaId":"sample string 5","buttonTextThai":"sample string 6","buttonTextEng":"sample string 7","cateringBudgetRange":0,"cateringRestaurantPackageTypeId":1,"thumbnail":{"id":1,"type":"sample string 2","fileName":"sample string 3","format":"sample string 4","cloudinaryPublicId":"sample string 5","cloudinaryUrl":"sample string 6"},"currentUserName":"sample string 8","firstName":"sample string 9","lastName":"sample string 10","content":"sample string 11","hasMoreComments":true,"placeSearch":"sample string 12","blogViewer":"sample string 13","blogType":1,"blogId":14,"link":"sample string 15","title":"sample string 16","description":"sample string 17","friendlyUrl":"sample string 18","blogCategoryType":1}]

application/xml, text/xml

Sample:
<ArrayOfBlogView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EB.Service.Contracts.Api">
  <BlogView>
    <BlogCategoryType>VenueReview</BlogCategoryType>
    <BlogId>14</BlogId>
    <BlogViewer i:nil="true" />
    <CoverText i:nil="true" />
    <Description>sample string 17</Description>
    <FriendlyUrl>sample string 18</FriendlyUrl>
    <Link>sample string 15</Link>
    <Thumbnail i:nil="true" />
    <Title>sample string 16</Title>
    <AreaId>sample string 5</AreaId>
    <AreaType>ResultNotFound</AreaType>
    <Attendance>1.1</Attendance>
    <BlogType>Venue</BlogType>
    <BlogViewer>sample string 13</BlogViewer>
    <ButtonTextEng>sample string 7</ButtonTextEng>
    <ButtonTextThai>sample string 6</ButtonTextThai>
    <CateringBudgetRange>Under50</CateringBudgetRange>
    <CateringRestaurantPackageTypeId>1</CateringRestaurantPackageTypeId>
    <Content>sample string 11</Content>
    <CoverText>sample string 4</CoverText>
    <CreatedDate>2025-08-26T19:50:30.1687223+00:00</CreatedDate>
    <CurrentUserName>sample string 8</CurrentUserName>
    <Deleted>true</Deleted>
    <DisplayYoutubeOnBottom>true</DisplayYoutubeOnBottom>
    <DisplayYoutubeOnTop>true</DisplayYoutubeOnTop>
    <EmbedCode>sample string 3</EmbedCode>
    <EventTypeId>1</EventTypeId>
    <FirstName>sample string 9</FirstName>
    <HasMoreComments>true</HasMoreComments>
    <Keyword>sample string 1</Keyword>
    <LastName>sample string 10</LastName>
    <PlaceSearch>sample string 12</PlaceSearch>
    <Published>true</Published>
    <Thumbnail>
      <CloudinaryPublicId>sample string 5</CloudinaryPublicId>
      <CloudinaryUrl>sample string 6</CloudinaryUrl>
      <FileName>sample string 3</FileName>
      <Format>sample string 4</Format>
      <Id>1</Id>
      <Type>sample string 2</Type>
    </Thumbnail>
    <UpdatedDate>2025-08-26T19:50:30.1687223+00:00</UpdatedDate>
    <YoutubeLink>sample string 2</YoutubeLink>
  </BlogView>
  <BlogView>
    <BlogCategoryType>VenueReview</BlogCategoryType>
    <BlogId>14</BlogId>
    <BlogViewer i:nil="true" />
    <CoverText i:nil="true" />
    <Description>sample string 17</Description>
    <FriendlyUrl>sample string 18</FriendlyUrl>
    <Link>sample string 15</Link>
    <Thumbnail i:nil="true" />
    <Title>sample string 16</Title>
    <AreaId>sample string 5</AreaId>
    <AreaType>ResultNotFound</AreaType>
    <Attendance>1.1</Attendance>
    <BlogType>Venue</BlogType>
    <BlogViewer>sample string 13</BlogViewer>
    <ButtonTextEng>sample string 7</ButtonTextEng>
    <ButtonTextThai>sample string 6</ButtonTextThai>
    <CateringBudgetRange>Under50</CateringBudgetRange>
    <CateringRestaurantPackageTypeId>1</CateringRestaurantPackageTypeId>
    <Content>sample string 11</Content>
    <CoverText>sample string 4</CoverText>
    <CreatedDate>2025-08-26T19:50:30.1687223+00:00</CreatedDate>
    <CurrentUserName>sample string 8</CurrentUserName>
    <Deleted>true</Deleted>
    <DisplayYoutubeOnBottom>true</DisplayYoutubeOnBottom>
    <DisplayYoutubeOnTop>true</DisplayYoutubeOnTop>
    <EmbedCode>sample string 3</EmbedCode>
    <EventTypeId>1</EventTypeId>
    <FirstName>sample string 9</FirstName>
    <HasMoreComments>true</HasMoreComments>
    <Keyword>sample string 1</Keyword>
    <LastName>sample string 10</LastName>
    <PlaceSearch>sample string 12</PlaceSearch>
    <Published>true</Published>
    <Thumbnail>
      <CloudinaryPublicId>sample string 5</CloudinaryPublicId>
      <CloudinaryUrl>sample string 6</CloudinaryUrl>
      <FileName>sample string 3</FileName>
      <Format>sample string 4</Format>
      <Id>1</Id>
      <Type>sample string 2</Type>
    </Thumbnail>
    <UpdatedDate>2025-08-26T19:50:30.1687223+00:00</UpdatedDate>
    <YoutubeLink>sample string 2</YoutubeLink>
  </BlogView>
</ArrayOfBlogView>