WebService


Click here for a complete list of operations.

GetOffreCarte

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

<?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>
    <GetOffreCarte xmlns="http://tempuri.org/">
      <num>string</num>
    </GetOffreCarte>
  </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>
    <GetOffreCarteResponse xmlns="http://tempuri.org/">
      <GetOffreCarteResult>string</GetOffreCarteResult>
      <off>
        <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>
            <AdresseP xsi:nil="true" />
            <AdresseP xsi:nil="true" />
          </lstAdresses>
        </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>
            <id>long</id>
            <code>string</code>
            <libelle>string</libelle>
          </CategorieOffre>
          <CategorieOffre>
            <id>long</id>
            <code>string</code>
            <libelle>string</libelle>
          </CategorieOffre>
        </lstCat>
        <lstSousCat>
          <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>
        </lstSousCat>
      </off>
    </GetOffreCarteResponse>
  </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>
    <GetOffreCarte xmlns="http://tempuri.org/">
      <num>string</num>
    </GetOffreCarte>
  </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>
    <GetOffreCarteResponse xmlns="http://tempuri.org/">
      <GetOffreCarteResult>string</GetOffreCarteResult>
      <off>
        <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>
            <AdresseP xsi:nil="true" />
            <AdresseP xsi:nil="true" />
          </lstAdresses>
        </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>
            <id>long</id>
            <code>string</code>
            <libelle>string</libelle>
          </CategorieOffre>
          <CategorieOffre>
            <id>long</id>
            <code>string</code>
            <libelle>string</libelle>
          </CategorieOffre>
        </lstCat>
        <lstSousCat>
          <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>
        </lstSousCat>
      </off>
    </GetOffreCarteResponse>
  </soap12:Body>
</soap12:Envelope>