POST api/OESalonEvent/BindAddClassAccountManage

添加上课人

Request Information

URI Parameters

None.

Body Parameters

BindAddClassAccountManage
NameDescriptionTypeAdditional information
ClassAccountManageID

上课人管理ID(编辑时传入)

string

None.

ClassAccountID

上课人用户ID

string

None.

TrueName

姓名

string

None.

MobilePhone

电话

string

None.

ValidDocumentType

有效证件类型

string

None.

ValidDocumentCode

证件号

string

None.

CompanyName

企业名称

string

None.

IsSelf

是否本人

boolean

None.

Id

Id

string

None.

AccountId

用户Id

string

None.

ShopId

商城Id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ClassAccountManageID": "sample string 1",
  "ClassAccountID": "sample string 2",
  "TrueName": "sample string 3",
  "MobilePhone": "sample string 4",
  "ValidDocumentType": "sample string 5",
  "ValidDocumentCode": "sample string 6",
  "CompanyName": "sample string 7",
  "IsSelf": true,
  "Id": "sample string 9",
  "AccountId": "sample string 10",
  "ShopId": 11
}

application/xml, text/xml

Sample:
<BindAddClassAccountManage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Areas.OnlineEducation.Models">
  <AccountId xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 10</AccountId>
  <Id xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 9</Id>
  <ShopId xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">11</ShopId>
  <ClassAccountID>sample string 2</ClassAccountID>
  <ClassAccountManageID>sample string 1</ClassAccountManageID>
  <CompanyName>sample string 7</CompanyName>
  <IsSelf>true</IsSelf>
  <MobilePhone>sample string 4</MobilePhone>
  <TrueName>sample string 3</TrueName>
  <ValidDocumentCode>sample string 6</ValidDocumentCode>
  <ValidDocumentType>sample string 5</ValidDocumentType>
</BindAddClassAccountManage>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BaseResultModels
NameDescriptionTypeAdditional information
errcode

返回Code(-1请求失败,0请求成功,1调用支付)

integer

None.

errmsg

返回提示消息

string

None.

url

返回Url

string

None.

data

返回数据

string

None.

dataObj

返回数据1

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "errcode": 1,
  "errmsg": "sample string 2",
  "url": "sample string 3",
  "data": "sample string 4",
  "dataObj": {}
}

application/xml, text/xml

Sample:
<BaseResultModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">
  <data>sample string 4</data>
  <dataObj />
  <errcode>1</errcode>
  <errmsg>sample string 2</errmsg>
  <url>sample string 3</url>
</BaseResultModels>