POST api/Attendance/PostCompOff
Request Information
URI Parameters
None.
Body Parameters
CompOffViewModelName | Description | Type | Additional information |
---|---|---|---|
FromDate | date |
None. |
|
ToDate | date |
None. |
|
NoofDays | decimal number |
None. |
|
Reason | string |
None. |
|
Comments | string |
None. |
|
EmployeeID | integer |
None. |
|
CompOffDate | string |
None. |
|
LocationID | integer |
None. |
|
DocumentPath | string |
None. |
|
DocumentName | string |
None. |
|
CompOffID | integer |
None. |
|
PersonId | integer |
None. |
|
RequestDate | date |
None. |
|
ApprovedDays | decimal number |
None. |
|
StatusCode | string |
None. |
|
CompOffStatusText | string |
None. |
|
ApprovedPersonName | string |
None. |
|
DepartmentName | string |
None. |
|
EmployeeCode | string |
None. |
|
EmployeeClassificationName | string |
None. |
|
PersonName | string |
None. |
|
AppliedDate | string |
None. |
|
EmployeeName | string |
None. |
|
EmployeeClass | string |
None. |
|
StatusText | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "FromDate": "2025-04-04T23:47:18.4999444+05:30", "ToDate": "2025-04-04T23:47:18.4999444+05:30", "NoofDays": 3.0, "Reason": "sample string 4", "Comments": "sample string 5", "EmployeeID": 6, "CompOffDate": "sample string 7", "LocationID": 8, "DocumentPath": "sample string 9", "DocumentName": "sample string 10", "CompOffID": 11, "PersonId": 12, "RequestDate": "2025-04-04T23:47:18.4999444+05:30", "ApprovedDays": 14.0, "StatusCode": "sample string 15", "CompOffStatusText": "sample string 16", "ApprovedPersonName": "sample string 17", "DepartmentName": "sample string 18", "EmployeeCode": "sample string 19", "EmployeeClassificationName": "sample string 20", "PersonName": "sample string 21", "AppliedDate": "sample string 22", "EmployeeName": "sample string 23", "EmployeeClass": "sample string 24", "StatusText": "sample string 25" }
application/xml, text/xml
Sample:
<CompOffViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HRMSWebAPI.Transaction.Attendace"> <AppliedDate>sample string 22</AppliedDate> <ApprovedDays>14</ApprovedDays> <ApprovedPersonName>sample string 17</ApprovedPersonName> <Comments>sample string 5</Comments> <CompOffDate>sample string 7</CompOffDate> <CompOffID>11</CompOffID> <CompOffStatusText>sample string 16</CompOffStatusText> <DepartmentName>sample string 18</DepartmentName> <DocumentName>sample string 10</DocumentName> <DocumentPath>sample string 9</DocumentPath> <EmployeeClass>sample string 24</EmployeeClass> <EmployeeClassificationName>sample string 20</EmployeeClassificationName> <EmployeeCode>sample string 19</EmployeeCode> <EmployeeID>6</EmployeeID> <EmployeeName>sample string 23</EmployeeName> <FromDate>2025-04-04T23:47:18.4999444+05:30</FromDate> <LocationID>8</LocationID> <NoofDays>3</NoofDays> <PersonId>12</PersonId> <PersonName>sample string 21</PersonName> <Reason>sample string 4</Reason> <RequestDate>2025-04-04T23:47:18.4999444+05:30</RequestDate> <StatusCode>sample string 15</StatusCode> <StatusText>sample string 25</StatusText> <ToDate>2025-04-04T23:47:18.4999444+05:30</ToDate> </CompOffViewModel>
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.