kollygramonline


Click here for a complete list of operations.

CreateNewPuce2

Create a new chip

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

<?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>
    <CreateNewPuce2 xmlns="https://tempuri.org/">
      <transporteurid>long</transporteurid>
      <codeWebClient>string</codeWebClient>
      <new_chip_nr>string</new_chip_nr>
      <new_chip_type>int</new_chip_type>
      <chip_managed_by_client_id>long</chip_managed_by_client_id>
    </CreateNewPuce2>
  </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>
    <CreateNewPuce2Response xmlns="https://tempuri.org/">
      <CreateNewPuce2Result>
        <chip>
          <puce_no>string</puce_no>
          <type_de_puce>unsignedInt</type_de_puce>
          <client>unsignedLong</client>
          <last_location>string</last_location>
          <last_location_nom>string</last_location_nom>
          <last_location_adresse>string</last_location_adresse>
          <last_location_complement>string</last_location_complement>
          <last_location_npa>string</last_location_npa>
          <last_location_localite>string</last_location_localite>
          <last_facturation>string</last_facturation>
          <last_facturation_nom>string</last_facturation_nom>
          <last_facturation_adresse>string</last_facturation_adresse>
          <last_facturation_complement>string</last_facturation_complement>
          <last_facturation_npa>string</last_facturation_npa>
          <last_facturation_localite>string</last_facturation_localite>
          <last_ts>dateTime</last_ts>
        </chip>
        <error_>string</error_>
      </CreateNewPuce2Result>
    </CreateNewPuce2Response>
  </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>
    <CreateNewPuce2 xmlns="https://tempuri.org/">
      <transporteurid>long</transporteurid>
      <codeWebClient>string</codeWebClient>
      <new_chip_nr>string</new_chip_nr>
      <new_chip_type>int</new_chip_type>
      <chip_managed_by_client_id>long</chip_managed_by_client_id>
    </CreateNewPuce2>
  </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>
    <CreateNewPuce2Response xmlns="https://tempuri.org/">
      <CreateNewPuce2Result>
        <chip>
          <puce_no>string</puce_no>
          <type_de_puce>unsignedInt</type_de_puce>
          <client>unsignedLong</client>
          <last_location>string</last_location>
          <last_location_nom>string</last_location_nom>
          <last_location_adresse>string</last_location_adresse>
          <last_location_complement>string</last_location_complement>
          <last_location_npa>string</last_location_npa>
          <last_location_localite>string</last_location_localite>
          <last_facturation>string</last_facturation>
          <last_facturation_nom>string</last_facturation_nom>
          <last_facturation_adresse>string</last_facturation_adresse>
          <last_facturation_complement>string</last_facturation_complement>
          <last_facturation_npa>string</last_facturation_npa>
          <last_facturation_localite>string</last_facturation_localite>
          <last_ts>dateTime</last_ts>
        </chip>
        <error_>string</error_>
      </CreateNewPuce2Result>
    </CreateNewPuce2Response>
  </soap12:Body>
</soap12:Envelope>