POST api/UserArchives/CreateOrEdit
新增、编辑员工档案
Request Information
URI Parameters
None.
Body Parameters
DAL.t_user_archives| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| UserId | integer |
None. |
|
| SalaryId | integer |
None. |
|
| VitaeFile | string |
None. |
|
| ContractEndDate | date |
None. |
|
| EnterDate | date |
None. |
|
| ProbationEndDate | date |
None. |
|
| Status | integer |
None. |
|
| UpdateDate | date |
None. |
|
| UserName | string |
None. |
|
| OrgPath | string |
None. |
|
| CompanyId | integer |
None. |
|
| CompanyName | string |
None. |
|
| EducationFile | string |
None. |
|
| EnterFile | string |
None. |
|
| ProbationFile | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"UserId": 2,
"SalaryId": 1,
"VitaeFile": "sample string 3",
"ContractEndDate": "2026-06-09T21:24:39.507166+08:00",
"EnterDate": "2026-06-09T21:24:39.5081657+08:00",
"ProbationEndDate": "2026-06-09T21:24:39.5081657+08:00",
"Status": 4,
"UpdateDate": "2026-06-09T21:24:39.5081657+08:00",
"UserName": "sample string 6",
"OrgPath": "sample string 7",
"CompanyId": 1,
"CompanyName": "sample string 8",
"EducationFile": "sample string 9",
"EnterFile": "sample string 10",
"ProbationFile": "sample string 11"
}
application/xml, text/xml
Sample:
<t_user_archives xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAL"> <CompanyId>1</CompanyId> <CompanyName>sample string 8</CompanyName> <ContractEndDate>2026-06-09T21:24:39.507166+08:00</ContractEndDate> <EducationFile>sample string 9</EducationFile> <EnterDate>2026-06-09T21:24:39.5081657+08:00</EnterDate> <EnterFile>sample string 10</EnterFile> <Id>1</Id> <OrgPath>sample string 7</OrgPath> <ProbationEndDate>2026-06-09T21:24:39.5081657+08:00</ProbationEndDate> <ProbationFile>sample string 11</ProbationFile> <SalaryId>1</SalaryId> <Status>4</Status> <UpdateDate>2026-06-09T21:24:39.5081657+08:00</UpdateDate> <UserId>2</UserId> <UserName>sample string 6</UserName> <VitaeFile>sample string 3</VitaeFile> </t_user_archives>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
System.Web.Http.Results.JsonResultOfDAL.HandleResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Content | DAL.HandleResult |
None. |
|
| SerializerSettings | Newtonsoft.Json.JsonSerializerSettings |
None. |
|
| Encoding | System.Text.Encoding |
None. |
|
| Request | System.Net.Http.HttpRequestMessage |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.