SWAPI – VehicleUpdate

This command is used to update vehicle GPS tracking in Successware.

Request

<SessionRequest Version="string" SessionID="{BFF707A2-161E-4C2C-82B2-64697528311C}" RequestID="string">

  <VehicleUpdate Version="string">

    <GPSTime>date/time</GPSTime>

    <EmployeeCode>string</EmployeeCode>

    <Lat>string</Lat>

    <Lng>string</Lng>

    <Course>integer</Course>

    <Speed>float</Speed>

    <SignalStatus>string</SignalStatus>

    <VehicleNo>string</VehicleNo>

    <Terminal>string</Terminal>

  </VehicleUpdate>

</SessionRequest>

 

·         GPSTime – The date/time of the GPS data acquired.

·         EmployeeCode – The code representing the Employee.

·         Lat – The latitude.

·         Lng – The longitude.

·         Course – description.

·         Speed – description.

·         SignalStatus – description.

·         VehicleNo – The vehicle number.

·         Terminal – description.

 

Response

<VehicleUpdateResponse Successful="true" ResultCode="000" ResultText="Successful" Version="2.1.400.7" RequestID="string"/>