POST dz_api/CustomerLevel/Save

保存一条等级记录

Request Information

URI Parameters

None.

Body Parameters

等级信息

LevelEditModel
NameDescriptionTypeAdditional information
LevelId

等级ID

integer

None.

LevelName

等级名称

string

None.

Request Formats

application/json, text/json

Sample:
{
  "LevelId": 1,
  "LevelName": "sample string 2"
}

application/xml, text/xml

Sample:
<LevelEditModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAa.WebApi.Areas.Customer.Models">
  <LevelId>1</LevelId>
  <LevelName>sample string 2</LevelName>
</LevelEditModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

保存一条等级记录

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>