POST Doctor/AddEtDoctor
添加医生/推广大使
Request Information
URI Parameters
None.
Body Parameters
医生参数
DoctorInfoPars| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
主键 |
integer |
None. |
| Name |
姓名 |
string |
None. |
| Phone |
电话 |
string |
None. |
| HeadImg |
头像 |
string |
None. |
| Sex |
性别 |
integer |
None. |
| Birthday |
生日 |
date |
None. |
| HosId | integer |
None. |
|
| DepId | integer |
None. |
|
| Post | string |
None. |
|
| Title |
职称 |
string |
None. |
| Expertise |
专长 |
string |
None. |
| OpenId | string |
None. |
|
| QrcodeUrl |
推广二维码URL |
string |
None. |
| CreateDt |
创建日期 |
date |
None. |
| describe |
简介 |
string |
None. |
| province |
省份 |
string |
None. |
| city |
城市 |
string |
None. |
| area |
区域 |
string |
None. |
| spreadtype |
推广类型 |
integer |
None. |
| certificate |
资格证书 |
string |
None. |
| approvetype |
审批状态 |
integer |
None. |
| approvemessage |
审批消息 |
string |
None. |
| hospitalDESC |
医院描述 |
string |
None. |
| hospitaltype |
医疗机构类型 |
integer |
None. |
| platKey |
platKey |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"code": "200",
"data": {
"Id": 1,
"Name": "sample string 2",
"Phone": "sample string 3",
"HeadImg": "sample string 4",
"Sex": 5,
"Birthday": "2025-12-10T11:21:56.8234661+08:00",
"HosId": 7,
"DepId": 8,
"Post": "sample string 9",
"Title": "sample string 10",
"Expertise": "sample string 11",
"OpenId": "sample string 12",
"QrcodeUrl": "sample string 13",
"CreateDt": "2025-12-10T11:21:56.8234661+08:00",
"describe": "sample string 15",
"province": "sample string 16",
"city": "sample string 17",
"area": "sample string 18",
"spreadtype": 19,
"certificate": "sample string 20",
"approvetype": 21,
"approvemessage": "sample string 22",
"hospitalDESC": "sample string 23",
"hospitaltype": 24,
"platKey": "sample string 25"
},
"msg": null
}
application/xml, text/xml
Sample:
<DoctorInfoPars xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HL.Basis.Web.Models.Parameter"> <Birthday>2025-12-10T11:21:56.8234661+08:00</Birthday> <CreateDt>2025-12-10T11:21:56.8234661+08:00</CreateDt> <DepId>8</DepId> <Expertise>sample string 11</Expertise> <HeadImg>sample string 4</HeadImg> <HosId>7</HosId> <Id>1</Id> <Name>sample string 2</Name> <OpenId>sample string 12</OpenId> <Phone>sample string 3</Phone> <Post>sample string 9</Post> <QrcodeUrl>sample string 13</QrcodeUrl> <Sex>5</Sex> <Title>sample string 10</Title> <approvemessage>sample string 22</approvemessage> <approvetype>21</approvetype> <area>sample string 18</area> <certificate>sample string 20</certificate> <city>sample string 17</city> <describe>sample string 15</describe> <hospitalDESC>sample string 23</hospitalDESC> <hospitaltype>24</hospitaltype> <platKey>sample string 25</platKey> <province>sample string 16</province> <spreadtype>19</spreadtype> </DoctorInfoPars>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
添加医生/推广大使
booleanResponse Formats
application/json, text/json
Sample:
{
"code": "200",
"data": true,
"msg": null
}
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>