kollygramonline


Click here for a complete list of operations.

AddMeasure

Use this method to add a measure. The response contains the measure added or the error.

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

<?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>
    <AddMeasure xmlns="https://tempuri.org/">
      <transporteur_id>long</transporteur_id>
      <vehic_id>long</vehic_id>
      <CodeWebClient>string</CodeWebClient>
      <chip_nr>string</chip_nr>
      <chip_nr2>string</chip_nr2>
      <client_no>int</client_no>
      <gps_date>dateTime</gps_date>
      <measure_start>dateTime</measure_start>
      <measure_end>dateTime</measure_end>
      <gps_latitude>double</gps_latitude>
      <gps_longitude>double</gps_longitude>
      <km_start>float</km_start>
      <km_end>float</km_end>
      <product_no>int</product_no>
      <quittungs_nr>int</quittungs_nr>
      <tare_ou_brut>int</tare_ou_brut>
    </AddMeasure>
  </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>
    <AddMeasureResponse xmlns="https://tempuri.org/">
      <AddMeasureResult>
        <Measure>
          <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>
        </Measure>
        <Error_>string</Error_>
      </AddMeasureResult>
    </AddMeasureResponse>
  </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>
    <AddMeasure xmlns="https://tempuri.org/">
      <transporteur_id>long</transporteur_id>
      <vehic_id>long</vehic_id>
      <CodeWebClient>string</CodeWebClient>
      <chip_nr>string</chip_nr>
      <chip_nr2>string</chip_nr2>
      <client_no>int</client_no>
      <gps_date>dateTime</gps_date>
      <measure_start>dateTime</measure_start>
      <measure_end>dateTime</measure_end>
      <gps_latitude>double</gps_latitude>
      <gps_longitude>double</gps_longitude>
      <km_start>float</km_start>
      <km_end>float</km_end>
      <product_no>int</product_no>
      <quittungs_nr>int</quittungs_nr>
      <tare_ou_brut>int</tare_ou_brut>
    </AddMeasure>
  </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>
    <AddMeasureResponse xmlns="https://tempuri.org/">
      <AddMeasureResult>
        <Measure>
          <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>
        </Measure>
        <Error_>string</Error_>
      </AddMeasureResult>
    </AddMeasureResponse>
  </soap12:Body>
</soap12:Envelope>