PUT api/AttendanceLocation/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
AttendanceLocation| Name | Description | Type | Additional information |
|---|---|---|---|
| AttendanceLocationId | integer |
None. |
|
| AttendanceId | integer |
None. |
|
| LoginLogutTime | date |
None. |
|
| Longitude | decimal number |
None. |
|
| Latitude | decimal number |
None. |
|
| LogType | integer |
None. |
|
| WorkLocationType | integer |
None. |
|
| WorkLocationId | integer |
None. |
|
| WorkLatitude | decimal number |
None. |
|
| WorkLongitude | decimal number |
None. |
|
| Radius | integer |
None. |
|
| LoginLogoutDistance | decimal number |
None. |
|
| LocationCode | string |
None. |
|
| LocationName | string |
None. |
|
| CreatedDate | date |
Data type: DateTime |
|
| CreatedBy | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"AttendanceLocationId": 1,
"AttendanceId": 2,
"LoginLogutTime": "2025-12-08T01:39:52.5332315+05:30",
"Longitude": 4.1,
"Latitude": 5.1,
"LogType": 6,
"WorkLocationType": 7,
"WorkLocationId": 1,
"WorkLatitude": 1.1,
"WorkLongitude": 1.1,
"Radius": 8,
"LoginLogoutDistance": 9.1,
"LocationCode": "sample string 10",
"LocationName": "sample string 11",
"CreatedDate": "2025-12-08T01:39:52.5332315+05:30",
"CreatedBy": "sample string 13"
}
application/xml, text/xml
Sample:
<AttendanceLocation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Morph.Domain.Entities"> <CreatedBy>sample string 13</CreatedBy> <CreatedDate>2025-12-08T01:39:52.5332315+05:30</CreatedDate> <AttendanceId>2</AttendanceId> <AttendanceLocationId>1</AttendanceLocationId> <Latitude>5.1</Latitude> <LocationCode>sample string 10</LocationCode> <LocationName>sample string 11</LocationName> <LogType>6</LogType> <LoginLogoutDistance>9.1</LoginLogoutDistance> <LoginLogutTime>2025-12-08T01:39:52.5332315+05:30</LoginLogutTime> <Longitude>4.1</Longitude> <Radius>8</Radius> <WorkLatitude>1.1</WorkLatitude> <WorkLocationId>1</WorkLocationId> <WorkLocationType>7</WorkLocationType> <WorkLongitude>1.1</WorkLongitude> </AttendanceLocation>
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. |