POST api/BuildV720/SaveCustomer
提交报名客户
Request Information
URI Parameters
None.
Body Parameters
ZaiMieApp.WebApi.ViewModel.BuildCustomer| Name | Description | Type | Additional information |
|---|---|---|---|
| buildId | integer |
None. |
|
| estateId | integer |
None. |
|
| name | string |
None. |
|
| phone | string |
None. |
|
| sign | string |
None. |
|
| stamp | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"buildId": 1,
"estateId": 2,
"name": "sample string 3",
"phone": "sample string 4",
"sign": "sample string 5",
"stamp": "sample string 6"
}
application/xml, text/xml
Sample:
<BuildCustomer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZaiMieApp.WebApi.ViewModel"> <sign>sample string 5</sign> <stamp>sample string 6</stamp> <buildId>1</buildId> <estateId>2</estateId> <name>sample string 3</name> <phone>sample string 4</phone> </BuildCustomer>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ZaiMieApp.WebApi.ViewModel.ResultMsg| Name | Description | Type | Additional information |
|---|---|---|---|
| success | boolean |
None. |
|
| code | integer |
None. |
|
| addcoin |
赠送的金币 |
integer |
None. |
| message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true,
"code": 2,
"addcoin": 3,
"message": "sample string 4"
}
application/xml, text/xml
Sample:
<ResultMsg xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZaiMieApp.WebApi.ViewModel"> <addcoin>3</addcoin> <code>2</code> <message>sample string 4</message> <success>true</success> </ResultMsg>