Gtm.Api.V1

<back to all web services

GetPoint

The following routes are available for this service:
All Verbs/api/v1/vehicles/{VehicleId}/points/{PointId}
GET/api/v1/GetPoint

To override the Content-type in your clients HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /xml/reply/GetPoint HTTP/1.1 
Host: apiv1.gtm.gits2.nl 
Content-Type: application/xml
Content-Length: length

<GetPoint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gtm.Api.V1.Dto.Vehicle">
  <PointId>0</PointId>
  <VehicleId>0</VehicleId>
</GetPoint>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GetPointResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gtm.Api.V1.Dto.Vehicle">
  <DateTime xmlns="http://schemas.datacontract.org/2004/07/Gtm.Api.V1.Dto.Vehicle.Dto">0001-01-01T00:00:00</DateTime>
  <Id xmlns="http://schemas.datacontract.org/2004/07/Gtm.Api.V1.Dto.Vehicle.Dto">0</Id>
  <Latitude xmlns="http://schemas.datacontract.org/2004/07/Gtm.Api.V1.Dto.Vehicle.Dto">0</Latitude>
  <Longitude xmlns="http://schemas.datacontract.org/2004/07/Gtm.Api.V1.Dto.Vehicle.Dto">0</Longitude>
  <DataType xmlns="http://schemas.datacontract.org/2004/07/Gtm.Api.V1.Dto.Vehicle.Dto">None</DataType>
  <Direction xmlns="http://schemas.datacontract.org/2004/07/Gtm.Api.V1.Dto.Vehicle.Dto">0</Direction>
  <Imei xmlns="http://schemas.datacontract.org/2004/07/Gtm.Api.V1.Dto.Vehicle.Dto">String</Imei>
  <Speed xmlns="http://schemas.datacontract.org/2004/07/Gtm.Api.V1.Dto.Vehicle.Dto">0</Speed>
  <Address xmlns="http://schemas.datacontract.org/2004/07/Gtm.Api.V1.Dto.Vehicle.Dto">String</Address>
  <Driver xmlns="http://schemas.datacontract.org/2004/07/Gtm.Api.V1.Dto.Vehicle.Dto">String</Driver>
  <Measurements i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/Gtm.Api.V1.Dto.Vehicle.Dto" />
  <PointOfInterest xmlns="http://schemas.datacontract.org/2004/07/Gtm.Api.V1.Dto.Vehicle.Dto">String</PointOfInterest>
  <VehicleDescription xmlns="http://schemas.datacontract.org/2004/07/Gtm.Api.V1.Dto.Vehicle.Dto">String</VehicleDescription>
</GetPointResponse>