POST api/EmployeeLeave/PostEmployeeShiftDetails
Request Information
URI Parameters
None.
Body Parameters
EmpShiftDetails| Name | Description | Type | Additional information |
|---|---|---|---|
| ESD_ID | integer |
None. |
|
| EMP_ID | integer |
None. |
|
| ESD_SHIFT_ID | integer |
None. |
|
| ESD_VALID_FROM | date |
None. |
|
| ESD_VALID_TO | date |
None. |
|
| ESD_NOTES | string |
None. |
|
| ESD_CREATED_BY | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ESD_ID": 1,
"EMP_ID": 1,
"ESD_SHIFT_ID": 1,
"ESD_VALID_FROM": "2025-12-06T04:26:29.9232301+00:00",
"ESD_VALID_TO": "2025-12-06T04:26:29.9232301+00:00",
"ESD_NOTES": "sample string 1",
"ESD_CREATED_BY": "sample string 2"
}
application/xml, text/xml
Sample:
<EmpShiftDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZealitAPI.Models"> <EMP_ID>1</EMP_ID> <ESD_CREATED_BY>sample string 2</ESD_CREATED_BY> <ESD_ID>1</ESD_ID> <ESD_NOTES>sample string 1</ESD_NOTES> <ESD_SHIFT_ID>1</ESD_SHIFT_ID> <ESD_VALID_FROM>2025-12-06T04:26:29.9232301+00:00</ESD_VALID_FROM> <ESD_VALID_TO>2025-12-06T04:26:29.9232301+00:00</ESD_VALID_TO> </EmpShiftDetails>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |