POST api/EmployeeHireAndTermAPI/TerminationEmployee

离职人员

Request Information

URI Parameters

None.

Body Parameters

TermInput
NameDescriptionTypeAdditional information
Employee_GID

string

None.

Name

string

None.

ID

string

None.

TerminateDate

date

None.

LastWorkDate

date

None.

SocialEndMonth

string

None.

TerminateType

string

None.

TerminateReasonType

string

None.

TerminateReason

string

None.

TurnoverType

string

None.

LastContractStartDate

date

None.

LastContractEndDate

date

None.

AddressType

string

None.

OtherAddress

string

None.

OtherZip

string

None.

Remark

string

None.

MonthSalary

decimal number

None.

Month12Salary

decimal number

None.

AllSalary

decimal number

None.

hkszd

string

None.

jzszd

string

None.

regZip

string

None.

regAddress

string

None.

resideZip

string

None.

resideAddress

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Employee_GID": "sample string 1",
  "Name": "sample string 2",
  "ID": "sample string 3",
  "TerminateDate": "2025-05-04T16:21:52.7192603+08:00",
  "LastWorkDate": "2025-05-04T16:21:52.7192603+08:00",
  "SocialEndMonth": "sample string 6",
  "TerminateType": "sample string 7",
  "TerminateReasonType": "sample string 8",
  "TerminateReason": "sample string 9",
  "TurnoverType": "sample string 10",
  "LastContractStartDate": "2025-05-04T16:21:52.7192603+08:00",
  "LastContractEndDate": "2025-05-04T16:21:52.7192603+08:00",
  "AddressType": "sample string 11",
  "OtherAddress": "sample string 12",
  "OtherZip": "sample string 13",
  "Remark": "sample string 14",
  "MonthSalary": 1.1,
  "Month12Salary": 1.1,
  "AllSalary": 1.1,
  "hkszd": "sample string 15",
  "jzszd": "sample string 16",
  "regZip": "sample string 17",
  "regAddress": "sample string 18",
  "resideZip": "sample string 19",
  "resideAddress": "sample string 20"
}

application/xml, text/xml

Sample:
<TermInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JetHR.Personnel.Model">
  <AddressType>sample string 11</AddressType>
  <AllSalary>1.1</AllSalary>
  <Employee_GID>sample string 1</Employee_GID>
  <ID>sample string 3</ID>
  <LastContractEndDate>2025-05-04T16:21:52.7192603+08:00</LastContractEndDate>
  <LastContractStartDate>2025-05-04T16:21:52.7192603+08:00</LastContractStartDate>
  <LastWorkDate>2025-05-04T16:21:52.7192603+08:00</LastWorkDate>
  <Month12Salary>1.1</Month12Salary>
  <MonthSalary>1.1</MonthSalary>
  <Name>sample string 2</Name>
  <OtherAddress>sample string 12</OtherAddress>
  <OtherZip>sample string 13</OtherZip>
  <Remark>sample string 14</Remark>
  <SocialEndMonth>sample string 6</SocialEndMonth>
  <TerminateDate>2025-05-04T16:21:52.7192603+08:00</TerminateDate>
  <TerminateReason>sample string 9</TerminateReason>
  <TerminateReasonType>sample string 8</TerminateReasonType>
  <TerminateType>sample string 7</TerminateType>
  <TurnoverType>sample string 10</TurnoverType>
  <hkszd>sample string 15</hkszd>
  <jzszd>sample string 16</jzszd>
  <regAddress>sample string 18</regAddress>
  <regZip>sample string 17</regZip>
  <resideAddress>sample string 20</resideAddress>
  <resideZip>sample string 19</resideZip>
</TermInput>

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 'TermInput'.

Response Information

Resource Description

离职人员

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>