POST api/PunchLog/InsertLocationPing
Request Information
URI Parameters
None.
Body Parameters
tpy_locationping| Name | Description | Type | Additional information |
|---|---|---|---|
| user_code | decimal number |
None. |
|
| locationping_code | decimal number |
None. |
|
| com_code | decimal number |
None. |
|
| latitude | decimal number |
None. |
|
| longitude | decimal number |
None. |
|
| locationpingtype | decimal number |
None. |
|
| locationpingtime | date |
None. |
|
| locationservices | string |
None. |
|
| address | string |
None. |
|
| city | string |
None. |
|
| country | string |
None. |
|
| currentLocation | string |
None. |
|
| batterylevel | decimal number |
None. |
|
| imeinumber | string |
None. |
|
| UserName | string |
None. |
|
| emp_code | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"user_code": 1.0,
"locationping_code": 1.0,
"com_code": 2.0,
"latitude": 3.0,
"longitude": 4.0,
"locationpingtype": 5.0,
"locationpingtime": "2025-12-06T12:20:57.5461906+05:30",
"locationservices": "sample string 7",
"address": "sample string 8",
"city": "sample string 9",
"country": "sample string 10",
"currentLocation": "sample string 11",
"batterylevel": 12.0,
"imeinumber": "sample string 13",
"UserName": "sample string 14",
"emp_code": "sample string 15"
}
application/xml, text/xml
Sample:
<tpy_locationping xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SpotEZ.Data.DAL"> <UserName>sample string 14</UserName> <address>sample string 8</address> <batterylevel>12</batterylevel> <city>sample string 9</city> <com_code>2</com_code> <country>sample string 10</country> <currentLocation>sample string 11</currentLocation> <emp_code>sample string 15</emp_code> <imeinumber>sample string 13</imeinumber> <latitude>3</latitude> <locationping_code>1</locationping_code> <locationpingtime>2025-12-06T12:20:57.5461906+05:30</locationpingtime> <locationpingtype>5</locationpingtype> <locationservices>sample string 7</locationservices> <longitude>4</longitude> <user_code>1</user_code> </tpy_locationping>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.