POST api/User?fromModule={fromModule}&ip={ip}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| fromModule | string |
Required |
|
| ip | string |
Required |
Body Parameters
SY_user| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
唯一标识 |
integer |
None. |
| loginName |
用户名称 |
string |
None. |
| loginPass |
用户密码 |
string |
None. |
| userName |
真实姓名 |
string |
None. |
| userNameEn | string |
None. |
|
| depaCode |
所属部门 |
integer |
None. |
| roleCode |
管理权限 |
integer |
None. |
| state |
是否锁定 |
string |
None. |
| endDateNum |
最后登录时间 |
date |
None. |
| default_currency |
默认货币id |
integer |
None. |
| default_customer |
默认客户id |
integer |
None. |
| default_worktype |
默认工作类型id |
integer |
None. |
| inputDate |
录入时间 |
date |
None. |
| inputUser |
录入者id |
string |
None. |
| firstName |
名 |
string |
None. |
| lastName |
姓 |
string |
None. |
| initials |
名字缩写 |
string |
None. |
|
电子邮件 |
string |
None. |
|
| phone |
固定电话 |
string |
None. |
| cellPhone |
手机 |
string |
None. |
| gender |
性别 |
integer |
None. |
| active |
是否启用 |
byte |
None. |
| lastFailedLoginDate |
上次登录失败时间 |
date |
None. |
| position |
职位 |
integer |
None. |
| timeZone |
所在时区 |
string |
None. |
| isTraining |
工作性质-培训 |
string |
None. |
| isPartTime |
工作性质-兼职 |
string |
None. |
| isWorkFromHome |
工作性质-在家办公 |
string |
None. |
| intoDate |
进公司时间 |
date |
None. |
| changeDate |
录用时间 |
date |
None. |
| peopleCode |
身份证 |
string |
None. |
| zipCode |
邮编 |
string |
None. |
| remark |
备注 |
string |
None. |
| Expertise |
声称领域 |
string |
None. |
| belongGroup |
所在组 |
string |
None. |
| LevelCode |
职级 |
string |
None. |
| homeAddress |
家庭住址 |
string |
None. |
| personalEmail |
私人邮件 |
string |
None. |
| allowedIP |
允许登录的IP |
string |
None. |
| isFullTime | string |
None. |
|
| bankAccount | string |
None. |
|
| bankAccountName | string |
None. |
|
| accountWithBank | string |
None. |
|
| alipayAccount | string |
None. |
|
| alipayAccountName | string |
None. |
|
| Individual | integer |
None. |
|
| OPMailTemplateId | integer |
None. |
|
| InvoiceMailTemplateId | integer |
None. |
|
| OverSeaAccountname | string |
None. |
|
| OverSeaSwiftCode | string |
None. |
|
| OverSeaAccountNumber | string |
None. |
|
| OverSeaClearCode | string |
None. |
|
| OverSeaBankAddress | string |
None. |
|
| OverSeaBankName | string |
None. |
|
| createUser | integer |
None. |
|
| homePath | string |
None. |
|
| Fax | string |
None. |
|
| VATRegistrationNo | string |
None. |
|
| OverSeaPayPalAccount | string |
None. |
|
| OverSeaSmartcatAccount | string |
None. |
|
| country |
国家 |
integer |
None. |
| region |
省份 |
integer |
None. |
| address1 |
地址1 |
string |
None. |
| address2 |
地址2 |
string |
None. |
| city |
城市 |
string |
None. |
| nativeLanguage | string |
None. |
|
| originCountry |
原国籍 |
integer |
None. |
| phone2 | string |
None. |
|
| phone3 | string |
None. |
|
| email2 | string |
None. |
|
| website | string |
None. |
|
| website2 | string |
None. |
|
| creater | integer |
None. |
|
| SpecializationsCheck |
核实领域 |
string |
None. |
| bankAccountPhone |
银行卡绑定的手机号 |
string |
None. |
| settlementRemark | string |
None. |
|
| iconPath | string |
None. |
|
| TrialTranslationEvaluation |
TrialTranslationEvaluation |
string |
None. |
| QualitativeEvaluation |
定性评价 |
string |
None. |
| VendorTags |
资源标签 |
string |
None. |
| otherInfo |
日期安排 |
string |
None. |
| XTRF_Vendor_Info | Collection of XTRF_Vendor_Info |
None. |
|
| XTRF_Vendor_Vacation | Collection of XTRF_Vendor_Vacation |
None. |
Request Formats
application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded, multipart/form-data
Sample not available.
Response Information
Resource Description
resultSuccess| Name | Description | Type | Additional information |
|---|---|---|---|
| code |
0 =SUCCESS,1=ERROR,401TIMEOUT |
integer |
None. |
| result | Object |
None. |
|
| message | string |
None. |
|
| type | string |
None. |
|
| page | string |
None. |
|
| pageSize | string |
None. |
Response Formats
application/json, text/json
{
"code": 1,
"result": {},
"message": "sample string 3",
"type": "sample string 4",
"page": "sample string 5",
"pageSize": "sample string 6"
}
application/xml, text/xml
<resultSuccess xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Base.Entities"> <code>1</code> <message>sample string 3</message> <page>sample string 5</page> <pageSize>sample string 6</pageSize> <result /> <type>sample string 4</type> </resultSuccess>
multipart/form-data
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="code" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="result" System.Object --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="message" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="type" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="page" sample string 5 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="pageSize" sample string 6 --MultipartDataMediaFormatterBoundary1q2w3e--