GET api/Category/GetCategoryByParent?parent={parent}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
parent

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

Collection of CategoryVM
NameDescriptionTypeAdditional information
Id

integer

None.

CategoryAr

string

None.

CategoryEn

string

None.

Parent

string

None.

Img

string

None.

Type

integer

None.

isOfferCategory

boolean

None.

City

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "Id": 1,
    "CategoryAr": "sample string 2",
    "CategoryEn": "sample string 3",
    "Parent": "sample string 4",
    "Img": "sample string 5",
    "Type": 6,
    "isOfferCategory": true,
    "City": "sample string 8"
  },
  {
    "$ref": "1"
  }
]