kollygramonline


Click here for a complete list of operations.

getLastMesure

Send the last measure in the database (ordered by the end date of the measure (field 'fin')

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /ws/kollygramonline.asmx HTTP/1.1
Host: kollygram.kollyapps.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "https://tempuri.org/getLastMesure"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <getLastMesure xmlns="https://tempuri.org/">
      <transporteurid>long</transporteurid>
      <vehic_id>long</vehic_id>
      <CodeWebClient>string</CodeWebClient>
    </getLastMesure>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <getLastMesureResponse xmlns="https://tempuri.org/">
      <getLastMesureResult>
        <vehicule>unsignedLong</vehicule>
        <date_et_heure>dateTime</date_et_heure>
        <data>string</data>
        <numero>unsignedInt</numero>
        <cs>unsignedInt</cs>
        <cs_vhc>unsignedInt</cs_vhc>
        <poids>decimal</poids>
        <produit>unsignedInt</produit>
        <client>int</client>
        <cle>string</cle>
        <cle2>string</cle2>
        <mode>unsignedInt</mode>
        <debut>dateTime</debut>
        <fin>dateTime</fin>
        <km_fin>decimal</km_fin>
        <km_debut>decimal</km_debut>
        <quittance>unsignedInt</quittance>
        <nord>double</nord>
        <est>double</est>
        <lo>double</lo>
        <la>double</la>
        <date_gps>dateTime</date_gps>
        <intervalle_secondes>decimal</intervalle_secondes>
        <type_>string</type_>
        <changements>string</changements>
        <flag>unsignedShort</flag>
        <efface>boolean</efface>
        <customername>string</customername>
        <state>string</state>
        <tare_ou_brut>int</tare_ou_brut>
        <cumulated>string</cumulated>
      </getLastMesureResult>
    </getLastMesureResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /ws/kollygramonline.asmx HTTP/1.1
Host: kollygram.kollyapps.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <getLastMesure xmlns="https://tempuri.org/">
      <transporteurid>long</transporteurid>
      <vehic_id>long</vehic_id>
      <CodeWebClient>string</CodeWebClient>
    </getLastMesure>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <getLastMesureResponse xmlns="https://tempuri.org/">
      <getLastMesureResult>
        <vehicule>unsignedLong</vehicule>
        <date_et_heure>dateTime</date_et_heure>
        <data>string</data>
        <numero>unsignedInt</numero>
        <cs>unsignedInt</cs>
        <cs_vhc>unsignedInt</cs_vhc>
        <poids>decimal</poids>
        <produit>unsignedInt</produit>
        <client>int</client>
        <cle>string</cle>
        <cle2>string</cle2>
        <mode>unsignedInt</mode>
        <debut>dateTime</debut>
        <fin>dateTime</fin>
        <km_fin>decimal</km_fin>
        <km_debut>decimal</km_debut>
        <quittance>unsignedInt</quittance>
        <nord>double</nord>
        <est>double</est>
        <lo>double</lo>
        <la>double</la>
        <date_gps>dateTime</date_gps>
        <intervalle_secondes>decimal</intervalle_secondes>
        <type_>string</type_>
        <changements>string</changements>
        <flag>unsignedShort</flag>
        <efface>boolean</efface>
        <customername>string</customername>
        <state>string</state>
        <tare_ou_brut>int</tare_ou_brut>
        <cumulated>string</cumulated>
      </getLastMesureResult>
    </getLastMesureResponse>
  </soap12:Body>
</soap12:Envelope>