POST api/localizacao/set_localizacao
Request Information
URI Parameters
None.
Body Parameters
MLocalizacaoName | Description | Type | Additional information |
---|---|---|---|
id | integer |
None. |
|
DataRegistro | date |
None. |
|
Latitude | decimal number |
None. |
|
Longitude | decimal number |
None. |
|
EnviadoExterno | boolean |
None. |
|
STGPS | boolean |
None. |
|
STDataHoraAutomatica | boolean |
None. |
|
ColaboradorFK | integer |
None. |
|
DataRecebido | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": 1, "DataRegistro": "2025-04-03T23:14:14.814572-03:00", "Latitude": 3.1, "Longitude": 4.1, "EnviadoExterno": true, "STGPS": true, "STDataHoraAutomatica": true, "ColaboradorFK": 8, "DataRecebido": "2025-04-03T23:14:14.814572-03:00" }
application/xml, text/xml
Sample:
<MLocalizacao xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ponto.API.Utils.Classes.GELT"> <ColaboradorFK>8</ColaboradorFK> <DataRecebido>2025-04-03T23:14:14.814572-03:00</DataRecebido> <DataRegistro>2025-04-03T23:14:14.814572-03:00</DataRegistro> <EnviadoExterno>true</EnviadoExterno> <Latitude>3.1</Latitude> <Longitude>4.1</Longitude> <STDataHoraAutomatica>true</STDataHoraAutomatica> <STGPS>true</STGPS> <id>1</id> </MLocalizacao>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.