kollygramonline
Click here for a complete list of operations.
UpdateAddress
Create or update an address. Please indicate 0 as the id to create an address. You will then retrieve in the response the new id of the address created. You will use then this id in the future to update this address.
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/UpdateAddress"
<?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>
<UpdateAddress xmlns="https://tempuri.org/">
<codeWebClient>string</codeWebClient>
<transporteurid>long</transporteurid>
<id>long</id>
<under_this_noclient>long</under_this_noclient>
<nom>string</nom>
<street>string</street>
<street_number>string</street_number>
<address_complement>string</address_complement>
<zip>string</zip>
<city>string</city>
<lang>string</lang>
<email>string</email>
<fax>string</fax>
<tel>string</tel>
<contact_person>string</contact_person>
<remark>string</remark>
<old_customer_number>string</old_customer_number>
<divers1>string</divers1>
<divers2>string</divers2>
<divers3>string</divers3>
</UpdateAddress>
</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>
<UpdateAddressResponse xmlns="https://tempuri.org/">
<UpdateAddressResult>
<Address>
<client>unsignedLong</client>
<numero>string</numero>
<complement>string</complement>
<nom>string</nom>
<fax>string</fax>
<email>string</email>
<categorie_rabais>unsignedInt</categorie_rabais>
<tel>string</tel>
<personne_contact>string</personne_contact>
<remarque>string</remarque>
<ancien_numero_client>string</ancien_numero_client>
<rue_>string</rue_>
<npa>string</npa>
<localite>string</localite>
<lang>string</lang>
<divers1>string</divers1>
<divers2>string</divers2>
<divers3>string</divers3>
<categorie>string</categorie>
<code_pays>string</code_pays>
</Address>
<Error_>string</Error_>
</UpdateAddressResult>
</UpdateAddressResponse>
</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>
<UpdateAddress xmlns="https://tempuri.org/">
<codeWebClient>string</codeWebClient>
<transporteurid>long</transporteurid>
<id>long</id>
<under_this_noclient>long</under_this_noclient>
<nom>string</nom>
<street>string</street>
<street_number>string</street_number>
<address_complement>string</address_complement>
<zip>string</zip>
<city>string</city>
<lang>string</lang>
<email>string</email>
<fax>string</fax>
<tel>string</tel>
<contact_person>string</contact_person>
<remark>string</remark>
<old_customer_number>string</old_customer_number>
<divers1>string</divers1>
<divers2>string</divers2>
<divers3>string</divers3>
</UpdateAddress>
</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>
<UpdateAddressResponse xmlns="https://tempuri.org/">
<UpdateAddressResult>
<Address>
<client>unsignedLong</client>
<numero>string</numero>
<complement>string</complement>
<nom>string</nom>
<fax>string</fax>
<email>string</email>
<categorie_rabais>unsignedInt</categorie_rabais>
<tel>string</tel>
<personne_contact>string</personne_contact>
<remarque>string</remarque>
<ancien_numero_client>string</ancien_numero_client>
<rue_>string</rue_>
<npa>string</npa>
<localite>string</localite>
<lang>string</lang>
<divers1>string</divers1>
<divers2>string</divers2>
<divers3>string</divers3>
<categorie>string</categorie>
<code_pays>string</code_pays>
</Address>
<Error_>string</Error_>
</UpdateAddressResult>
</UpdateAddressResponse>
</soap12:Body>
</soap12:Envelope>