POST manage/CateService

服务分类新增

Request Information

URI Parameters

None.

Body Parameters

CateService
NameDescriptionTypeAdditional information
CateServiceID

分类ID (删除,修改需要)

integer

None.

Name

服务名称

string

None.

Icon

图标

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CateServiceID": 1,
  "Name": "sample string 2",
  "Icon": "sample string 3"
}

application/xml, text/xml

Sample:
<CateService xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AIVenueAPI.Models">
  <CateServiceID>1</CateServiceID>
  <Icon>sample string 3</Icon>
  <Name>sample string 2</Name>
</CateService>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CateService'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.