GET api/Advertisement/GetPackage?categoryId={categoryId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
categoryId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of AdvertiseVM
NameDescriptionTypeAdditional information
Id

integer

None.

Title

string

None.

MainCatId

integer

None.

Description

string

None.

Date

string

None.

CategoryFK

integer

None.

Category

string

None.

CityFk

integer

None.

City

string

None.

StatusFk

integer

None.

Condition

string

None.

Mobile

string

None.

isMobile

boolean

None.

isActive

boolean

None.

ReportCount

integer

None.

Img1

string

None.

Img2

string

None.

Img3

string

None.

Img4

string

None.

Img5

string

None.

Img6

string

None.

Img7

string

None.

Img8

string

None.

Price

decimal number

None.

StrDate

string

None.

AdvType

integer

None.

isFav

boolean

None.

MainCategory

integer

None.

PrePrice

decimal number

None.

Location

string

None.

Type

integer

None.

Buffet

integer

None.

Images

integer

None.

Candy

integer

None.

Cars

integer

None.

Hall

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "Id": 1,
    "Title": "sample string 2",
    "MainCatId": 3,
    "Description": "sample string 4",
    "Date": "sample string 5",
    "CategoryFK": 1,
    "Category": "sample string 6",
    "CityFk": 1,
    "City": "sample string 7",
    "StatusFk": 1,
    "Condition": "sample string 8",
    "Mobile": "sample string 9",
    "isMobile": true,
    "isActive": true,
    "ReportCount": 10,
    "Img1": "sample string 11",
    "Img2": "sample string 12",
    "Img3": "sample string 13",
    "Img4": "sample string 14",
    "Img5": "sample string 15",
    "Img6": "sample string 16",
    "Img7": "sample string 17",
    "Img8": "sample string 18",
    "Price": 1.1,
    "StrDate": "sample string 19",
    "AdvType": 20,
    "isFav": true,
    "MainCategory": 22,
    "PrePrice": 23.1,
    "Location": "sample string 24",
    "Type": 25,
    "Buffet": 1,
    "Images": 1,
    "Candy": 1,
    "Cars": 1,
    "Hall": 1
  },
  {
    "$ref": "1"
  }
]