POST api/vender/register/request
提交注册数据
Request Information
URI Parameters
None.
Body Parameters
注册数据
VenderRegRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Name |
名称 |
string |
String length: inclusive between 0 and 50 |
| RealName |
真实姓名 |
string |
String length: inclusive between 0 and 50 |
| BankName |
银行名称 |
string |
String length: inclusive between 0 and 50 |
| BankCardNo |
银行卡号 |
string |
String length: inclusive between 0 and 50 |
| ProvinceId |
省id |
integer |
None. |
| CityId |
市id |
integer |
None. |
| DistrictId |
区id |
integer |
None. |
| Address |
详细地址 |
string |
String length: inclusive between 0 and 200 |
| IdentityCardPic |
身份证照路径 |
string |
String length: inclusive between 0 and 200 |
| BusinessLicensePic |
营业执照照片路径 |
string |
String length: inclusive between 0 and 200 |
| HealthNo |
供港基地备案编号 |
string |
Required String length: inclusive between 2 and 50 |
| MobileNo |
手机号 |
string |
Required |
| Code |
用户输入的手机验证码 |
string |
Required |
| SessionKey |
获取手机验证码时返回的SessionKey,获取一次手机验证码,会话Key就会更新,就需要使用新的会话Key,Key不是一直使用同一个的 |
string |
Required |
| ShopId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Name": "sample string 1",
"RealName": "sample string 2",
"BankName": "sample string 3",
"BankCardNo": "sample string 4",
"ProvinceId": 5,
"CityId": 6,
"DistrictId": 7,
"Address": "sample string 8",
"IdentityCardPic": "sample string 9",
"BusinessLicensePic": "sample string 10",
"HealthNo": "sample string 11",
"MobileNo": "sample string 12",
"Code": "sample string 13",
"SessionKey": "sample string 14",
"ShopId": 15
}
application/xml, text/xml
Sample:
<VenderRegRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ViewModel"> <Code xmlns="http://schemas.datacontract.org/2004/07/Infrastructure.Caching">sample string 13</Code> <MobileNo xmlns="http://schemas.datacontract.org/2004/07/Infrastructure.Caching">sample string 12</MobileNo> <SessionKey xmlns="http://schemas.datacontract.org/2004/07/Infrastructure.Caching">sample string 14</SessionKey> <ShopId xmlns="http://schemas.datacontract.org/2004/07/Infrastructure.Caching">15</ShopId> <Address>sample string 8</Address> <BankCardNo>sample string 4</BankCardNo> <BankName>sample string 3</BankName> <BusinessLicensePic>sample string 10</BusinessLicensePic> <CityId>6</CityId> <DistrictId>7</DistrictId> <HealthNo>sample string 11</HealthNo> <IdentityCardPic>sample string 9</IdentityCardPic> <Name>sample string 1</Name> <ProvinceId>5</ProvinceId> <RealName>sample string 2</RealName> </VenderRegRequestModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseBase| Name | Description | Type | Additional information |
|---|---|---|---|
| errcode |
错误码,默认为成功:SUCCESS |
string |
None. |
| errmsg |
错误信息,默认为:成功 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"errcode": "sample string 1",
"errmsg": "sample string 2"
}
application/xml, text/xml
Sample:
<ResponseBase xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Infrastructure.WebApi"> <errcode>sample string 1</errcode> <errmsg>sample string 2</errmsg> </ResponseBase>