POST api/e/ys/EidtServiceCategory?memberID={memberID}&enterpriseID={enterpriseID}
服务分类编辑
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
memberID | globally unique identifier |
Required |
|
enterpriseID | globally unique identifier |
Required |
Body Parameters
分类实体 ID CName Thumbnail Description Image 四个字段必填 Thumbnail和Image 可以一样
CategoryModelName | Description | Type | Additional information |
---|---|---|---|
ID |
编号 |
globally unique identifier |
None. |
ParentID |
父类编号 |
globally unique identifier |
None. |
EnterpriseID |
系统编号 |
globally unique identifier |
None. |
IndustryId |
行业编号 当是网点类别时不填 |
globally unique identifier |
None. |
Name |
名称 |
string |
None. |
Description |
描述 |
string |
None. |
Image |
图片 |
string |
None. |
Thumbnail |
缩略图 |
string |
None. |
Level |
等级 |
integer |
None. |
State |
状态 |
boolean |
None. |
OrderIndex |
排序值 |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": "8a9a4ec6-9d34-43e4-8e2c-87a42b27751a", "ParentID": "efab3849-1460-4968-ae64-6dcb4e585114", "EnterpriseID": "cba4f7fb-cf8d-4dea-b12e-71be0656a2f4", "IndustryId": "d1b80bf9-8f8e-4429-898f-4b630810e691", "Name": "sample string 5", "Description": "sample string 6", "Image": "sample string 7", "Thumbnail": "sample string 8", "Level": 9, "State": true, "OrderIndex": 11 }
application/xml, text/xml
Sample:
<CategoryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LijiyTow.Liji_E.EAPI.Models.E"> <Description>sample string 6</Description> <EnterpriseID>cba4f7fb-cf8d-4dea-b12e-71be0656a2f4</EnterpriseID> <ID>8a9a4ec6-9d34-43e4-8e2c-87a42b27751a</ID> <Image>sample string 7</Image> <IndustryId>d1b80bf9-8f8e-4429-898f-4b630810e691</IndustryId> <Level>9</Level> <Name>sample string 5</Name> <OrderIndex>11</OrderIndex> <ParentID>efab3849-1460-4968-ae64-6dcb4e585114</ParentID> <State>true</State> <Thumbnail>sample string 8</Thumbnail> </CategoryModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.