POST api/OrgStaff/AddOrgStaffSubmit

添加人员信息

Request Information

URI Parameters

None.

Body Parameters

OrgStaffDTO
NameDescriptionTypeAdditional information
StaffID

integer

None.

OrgCode

机构代码

string

String length: inclusive between 0 and 64

StaffCode

人员编号

string

String length: inclusive between 0 and 64

StaffName

姓名

string

String length: inclusive between 0 and 20

Sex

性别

string

String length: inclusive between 0 and 1

Account

账户

string

String length: inclusive between 0 and 64

Password

密码

string

String length: inclusive between 0 and 200

Tel

电话

string

String length: inclusive between 0 and 20

Mobile

手机

string

String length: inclusive between 0 and 20

WebChat

微信

string

String length: inclusive between 0 and 50

NodeCode

节点代码

string

String length: inclusive between 0 and 64

NodeName

节点名称

string

String length: inclusive between 0 and 64

IsObsoleted

是否逻辑删除

boolean

None.

CreatedBy

创建人ID

integer

None.

CreatedOn

创建时间

date

None.

SysCode

系统编号

string

String length: inclusive between 0 and 20

IDCard

身份证号

string

String length: inclusive between 0 and 30

Remark

备注

string

String length: inclusive between 0 and 500

OrderNum

排序

integer

None.

Source

来源

string

String length: inclusive between 0 and 50

OtherOrgCode

兼职机构

string

String length: inclusive between 0 and 60

Status

状态

integer

None.

Pid

Pid

string

String length: inclusive between 0 and 2000

OrgName

机构名称

string

String length: inclusive between 0 and 128

OrgType

机构类型

string

String length: inclusive between 0 and 128

OrgAddress

机构地址

string

String length: inclusive between 0 and 150

ParentCode

机构父代码

string

String length: inclusive between 0 and 64

FullPathName

全路径名称

string

String length: inclusive between 0 and 2000

FullPathCode

全路径代码

string

String length: inclusive between 0 and 2000

OrgBusCode

机构代码

string

String length: inclusive between 0 and 10

OrgCodeOrgLev1

一级分行代码

string

String length: inclusive between 0 and 64

OrgCodeDept

部门代码

string

String length: inclusive between 0 and 64

OrgCodeRoom

科室代码

string

String length: inclusive between 0 and 64

ModuleGroupIds

Collection of integer

None.

PositionIds

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "StaffID": 1,
  "OrgCode": "sample string 2",
  "StaffCode": "sample string 3",
  "StaffName": "sample string 4",
  "Sex": "sample string 5",
  "Account": "sample string 6",
  "Password": "sample string 7",
  "Tel": "sample string 8",
  "Mobile": "sample string 9",
  "WebChat": "sample string 10",
  "NodeCode": "sample string 11",
  "NodeName": "sample string 12",
  "IsObsoleted": true,
  "CreatedBy": 14,
  "CreatedOn": "2018-12-15T04:43:36.6534045+08:00",
  "SysCode": "sample string 16",
  "IDCard": "sample string 17",
  "Remark": "sample string 18",
  "OrderNum": 19,
  "Source": "sample string 20",
  "OtherOrgCode": "sample string 21",
  "Status": 1,
  "Pid": "sample string 22",
  "OrgName": "sample string 23",
  "OrgType": "sample string 24",
  "OrgAddress": "sample string 25",
  "ParentCode": "sample string 26",
  "FullPathName": "sample string 27",
  "FullPathCode": "sample string 28",
  "OrgBusCode": "sample string 29",
  "OrgCodeOrgLev1": "sample string 30",
  "OrgCodeDept": "sample string 31",
  "OrgCodeRoom": "sample string 32",
  "ModuleGroupIds": [
    1,
    1
  ],
  "PositionIds": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<OrgStaffDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <Account>sample string 6</Account>
  <CreatedBy>14</CreatedBy>
  <CreatedOn>2018-12-15T04:43:36.6534045+08:00</CreatedOn>
  <FullPathCode>sample string 28</FullPathCode>
  <FullPathName>sample string 27</FullPathName>
  <IDCard>sample string 17</IDCard>
  <IsObsoleted>true</IsObsoleted>
  <Mobile>sample string 9</Mobile>
  <ModuleGroupIds xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>1</d2p1:int>
  </ModuleGroupIds>
  <NodeCode>sample string 11</NodeCode>
  <NodeName>sample string 12</NodeName>
  <OrderNum>19</OrderNum>
  <OrgAddress>sample string 25</OrgAddress>
  <OrgBusCode>sample string 29</OrgBusCode>
  <OrgCode>sample string 2</OrgCode>
  <OrgCodeDept>sample string 31</OrgCodeDept>
  <OrgCodeOrgLev1>sample string 30</OrgCodeOrgLev1>
  <OrgCodeRoom>sample string 32</OrgCodeRoom>
  <OrgName>sample string 23</OrgName>
  <OrgType>sample string 24</OrgType>
  <OtherOrgCode>sample string 21</OtherOrgCode>
  <ParentCode>sample string 26</ParentCode>
  <Password>sample string 7</Password>
  <Pid>sample string 22</Pid>
  <PositionIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </PositionIds>
  <Remark>sample string 18</Remark>
  <Sex>sample string 5</Sex>
  <Source>sample string 20</Source>
  <StaffCode>sample string 3</StaffCode>
  <StaffID>1</StaffID>
  <StaffName>sample string 4</StaffName>
  <Status>1</Status>
  <SysCode>sample string 16</SysCode>
  <Tel>sample string 8</Tel>
  <WebChat>sample string 10</WebChat>
</OrgStaffDTO>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'OrgStaffDTO'.

Response Information

Resource Description

添加人员信息

StatusDTO
NameDescriptionTypeAdditional information
Status

状态

integer

None.

StatusMessage

消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "StatusMessage": "sample string 1"
}

application/xml, text/xml

Sample:
<StatusDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <Status>1</Status>
  <StatusMessage>sample string 1</StatusMessage>
</StatusDTO>