POST api/JobContract
Request Information
URI Parameters
None.
Body Parameters
JobContractParam| Name | Description | Type | Additional information |
|---|---|---|---|
| EmployeeId | integer |
Required |
|
| ContractType | integer |
Required |
|
| StartDate | string |
Required |
|
| EndDate | string |
None. |
|
| IsPrimary | boolean |
Required |
|
| EmployeeTypeId | integer |
Required |
|
| TerminateReason | integer |
None. |
|
| UserId | integer |
None. |
|
| IsReplaceHireDate | boolean |
None. |
|
| EndDateLastJob | string |
None. |
|
| HolidayGroupId | integer |
None. |
|
| TimeTracking | integer |
Required |
|
| PayrollScheduleId | integer |
Required |
|
| TimeAndLeaveApproverId | integer |
Required |
Request Formats
application/json, text/json
Sample:
{
"EmployeeId": 1,
"ContractType": 2,
"StartDate": "sample string 3",
"EndDate": "sample string 4",
"IsPrimary": true,
"EmployeeTypeId": 6,
"TerminateReason": 7,
"UserId": 8,
"IsReplaceHireDate": true,
"EndDateLastJob": "sample string 10",
"HolidayGroupId": 11,
"TimeTracking": 12,
"PayrollScheduleId": 13,
"TimeAndLeaveApproverId": 14
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.