POST Operator/Edit_Employee_Leave?Ticket={Ticket}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Ticket

string

Required

Body Parameters

Employee_Leave
NameDescriptionTypeAdditional information
EMPLOYEE_LEAVE_ID

integer

None.

EMPLOYEE_ID

integer

None.

LEAVE_TYPE_ID

integer

None.

LEAVE_FROM

string

None.

LEAVE_TO

string

None.

IS_PAID

boolean

None.

DAYS_COUNT

decimal number

None.

REMARKS

string

None.

NOTES

string

None.

LEAVE_TYPE_NAME

string

None.

EMPLOYEE_NAME

string

None.

SCHEDULE_NAME

string

None.

CURRENT_POST

string

None.

TOTAL_PAID_VACATIONS

integer

None.

TOTAL_UNPAID_VACATIONS

integer

None.

TOTAL_PAID_SICKNESS

integer

None.

TOTAL_UNPAID_SICKNESS

integer

None.

ALLOWED_PAID_VACATIONS

integer

None.

ALLOWED_PAID_SICKNESS

integer

None.

EMPLOYMENT_DATE

string

None.

EMAIL

string

None.

PHONE_NB

string

None.

CURRENT_YEAR

integer

None.

IGNORE_ALLOWANCE

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "EMPLOYEE_LEAVE_ID": 1,
  "EMPLOYEE_ID": 2,
  "LEAVE_TYPE_ID": 3,
  "LEAVE_FROM": "sample string 4",
  "LEAVE_TO": "sample string 5",
  "IS_PAID": true,
  "DAYS_COUNT": 1.0,
  "REMARKS": "sample string 6",
  "NOTES": "sample string 7",
  "LEAVE_TYPE_NAME": "sample string 8",
  "EMPLOYEE_NAME": "sample string 9",
  "SCHEDULE_NAME": "sample string 10",
  "CURRENT_POST": "sample string 11",
  "TOTAL_PAID_VACATIONS": 12,
  "TOTAL_UNPAID_VACATIONS": 13,
  "TOTAL_PAID_SICKNESS": 14,
  "TOTAL_UNPAID_SICKNESS": 15,
  "ALLOWED_PAID_VACATIONS": 16,
  "ALLOWED_PAID_SICKNESS": 17,
  "EMPLOYMENT_DATE": "sample string 18",
  "EMAIL": "sample string 19",
  "PHONE_NB": "sample string 20",
  "CURRENT_YEAR": 21,
  "IGNORE_ALLOWANCE": true
}

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

Response Information

Resource Description

Result_Get_Employee_Leave
NameDescriptionTypeAdditional information
My_Result

Employee_Leave

None.

Message

string

None.

ExceptionMsg

string

None.

Response Formats

application/json, text/json

Sample:
{
  "My_Result": {
    "EMPLOYEE_LEAVE_ID": 1,
    "EMPLOYEE_ID": 2,
    "LEAVE_TYPE_ID": 3,
    "LEAVE_FROM": "sample string 4",
    "LEAVE_TO": "sample string 5",
    "IS_PAID": true,
    "DAYS_COUNT": 1.0,
    "REMARKS": "sample string 6",
    "NOTES": "sample string 7",
    "LEAVE_TYPE_NAME": "sample string 8",
    "EMPLOYEE_NAME": "sample string 9",
    "SCHEDULE_NAME": "sample string 10",
    "CURRENT_POST": "sample string 11",
    "TOTAL_PAID_VACATIONS": 12,
    "TOTAL_UNPAID_VACATIONS": 13,
    "TOTAL_PAID_SICKNESS": 14,
    "TOTAL_UNPAID_SICKNESS": 15,
    "ALLOWED_PAID_VACATIONS": 16,
    "ALLOWED_PAID_SICKNESS": 17,
    "EMPLOYMENT_DATE": "sample string 18",
    "EMAIL": "sample string 19",
    "PHONE_NB": "sample string 20",
    "CURRENT_YEAR": 21,
    "IGNORE_ALLOWANCE": true
  },
  "Message": "sample string 1",
  "ExceptionMsg": "sample string 2"
}