WebService
Click here for a complete list of operations.
GetListeOffre
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 /WebService.asmx HTTP/1.1 Host: application.argoavantage.ca Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/GetListeOffre" <?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> <GetListeOffre xmlns="http://tempuri.org/"> <idville>string</idville> <lstcat> <CategorieOffre> <id>long</id> <code>string</code> <libelle>string</libelle> </CategorieOffre> <CategorieOffre> <id>long</id> <code>string</code> <libelle>string</libelle> </CategorieOffre> </lstcat> <lstsscat> <SousCatOffre> <id>long</id> <idCat>long</idCat> <code>string</code> <libelle>string</libelle> </SousCatOffre> <SousCatOffre> <id>long</id> <idCat>long</idCat> <code>string</code> <libelle>string</libelle> </SousCatOffre> </lstsscat> <type>string</type> <gratuit>boolean</gratuit> <limit>int</limit> </GetListeOffre> </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> <GetListeOffreResponse xmlns="http://tempuri.org/"> <GetListeOffreResult>string</GetListeOffreResult> <lstOffre> <Offre> <id>long</id> <idPart>long</idPart> <part> <id>long</id> <raisonSociale>string</raisonSociale> <apropos>string</apropos> <adresse>string</adresse> <codepostal>string</codepostal> <ville>string</ville> <pays>string</pays> <facebook>string</facebook> <instagram>string</instagram> <web>string</web> <image>base64Binary</image> <lundi>string</lundi> <mardi>string</mardi> <mercredi>string</mercredi> <jeudi>string</jeudi> <vendredi>string</vendredi> <samedi>string</samedi> <dimanche>string</dimanche> <facebookurl>string</facebookurl> <instagramurl>string</instagramurl> <latitude>string</latitude> <longitude>string</longitude> <image2>string</image2> <lstAdresses xsi:nil="true" /> </part> <tpOffre> <id>long</id> <code>string</code> <libelle>string</libelle> </tpOffre> <titre>string</titre> <libelle>string</libelle> <condition>string</condition> <codePromo>string</codePromo> <codebarre>string</codebarre> <perma>boolean</perma> <image>base64Binary</image> <image2>string</image2> <datedeb>dateTime</datedeb> <datefin>dateTime</datefin> <prixbase>double</prixbase> <rabais>double</rabais> <nbAchat>double</nbAchat> <nbOffert>double</nbOffert> <gratuit>boolean</gratuit> <statutactif>boolean</statutactif> <priorite>int</priorite> <favori>boolean</favori> <utilise>boolean</utilise> <lstCat> <CategorieOffre xsi:nil="true" /> <CategorieOffre xsi:nil="true" /> </lstCat> <lstSousCat> <SousCatOffre xsi:nil="true" /> <SousCatOffre xsi:nil="true" /> </lstSousCat> </Offre> <Offre> <id>long</id> <idPart>long</idPart> <part> <id>long</id> <raisonSociale>string</raisonSociale> <apropos>string</apropos> <adresse>string</adresse> <codepostal>string</codepostal> <ville>string</ville> <pays>string</pays> <facebook>string</facebook> <instagram>string</instagram> <web>string</web> <image>base64Binary</image> <lundi>string</lundi> <mardi>string</mardi> <mercredi>string</mercredi> <jeudi>string</jeudi> <vendredi>string</vendredi> <samedi>string</samedi> <dimanche>string</dimanche> <facebookurl>string</facebookurl> <instagramurl>string</instagramurl> <latitude>string</latitude> <longitude>string</longitude> <image2>string</image2> <lstAdresses xsi:nil="true" /> </part> <tpOffre> <id>long</id> <code>string</code> <libelle>string</libelle> </tpOffre> <titre>string</titre> <libelle>string</libelle> <condition>string</condition> <codePromo>string</codePromo> <codebarre>string</codebarre> <perma>boolean</perma> <image>base64Binary</image> <image2>string</image2> <datedeb>dateTime</datedeb> <datefin>dateTime</datefin> <prixbase>double</prixbase> <rabais>double</rabais> <nbAchat>double</nbAchat> <nbOffert>double</nbOffert> <gratuit>boolean</gratuit> <statutactif>boolean</statutactif> <priorite>int</priorite> <favori>boolean</favori> <utilise>boolean</utilise> <lstCat> <CategorieOffre xsi:nil="true" /> <CategorieOffre xsi:nil="true" /> </lstCat> <lstSousCat> <SousCatOffre xsi:nil="true" /> <SousCatOffre xsi:nil="true" /> </lstSousCat> </Offre> </lstOffre> </GetListeOffreResponse> </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 /WebService.asmx HTTP/1.1 Host: application.argoavantage.ca 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> <GetListeOffre xmlns="http://tempuri.org/"> <idville>string</idville> <lstcat> <CategorieOffre> <id>long</id> <code>string</code> <libelle>string</libelle> </CategorieOffre> <CategorieOffre> <id>long</id> <code>string</code> <libelle>string</libelle> </CategorieOffre> </lstcat> <lstsscat> <SousCatOffre> <id>long</id> <idCat>long</idCat> <code>string</code> <libelle>string</libelle> </SousCatOffre> <SousCatOffre> <id>long</id> <idCat>long</idCat> <code>string</code> <libelle>string</libelle> </SousCatOffre> </lstsscat> <type>string</type> <gratuit>boolean</gratuit> <limit>int</limit> </GetListeOffre> </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> <GetListeOffreResponse xmlns="http://tempuri.org/"> <GetListeOffreResult>string</GetListeOffreResult> <lstOffre> <Offre> <id>long</id> <idPart>long</idPart> <part> <id>long</id> <raisonSociale>string</raisonSociale> <apropos>string</apropos> <adresse>string</adresse> <codepostal>string</codepostal> <ville>string</ville> <pays>string</pays> <facebook>string</facebook> <instagram>string</instagram> <web>string</web> <image>base64Binary</image> <lundi>string</lundi> <mardi>string</mardi> <mercredi>string</mercredi> <jeudi>string</jeudi> <vendredi>string</vendredi> <samedi>string</samedi> <dimanche>string</dimanche> <facebookurl>string</facebookurl> <instagramurl>string</instagramurl> <latitude>string</latitude> <longitude>string</longitude> <image2>string</image2> <lstAdresses xsi:nil="true" /> </part> <tpOffre> <id>long</id> <code>string</code> <libelle>string</libelle> </tpOffre> <titre>string</titre> <libelle>string</libelle> <condition>string</condition> <codePromo>string</codePromo> <codebarre>string</codebarre> <perma>boolean</perma> <image>base64Binary</image> <image2>string</image2> <datedeb>dateTime</datedeb> <datefin>dateTime</datefin> <prixbase>double</prixbase> <rabais>double</rabais> <nbAchat>double</nbAchat> <nbOffert>double</nbOffert> <gratuit>boolean</gratuit> <statutactif>boolean</statutactif> <priorite>int</priorite> <favori>boolean</favori> <utilise>boolean</utilise> <lstCat> <CategorieOffre xsi:nil="true" /> <CategorieOffre xsi:nil="true" /> </lstCat> <lstSousCat> <SousCatOffre xsi:nil="true" /> <SousCatOffre xsi:nil="true" /> </lstSousCat> </Offre> <Offre> <id>long</id> <idPart>long</idPart> <part> <id>long</id> <raisonSociale>string</raisonSociale> <apropos>string</apropos> <adresse>string</adresse> <codepostal>string</codepostal> <ville>string</ville> <pays>string</pays> <facebook>string</facebook> <instagram>string</instagram> <web>string</web> <image>base64Binary</image> <lundi>string</lundi> <mardi>string</mardi> <mercredi>string</mercredi> <jeudi>string</jeudi> <vendredi>string</vendredi> <samedi>string</samedi> <dimanche>string</dimanche> <facebookurl>string</facebookurl> <instagramurl>string</instagramurl> <latitude>string</latitude> <longitude>string</longitude> <image2>string</image2> <lstAdresses xsi:nil="true" /> </part> <tpOffre> <id>long</id> <code>string</code> <libelle>string</libelle> </tpOffre> <titre>string</titre> <libelle>string</libelle> <condition>string</condition> <codePromo>string</codePromo> <codebarre>string</codebarre> <perma>boolean</perma> <image>base64Binary</image> <image2>string</image2> <datedeb>dateTime</datedeb> <datefin>dateTime</datefin> <prixbase>double</prixbase> <rabais>double</rabais> <nbAchat>double</nbAchat> <nbOffert>double</nbOffert> <gratuit>boolean</gratuit> <statutactif>boolean</statutactif> <priorite>int</priorite> <favori>boolean</favori> <utilise>boolean</utilise> <lstCat> <CategorieOffre xsi:nil="true" /> <CategorieOffre xsi:nil="true" /> </lstCat> <lstSousCat> <SousCatOffre xsi:nil="true" /> <SousCatOffre xsi:nil="true" /> </lstSousCat> </Offre> </lstOffre> </GetListeOffreResponse> </soap12:Body> </soap12:Envelope>