kollygramonline
Click here for a complete list of operations.
getMesures
Use this method to download measures. It is possible to set the vehicle id to 0, so all measures of the 'Transporteur' will be then downloaded (if too many measure are downloaded at once, there is a time out risk, so download measures day after day)
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/getMesures"
<?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>
<getMesures xmlns="https://tempuri.org/">
<transporteur_id>long</transporteur_id>
<vehic_id>long</vehic_id>
<CodeWebClient>string</CodeWebClient>
<from_>dateTime</from_>
<to_>dateTime</to_>
</getMesures>
</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>
<getMesuresResponse xmlns="https://tempuri.org/">
<getMesuresResult>
<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>
</getMesuresResult>
</getMesuresResponse>
</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>
<getMesures xmlns="https://tempuri.org/">
<transporteur_id>long</transporteur_id>
<vehic_id>long</vehic_id>
<CodeWebClient>string</CodeWebClient>
<from_>dateTime</from_>
<to_>dateTime</to_>
</getMesures>
</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>
<getMesuresResponse xmlns="https://tempuri.org/">
<getMesuresResult>
<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>
</getMesuresResult>
</getMesuresResponse>
</soap12:Body>
</soap12:Envelope>