POST api/Attendance
Request Information
URI Parameters
None.
Body Parameters
Attendance| Name | Description | Type | Additional information |
|---|---|---|---|
| InDate | date |
None. |
|
| SuperviserId | integer |
None. |
|
| EmployeeId | integer |
None. |
|
| ShiftId | integer |
None. |
|
| PhotoPath | string |
None. |
|
| Hours | decimal number |
None. |
|
| Id | integer |
None. |
|
| Active | boolean |
None. |
|
| CreatedBy | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"InDate": "2025-12-16T13:18:13.4005928+05:30",
"SuperviserId": 2,
"EmployeeId": 3,
"ShiftId": 4,
"PhotoPath": "sample string 5",
"Hours": 6.0,
"Id": 7,
"Active": true,
"CreatedBy": "sample string 9"
}
application/xml, text/xml
Sample:
<Attendance xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TrueCodeAPI.Model"> <Active>true</Active> <CreatedBy>sample string 9</CreatedBy> <Id>7</Id> <EmployeeId>3</EmployeeId> <Hours>6</Hours> <InDate>2025-12-16T13:18:13.4005928+05:30</InDate> <PhotoPath>sample string 5</PhotoPath> <ShiftId>4</ShiftId> <SuperviserId>2</SuperviserId> </Attendance>
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. |