GET api/Clothing/DisplayClothing?shopId={shopId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
shopId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of ClothingModel
NameDescriptionTypeAdditional information
ClothingNum

integer

None.

ClothingID

integer

None.

ShopID

integer

None.

ClothingName

string

None.

ClothingType

string

None.

ClothingCategory

string

None.

ClothingCostPrice

decimal number

None.

ClothingSellPrice

decimal number

None.

ClothingDiscPrice

decimal number

None.

ClothingLevel

integer

None.

ClothingVideoId

string

None.

ClothingImgUrl

string

None.

ClothingImgUrlAlt

string

None.

ClothingImgUrlThumb

string

None.

ClothingInfo_1

string

None.

ClothingInfo_2

string

None.

Visible

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ClothingNum": 1,
    "ClothingID": 2,
    "ShopID": 3,
    "ClothingName": "sample string 4",
    "ClothingType": "sample string 5",
    "ClothingCategory": "sample string 6",
    "ClothingCostPrice": 7.0,
    "ClothingSellPrice": 8.0,
    "ClothingDiscPrice": 9.0,
    "ClothingLevel": 10,
    "ClothingVideoId": "sample string 11",
    "ClothingImgUrl": "sample string 12",
    "ClothingImgUrlAlt": "sample string 13",
    "ClothingImgUrlThumb": "sample string 14",
    "ClothingInfo_1": "sample string 15",
    "ClothingInfo_2": "sample string 16",
    "Visible": 17
  },
  {
    "ClothingNum": 1,
    "ClothingID": 2,
    "ShopID": 3,
    "ClothingName": "sample string 4",
    "ClothingType": "sample string 5",
    "ClothingCategory": "sample string 6",
    "ClothingCostPrice": 7.0,
    "ClothingSellPrice": 8.0,
    "ClothingDiscPrice": 9.0,
    "ClothingLevel": 10,
    "ClothingVideoId": "sample string 11",
    "ClothingImgUrl": "sample string 12",
    "ClothingImgUrlAlt": "sample string 13",
    "ClothingImgUrlThumb": "sample string 14",
    "ClothingInfo_1": "sample string 15",
    "ClothingInfo_2": "sample string 16",
    "Visible": 17
  }
]

application/xml, text/xml

Sample:
<ArrayOfClothingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Model_z_webAPIService.Models">
  <ClothingModel>
    <ClothingCategory>sample string 6</ClothingCategory>
    <ClothingCostPrice>7</ClothingCostPrice>
    <ClothingDiscPrice>9</ClothingDiscPrice>
    <ClothingID>2</ClothingID>
    <ClothingImgUrl>sample string 12</ClothingImgUrl>
    <ClothingImgUrlAlt>sample string 13</ClothingImgUrlAlt>
    <ClothingImgUrlThumb>sample string 14</ClothingImgUrlThumb>
    <ClothingInfo_1>sample string 15</ClothingInfo_1>
    <ClothingInfo_2>sample string 16</ClothingInfo_2>
    <ClothingLevel>10</ClothingLevel>
    <ClothingName>sample string 4</ClothingName>
    <ClothingNum>1</ClothingNum>
    <ClothingSellPrice>8</ClothingSellPrice>
    <ClothingType>sample string 5</ClothingType>
    <ClothingVideoId>sample string 11</ClothingVideoId>
    <ShopID>3</ShopID>
    <Visible>17</Visible>
  </ClothingModel>
  <ClothingModel>
    <ClothingCategory>sample string 6</ClothingCategory>
    <ClothingCostPrice>7</ClothingCostPrice>
    <ClothingDiscPrice>9</ClothingDiscPrice>
    <ClothingID>2</ClothingID>
    <ClothingImgUrl>sample string 12</ClothingImgUrl>
    <ClothingImgUrlAlt>sample string 13</ClothingImgUrlAlt>
    <ClothingImgUrlThumb>sample string 14</ClothingImgUrlThumb>
    <ClothingInfo_1>sample string 15</ClothingInfo_1>
    <ClothingInfo_2>sample string 16</ClothingInfo_2>
    <ClothingLevel>10</ClothingLevel>
    <ClothingName>sample string 4</ClothingName>
    <ClothingNum>1</ClothingNum>
    <ClothingSellPrice>8</ClothingSellPrice>
    <ClothingType>sample string 5</ClothingType>
    <ClothingVideoId>sample string 11</ClothingVideoId>
    <ShopID>3</ShopID>
    <Visible>17</Visible>
  </ClothingModel>
</ArrayOfClothingModel>