PUT api/JobContract/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
JobContractEditParam| Name | Description | Type | Additional information |
|---|---|---|---|
| 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 |
None. |
|
| PayrollScheduleId | integer |
None. |
|
| TimeAndLeaveApproverId | integer |
None. |
|
| IsDoNotRehire | boolean |
None. |
|
| DoNotRehireReason | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ContractType": 1,
"StartDate": "sample string 2",
"EndDate": "sample string 3",
"IsPrimary": true,
"EmployeeTypeId": 5,
"TerminateReason": 6,
"UserId": 7,
"IsReplaceHireDate": true,
"EndDateLastJob": "sample string 9",
"HolidayGroupId": 10,
"TimeTracking": 11,
"PayrollScheduleId": 12,
"TimeAndLeaveApproverId": 13,
"IsDoNotRehire": true,
"DoNotRehireReason": "sample string 15"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.