GET api/{area}/Service/GetServiceClass?siteId={siteId}

服务分类

Request Information

URI Parameters

NameDescriptionTypeAdditional information
siteId

string

Required

area

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of ServiceClassModel
NameDescriptionTypeAdditional information
ImgIcon

string

None.

Id

string

None.

ClassName

string

None.

IsLeaf

boolean

None.

IsThird

boolean

None.

ChildrenStr

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ImgIcon": "sample string 1",
    "Id": "sample string 2",
    "ClassName": "sample string 3",
    "IsLeaf": true,
    "IsThird": true,
    "ChildrenStr": "sample string 6"
  },
  {
    "ImgIcon": "sample string 1",
    "Id": "sample string 2",
    "ClassName": "sample string 3",
    "IsLeaf": true,
    "IsThird": true,
    "ChildrenStr": "sample string 6"
  }
]

application/xml, text/xml

Sample:
<ArrayOfServiceClassModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Areas.Beauty.Models">
  <ServiceClassModel>
    <ChildrenStr>sample string 6</ChildrenStr>
    <ClassName>sample string 3</ClassName>
    <Id>sample string 2</Id>
    <ImgIcon>sample string 1</ImgIcon>
    <IsLeaf>true</IsLeaf>
    <IsThird>true</IsThird>
  </ServiceClassModel>
  <ServiceClassModel>
    <ChildrenStr>sample string 6</ChildrenStr>
    <ClassName>sample string 3</ClassName>
    <Id>sample string 2</Id>
    <ImgIcon>sample string 1</ImgIcon>
    <IsLeaf>true</IsLeaf>
    <IsThird>true</IsThird>
  </ServiceClassModel>
</ArrayOfServiceClassModel>