POST api/AttendanceLog
Request Information
URI Parameters
None.
Body Parameters
AttendanceLog| Name | Description | Type | Additional information |
|---|---|---|---|
| AttendanceLogId | integer |
None. |
|
| EmployeeId | integer |
None. |
|
| UserId | integer |
None. |
|
| LogTime | date |
None. |
|
| Longitude | decimal number |
None. |
|
| Latitude | decimal number |
None. |
|
| LogComments | string |
None. |
|
| CreatedDate | date |
Data type: DateTime |
|
| CreatedBy | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"AttendanceLogId": 1,
"EmployeeId": 1,
"UserId": 1,
"LogTime": "2025-12-08T01:08:20.8769775+05:30",
"Longitude": 1.1,
"Latitude": 1.1,
"LogComments": "sample string 3",
"CreatedDate": "2025-12-08T01:08:20.8769775+05:30",
"CreatedBy": "sample string 5"
}
application/xml, text/xml
Sample:
<AttendanceLog xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Morph.Domain.Entities"> <CreatedBy>sample string 5</CreatedBy> <CreatedDate>2025-12-08T01:08:20.8769775+05:30</CreatedDate> <AttendanceLogId>1</AttendanceLogId> <EmployeeId>1</EmployeeId> <Latitude>1.1</Latitude> <LogComments>sample string 3</LogComments> <LogTime>2025-12-08T01:08:20.8769775+05:30</LogTime> <Longitude>1.1</Longitude> <UserId>1</UserId> </AttendanceLog>
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. |