POST api/SunOA/PI_UserInfo
添加
Request Information
URI Parameters
None.
Body Parameters
PI_UserInfoName | Description | Type | Additional information |
---|---|---|---|
Dept |
部门 |
string |
None. |
Post |
职务 |
string |
None. |
SortIndex | string |
None. |
|
UserId | integer |
None. |
|
LoginName | string |
None. |
|
LoginNumber | integer |
None. |
|
Pwd | string |
None. |
|
FullName | string |
None. |
|
UserName | string |
None. |
|
Initials | string |
None. |
|
Sex | integer |
None. |
|
Photo | string |
None. |
|
OriginalPic | string |
None. |
|
IDNumber | string |
None. |
|
RoomNumber | string |
None. |
|
NativePlace | string |
None. |
|
Birthplace | string |
None. |
|
RegisteredResidence | string |
None. |
|
CurrentResidence | string |
None. |
|
PoliticalOutlook | integer |
None. |
|
string |
None. |
||
string |
None. |
||
string |
None. |
||
MobilePhone | string |
None. |
|
MoreMobilePhone | string |
None. |
|
OfficePhone | string |
None. |
|
Salaried | boolean |
None. |
|
PTID | integer |
None. |
|
ZhuSuo | boolean |
None. |
|
USID | integer |
None. |
|
AddUserId | integer |
None. |
|
SysTimeStart | date |
None. |
|
SysTimeEnd | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "Dept": "sample string 1", "Post": "sample string 2", "SortIndex": "sample string 3", "UserId": 4, "LoginName": "sample string 5", "LoginNumber": 1, "Pwd": "sample string 6", "FullName": "sample string 7", "UserName": "sample string 8", "Initials": "sample string 9", "Sex": 1, "Photo": "sample string 10", "OriginalPic": "sample string 11", "IDNumber": "sample string 12", "RoomNumber": "sample string 13", "NativePlace": "sample string 14", "Birthplace": "sample string 15", "RegisteredResidence": "sample string 16", "CurrentResidence": "sample string 17", "PoliticalOutlook": 1, "Email": "sample string 18", "WeChat": "sample string 19", "QQ": "sample string 20", "MobilePhone": "sample string 21", "MoreMobilePhone": "sample string 22", "OfficePhone": "sample string 23", "Salaried": true, "PTID": 1, "ZhuSuo": true, "USID": 1, "AddUserId": 1, "SysTimeStart": "2024-11-21T17:35:15.7594998+08:00", "SysTimeEnd": "2024-11-21T17:35:15.7594998+08:00" }
application/xml, text/xml
Sample:
<PI_UserInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SunOAWebAPI.Areas.SunOA.Data"> <AddUserId>1</AddUserId> <Birthplace>sample string 15</Birthplace> <CurrentResidence>sample string 17</CurrentResidence> <Dept>sample string 1</Dept> <Email>sample string 18</Email> <FullName>sample string 7</FullName> <IDNumber>sample string 12</IDNumber> <Initials>sample string 9</Initials> <LoginName>sample string 5</LoginName> <LoginNumber>1</LoginNumber> <MobilePhone>sample string 21</MobilePhone> <MoreMobilePhone>sample string 22</MoreMobilePhone> <NativePlace>sample string 14</NativePlace> <OfficePhone>sample string 23</OfficePhone> <OriginalPic>sample string 11</OriginalPic> <PTID>1</PTID> <Photo>sample string 10</Photo> <PoliticalOutlook>1</PoliticalOutlook> <Post>sample string 2</Post> <Pwd>sample string 6</Pwd> <QQ>sample string 20</QQ> <RegisteredResidence>sample string 16</RegisteredResidence> <RoomNumber>sample string 13</RoomNumber> <Salaried>true</Salaried> <Sex>1</Sex> <SortIndex>sample string 3</SortIndex> <SysTimeEnd>2024-11-21T17:35:15.7594998+08:00</SysTimeEnd> <SysTimeStart>2024-11-21T17:35:15.7594998+08:00</SysTimeStart> <USID>1</USID> <UserId>4</UserId> <UserName>sample string 8</UserName> <WeChat>sample string 19</WeChat> <ZhuSuo>true</ZhuSuo> </PI_UserInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
State 0=成功 1=失败 2=已存在
PI_UserInfoName | Description | Type | Additional information |
---|---|---|---|
Dept |
部门 |
string |
None. |
Post |
职务 |
string |
None. |
SortIndex | string |
None. |
|
UserId | integer |
None. |
|
LoginName | string |
None. |
|
LoginNumber | integer |
None. |
|
Pwd | string |
None. |
|
FullName | string |
None. |
|
UserName | string |
None. |
|
Initials | string |
None. |
|
Sex | integer |
None. |
|
Photo | string |
None. |
|
OriginalPic | string |
None. |
|
IDNumber | string |
None. |
|
RoomNumber | string |
None. |
|
NativePlace | string |
None. |
|
Birthplace | string |
None. |
|
RegisteredResidence | string |
None. |
|
CurrentResidence | string |
None. |
|
PoliticalOutlook | integer |
None. |
|
string |
None. |
||
string |
None. |
||
string |
None. |
||
MobilePhone | string |
None. |
|
MoreMobilePhone | string |
None. |
|
OfficePhone | string |
None. |
|
Salaried | boolean |
None. |
|
PTID | integer |
None. |
|
ZhuSuo | boolean |
None. |
|
USID | integer |
None. |
|
AddUserId | integer |
None. |
|
SysTimeStart | date |
None. |
|
SysTimeEnd | date |
None. |
Response Formats
application/json, text/json
Sample:
{ "Dept": "sample string 1", "Post": "sample string 2", "SortIndex": "sample string 3", "UserId": 4, "LoginName": "sample string 5", "LoginNumber": 1, "Pwd": "sample string 6", "FullName": "sample string 7", "UserName": "sample string 8", "Initials": "sample string 9", "Sex": 1, "Photo": "sample string 10", "OriginalPic": "sample string 11", "IDNumber": "sample string 12", "RoomNumber": "sample string 13", "NativePlace": "sample string 14", "Birthplace": "sample string 15", "RegisteredResidence": "sample string 16", "CurrentResidence": "sample string 17", "PoliticalOutlook": 1, "Email": "sample string 18", "WeChat": "sample string 19", "QQ": "sample string 20", "MobilePhone": "sample string 21", "MoreMobilePhone": "sample string 22", "OfficePhone": "sample string 23", "Salaried": true, "PTID": 1, "ZhuSuo": true, "USID": 1, "AddUserId": 1, "SysTimeStart": "2024-11-21T17:35:15.7751303+08:00", "SysTimeEnd": "2024-11-21T17:35:15.7751303+08:00" }
application/xml, text/xml
Sample:
<PI_UserInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SunOAWebAPI.Areas.SunOA.Data"> <AddUserId>1</AddUserId> <Birthplace>sample string 15</Birthplace> <CurrentResidence>sample string 17</CurrentResidence> <Dept>sample string 1</Dept> <Email>sample string 18</Email> <FullName>sample string 7</FullName> <IDNumber>sample string 12</IDNumber> <Initials>sample string 9</Initials> <LoginName>sample string 5</LoginName> <LoginNumber>1</LoginNumber> <MobilePhone>sample string 21</MobilePhone> <MoreMobilePhone>sample string 22</MoreMobilePhone> <NativePlace>sample string 14</NativePlace> <OfficePhone>sample string 23</OfficePhone> <OriginalPic>sample string 11</OriginalPic> <PTID>1</PTID> <Photo>sample string 10</Photo> <PoliticalOutlook>1</PoliticalOutlook> <Post>sample string 2</Post> <Pwd>sample string 6</Pwd> <QQ>sample string 20</QQ> <RegisteredResidence>sample string 16</RegisteredResidence> <RoomNumber>sample string 13</RoomNumber> <Salaried>true</Salaried> <Sex>1</Sex> <SortIndex>sample string 3</SortIndex> <SysTimeEnd>2024-11-21T17:35:15.7751303+08:00</SysTimeEnd> <SysTimeStart>2024-11-21T17:35:15.7751303+08:00</SysTimeStart> <USID>1</USID> <UserId>4</UserId> <UserName>sample string 8</UserName> <WeChat>sample string 19</WeChat> <ZhuSuo>true</ZhuSuo> </PI_UserInfo>