POST api/Bluetraker
Request Information
URI Parameters
None.
Body Parameters
BlueTrackerDataModelsName | Description | Type | Additional information |
---|---|---|---|
Version | integer |
None. |
|
DeviceId | integer |
None. |
|
Latitude | decimal number |
None. |
|
Longitude | decimal number |
None. |
|
Speed | decimal number |
None. |
|
Heading | integer |
None. |
|
GpsTime | date |
None. |
|
ReceivedTime | date |
None. |
|
ExtPowerVoltage | decimal number |
None. |
|
VesselRegisterNumber | string |
None. |
|
SatSignalQuality | integer |
None. |
|
GSMSignalQuality | integer |
None. |
|
GPSSatelliteNumber | integer |
None. |
|
FailureReason | integer |
None. |
|
AlertButton | boolean |
None. |
|
VesselActivity | integer |
None. |
|
RawData | string |
None. |
|
GpsStatus | boolean |
None. |
|
MTUFirmwareVersion | string |
None. |
|
HelloMessage | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Version": 1, "DeviceId": 2, "Latitude": 3.0, "Longitude": 4.0, "Speed": 5.1, "Heading": 6, "GpsTime": "2024-11-28T19:13:30.4901009+00:00", "ReceivedTime": "2024-11-28T19:13:30.4901009+00:00", "ExtPowerVoltage": 1.1, "VesselRegisterNumber": "sample string 9", "SatSignalQuality": 1, "GSMSignalQuality": 1, "GPSSatelliteNumber": 1, "FailureReason": 1, "AlertButton": true, "VesselActivity": 1, "RawData": "sample string 10", "GpsStatus": true, "MTUFirmwareVersion": "sample string 11", "HelloMessage": "sample string 12" }
application/xml, text/xml
Sample:
<BlueTrackerDataModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ONL.WebServiceReceiveGentwoRestService.Models"> <AlertButton>true</AlertButton> <DeviceId>2</DeviceId> <ExtPowerVoltage>1.1</ExtPowerVoltage> <FailureReason>1</FailureReason> <GPSSatelliteNumber>1</GPSSatelliteNumber> <GSMSignalQuality>1</GSMSignalQuality> <GpsStatus>true</GpsStatus> <GpsTime>2024-11-28T19:13:30.4901009+00:00</GpsTime> <Heading>6</Heading> <HelloMessage>sample string 12</HelloMessage> <Latitude>3</Latitude> <Longitude>4</Longitude> <MTUFirmwareVersion>sample string 11</MTUFirmwareVersion> <RawData>sample string 10</RawData> <ReceivedTime>2024-11-28T19:13:30.4901009+00:00</ReceivedTime> <SatSignalQuality>1</SatSignalQuality> <Speed>5.1</Speed> <Version>1</Version> <VesselActivity>1</VesselActivity> <VesselRegisterNumber>sample string 9</VesselRegisterNumber> </BlueTrackerDataModels>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | 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. |