Welcome to the GPS Insight Wiki
This Wiki contains support information, helpful tips, and general information about the GPS Insight product.
If you are trying to login to our product, please login at GPS Insight Login

Differences

This shows you the differences between the selected revision and the current version of the page.

support:web_services:soap 2012/08/09 16:56 support:web_services:soap 2013/08/01 12:46 current
Line 1: Line 1:
 +====== NOTE: These services have been deprecated and scheduled for End Of Life ======
 +**Please use the [[http://support.gpsinsight.com/wiki/support/api_v2|API_V2]]**
 +
====== GPS SOAP Services ====== ====== GPS SOAP Services ======
GPS Insight provides some services available in a standard SOAP format.  Our SOAP server uses a standard WSDL connection.  Create your SOAP client with the following WSDL URL: GPS Insight provides some services available in a standard SOAP format.  Our SOAP server uses a standard WSDL connection.  Create your SOAP client with the following WSDL URL:
Line 419: Line 422:
    <errors count="1">     <errors count="1">
      <error code="100">Invalid username or password</error>       <error code="100">Invalid username or password</error>
 +    </errors>
 +  </response>
 +
 +
 +==== Location Hierarchy ====
 +This query returns a list of vehicles in a specified group, along with the last-reported (current) location for that vehicle.
 +
 +  * Method Name: **locationHierarchy**
 +  * Parameters:
 +    * **username** //Your current GPS Insight username//
 +    * **password** //Your current GPS Insight password//
 +    * **node/tree/parent/path** //Target parent node identification info (see bottom of page)//
 +    * **time (optional)** // A time in the past at which the hiearchy will be queried (format m/d/y h:m:s)//
 +  * Example Response:
 +
 +    <response type="locationHierarchy">
 +      <node>
 +        <label>Root Node</label>
 +        <nodes>
 +          <node>
 +            <label>Child Node></label>
 +            <vehicles>
 +              <vehicle>
 +                <ageMinutes>24</ageMinutes>
 +                <heading>256</heading>
 +                <ignition>on</ignition>
 +                <lastPing>
 +                  <date>06/06/2013</date>
 +                  <time>17:40:22</time>
 +                </lastPing>
 +                <lastReported>
 +                  <date>06/06/2013</date>
 +                  <time>17:20:48</time>
 +                </lastReported>
 +                <latitude>40.382902</latitude>
 +                <longitude>-109.43291</longitude>
 +                <speed>55</speed>
 +                <vehicle>TEST VEHICLE 2</vehicle>
 +                <vin>1SKIPPY38023MOMO23</vin>
 +              </vehicle>
 +            </vehicles>
 +          </node>
 +        </nodes>
 +        <vehicles>
 +          <vehicle>
 +            <ageMinutes>1714</ageMinutes>
 +            <heading>112</heading>
 +            <ignition>off</ignition>
 +            <lastPing>
 +              <date>06/06/2013</date>
 +              <time>17:41:25</time>
 +            </lastPing>
 +            <lastReported>
 +              <date>06/06/2013</date>
 +              <time>17:41:25</time>
 +            </lastReported>
 +            <latitude>40.45295</latitude>
 +            <longitude>-109.51787</longitude>
 +            <speed>7</speed>
 +            <vehicle>TEST VEHICLE 1</vehicle>
 +            <vin>1YIPPY23890DADF23</vin>
 +          </vehicle>
 +        </vehicles>
 +      </node>
 +      <errors count="0"/>
 +    </response>
 +
 +  * Example Failure Response:
 +
 +  <response type="locationHierarchy">
 +    <errors count="1">
 +      <error code="455">No hierarchy information accessible</error>
    </errors>     </errors>
  </response>   </response>

Personal Tools