PATCH api/EmployeeLeave/UpdateEmployeeLeave
Request Information
URI Parameters
None.
Body Parameters
EmployeeLeavesName | Description | Type | Additional information |
---|---|---|---|
EmployeeLeave | Collection of EmployeeLeave |
None. |
Request Formats
application/xml, text/xml
Sample:
<EmployeeLeaves xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <EmployeeLeave> <EmployeeID>sample string 1</EmployeeID> <Year>2</Year> <ID>3</ID> <Locked>64</Locked> <Source>sample string 4</Source> <Class>sample string 5</Class> <Description>sample string 6</Description> <NumHours>1</NumHours> <NumDays>1</NumDays> <Month>1</Month> <AbsenceFrom>2024-11-21T15:20:00.0050284+01:00</AbsenceFrom> <AbsenceTo>2024-11-21T15:20:00.0050284+01:00</AbsenceTo> <AdditionalLeaveID>sample string 7</AdditionalLeaveID> <Group>1</Group> <PrepID>1</PrepID> </EmployeeLeave> <EmployeeLeave> <EmployeeID>sample string 1</EmployeeID> <Year>2</Year> <ID>3</ID> <Locked>64</Locked> <Source>sample string 4</Source> <Class>sample string 5</Class> <Description>sample string 6</Description> <NumHours>1</NumHours> <NumDays>1</NumDays> <Month>1</Month> <AbsenceFrom>2024-11-21T15:20:00.0050284+01:00</AbsenceFrom> <AbsenceTo>2024-11-21T15:20:00.0050284+01:00</AbsenceTo> <AdditionalLeaveID>sample string 7</AdditionalLeaveID> <Group>1</Group> <PrepID>1</PrepID> </EmployeeLeave> </EmployeeLeaves>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
UpdateResultName | Description | Type | Additional information |
---|---|---|---|
ResultCode | ExternalResultCode |
None. |
|
Errors | Collection of Error |
None. |
Response Formats
application/xml, text/xml
Sample:
<UpdateResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ResultCode>None</ResultCode> <Errors> <Error> <Level>Warning</Level> <Message>sample string 1</Message> </Error> <Error> <Level>Warning</Level> <Message>sample string 1</Message> </Error> </Errors> </UpdateResult>