POST api/Customer/SaveCustomer?sign={sign}
修改保存用户信息
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| sign |
Sign(密钥2) |
string |
Required |
Body Parameters
用户信息对象
ModelCustomerEdit| Name | Description | Type | Additional information |
|---|---|---|---|
| customerid |
用户索引ID |
string |
None. |
| key |
修改项 |
string |
None. |
| value |
修改内容 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"customerid": "sample string 1",
"key": "sample string 2",
"value": "sample string 3"
}
application/xml, text/xml
Sample:
<ModelCustomerEdit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/lms.mobile.api.Models.customer"> <customerid>sample string 1</customerid> <key>sample string 2</key> <value>sample string 3</value> </ModelCustomerEdit>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
保存失败返回 null ; 反之返回用户最新信息对象
ModelReturnCode| Name | Description | Type | Additional information |
|---|---|---|---|
| message |
备注说明 |
string |
None. |
| value |
返回值 |
Object |
None. |
| code |
代码(0:正常;1:异常) |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"code": 1,
"message": "sample string 1",
"value": {}
}
application/xml, text/xml
Sample:
<ModelReturnCode xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/lms.mobile.api.Models"> <code>1</code> <message>sample string 1</message> <value /> </ModelReturnCode>