WebService


Click here for a complete list of operations.

SWScanner

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

<?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>
    <SWScanner xmlns="http://tempuri.org/">
      <codebarre>string</codebarre>
      <idUtil>long</idUtil>
      <idVille>long</idVille>
    </SWScanner>
  </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>
    <SWScannerResponse xmlns="http://tempuri.org/">
      <SWScannerResult>
        <id>long</id>
        <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 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>
        </off>
        <idOffre>long</idOffre>
        <idVille>long</idVille>
        <idUtilisateur>long</idUtilisateur>
        <datec>dateTime</datec>
      </SWScannerResult>
      <pb>string</pb>
    </SWScannerResponse>
  </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>
    <SWScanner xmlns="http://tempuri.org/">
      <codebarre>string</codebarre>
      <idUtil>long</idUtil>
      <idVille>long</idVille>
    </SWScanner>
  </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>
    <SWScannerResponse xmlns="http://tempuri.org/">
      <SWScannerResult>
        <id>long</id>
        <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 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>
        </off>
        <idOffre>long</idOffre>
        <idVille>long</idVille>
        <idUtilisateur>long</idUtilisateur>
        <datec>dateTime</datec>
      </SWScannerResult>
      <pb>string</pb>
    </SWScannerResponse>
  </soap12:Body>
</soap12:Envelope>