kollygramonline


Click here for a complete list of operations.

getMesuresByReceptionDate

Use this method to download measures. The vehicle_id can be 0, then all measure from all vehicle will be sent. Time will be ignored in the FromReceptionDate and ToReceptionDate parameters, only the date part will be taken into account. Maximum 7 days of measures are sent.

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/getMesuresByReceptionDate"

<?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>
    <getMesuresByReceptionDate xmlns="https://tempuri.org/">
      <transporteur_id>long</transporteur_id>
      <vehicle_id>long</vehicle_id>
      <CodeWebClient>string</CodeWebClient>
      <FromReceptionDate>dateTime</FromReceptionDate>
      <ToReceptionDate>dateTime</ToReceptionDate>
    </getMesuresByReceptionDate>
  </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>
    <getMesuresByReceptionDateResponse xmlns="https://tempuri.org/">
      <getMesuresByReceptionDateResult>
        <mesure>
          <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>
        </mesure>
        <mesure>
          <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>
        </mesure>
      </getMesuresByReceptionDateResult>
    </getMesuresByReceptionDateResponse>
  </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>
    <getMesuresByReceptionDate xmlns="https://tempuri.org/">
      <transporteur_id>long</transporteur_id>
      <vehicle_id>long</vehicle_id>
      <CodeWebClient>string</CodeWebClient>
      <FromReceptionDate>dateTime</FromReceptionDate>
      <ToReceptionDate>dateTime</ToReceptionDate>
    </getMesuresByReceptionDate>
  </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>
    <getMesuresByReceptionDateResponse xmlns="https://tempuri.org/">
      <getMesuresByReceptionDateResult>
        <mesure>
          <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>
        </mesure>
        <mesure>
          <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>
        </mesure>
      </getMesuresByReceptionDateResult>
    </getMesuresByReceptionDateResponse>
  </soap12:Body>
</soap12:Envelope>