POST api/Values/SendGpsDatas
Request Information
URI Parameters
None.
Body Parameters
InSendGpsDatasName | Description | Type | Additional information |
---|---|---|---|
pw | string |
None. |
|
municipalityid | integer |
None. |
|
accountid | integer |
None. |
|
deviceid | integer |
None. |
|
gpsDatas | Collection of GpsData |
None. |
|
dayoperationtime | integer |
None. |
|
nightoperationtime | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "pw": "sample string 1", "municipalityid": 2, "accountid": 3, "deviceid": 4, "gpsDatas": [ { "datetime": "sample string 1", "operation": 2, "lat": "sample string 3", "lng": "sample string 4", "degree": "sample string 5", "distance": "sample string 6", "accuracy": "sample string 7", "rawlat": "sample string 8", "rawlng": "sample string 9", "taskid": 10, "stayflg": 11 }, { "datetime": "sample string 1", "operation": 2, "lat": "sample string 3", "lng": "sample string 4", "degree": "sample string 5", "distance": "sample string 6", "accuracy": "sample string 7", "rawlat": "sample string 8", "rawlng": "sample string 9", "taskid": 10, "stayflg": 11 } ], "dayoperationtime": 5, "nightoperationtime": 6 }
application/xml, text/xml
Sample:
<InSendGpsDatas xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api.Models.Api"> <accountid>3</accountid> <dayoperationtime>5</dayoperationtime> <deviceid>4</deviceid> <gpsDatas> <GpsData> <accuracy>sample string 7</accuracy> <datetime>sample string 1</datetime> <degree>sample string 5</degree> <distance>sample string 6</distance> <lat>sample string 3</lat> <lng>sample string 4</lng> <operation>2</operation> <rawlat>sample string 8</rawlat> <rawlng>sample string 9</rawlng> <stayflg>11</stayflg> <taskid>10</taskid> </GpsData> <GpsData> <accuracy>sample string 7</accuracy> <datetime>sample string 1</datetime> <degree>sample string 5</degree> <distance>sample string 6</distance> <lat>sample string 3</lat> <lng>sample string 4</lng> <operation>2</operation> <rawlat>sample string 8</rawlat> <rawlng>sample string 9</rawlng> <stayflg>11</stayflg> <taskid>10</taskid> </GpsData> </gpsDatas> <municipalityid>2</municipalityid> <nightoperationtime>6</nightoperationtime> <pw>sample string 1</pw> </InSendGpsDatas>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.