Service


Click here for a complete list of operations.

getTariffs

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 /Service.asmx HTTP/1.1
Host: boxxo.ca
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "https://vitrine.boxxo.ca/getTariffs"

<?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>
    <getTariffs xmlns="https://vitrine.boxxo.ca/">
      <in0>
        <transactionNumber>string</transactionNumber>
        <showingWsid>string</showingWsid>
        <password>string</password>
        <login>string</login>
        <locationWsid>string</locationWsid>
        <callerCode>int</callerCode>
      </in0>
    </getTariffs>
  </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>
    <getTariffsResponse xmlns="https://vitrine.boxxo.ca/">
      <getTariffsResult>
        <categoryList>
          <Category>
            <tariffsList xsi:nil="true" />
            <showingId>int</showingId>
            <name_fr>string</name_fr>
            <name_en>string</name_en>
            <id>int</id>
          </Category>
          <Category>
            <tariffsList xsi:nil="true" />
            <showingId>int</showingId>
            <name_fr>string</name_fr>
            <name_en>string</name_en>
            <id>int</id>
          </Category>
        </categoryList>
        <tariffnameList>
          <Tariffname>
            <showingID>int</showingID>
            <position>int</position>
            <name_fr>string</name_fr>
            <name_en>string</name_en>
            <lastMinute>boolean</lastMinute>
            <id>int</id>
          </Tariffname>
          <Tariffname>
            <showingID>int</showingID>
            <position>int</position>
            <name_fr>string</name_fr>
            <name_en>string</name_en>
            <lastMinute>boolean</lastMinute>
            <id>int</id>
          </Tariffname>
        </tariffnameList>
        <transactionNumber>string</transactionNumber>
        <statusResponseCode>int</statusResponseCode>
        <showingWsid>string</showingWsid>
        <pourcentageTVQ>double</pourcentageTVQ>
        <pourcentageTPS>double</pourcentageTPS>
        <particularities_fr>string</particularities_fr>
        <particularities_en>string</particularities_en>
        <categoryCount>int</categoryCount>
        <callerCode>int</callerCode>
      </getTariffsResult>
    </getTariffsResponse>
  </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 /Service.asmx HTTP/1.1
Host: boxxo.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>
    <getTariffs xmlns="https://vitrine.boxxo.ca/">
      <in0>
        <transactionNumber>string</transactionNumber>
        <showingWsid>string</showingWsid>
        <password>string</password>
        <login>string</login>
        <locationWsid>string</locationWsid>
        <callerCode>int</callerCode>
      </in0>
    </getTariffs>
  </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>
    <getTariffsResponse xmlns="https://vitrine.boxxo.ca/">
      <getTariffsResult>
        <categoryList>
          <Category>
            <tariffsList xsi:nil="true" />
            <showingId>int</showingId>
            <name_fr>string</name_fr>
            <name_en>string</name_en>
            <id>int</id>
          </Category>
          <Category>
            <tariffsList xsi:nil="true" />
            <showingId>int</showingId>
            <name_fr>string</name_fr>
            <name_en>string</name_en>
            <id>int</id>
          </Category>
        </categoryList>
        <tariffnameList>
          <Tariffname>
            <showingID>int</showingID>
            <position>int</position>
            <name_fr>string</name_fr>
            <name_en>string</name_en>
            <lastMinute>boolean</lastMinute>
            <id>int</id>
          </Tariffname>
          <Tariffname>
            <showingID>int</showingID>
            <position>int</position>
            <name_fr>string</name_fr>
            <name_en>string</name_en>
            <lastMinute>boolean</lastMinute>
            <id>int</id>
          </Tariffname>
        </tariffnameList>
        <transactionNumber>string</transactionNumber>
        <statusResponseCode>int</statusResponseCode>
        <showingWsid>string</showingWsid>
        <pourcentageTVQ>double</pourcentageTVQ>
        <pourcentageTPS>double</pourcentageTPS>
        <particularities_fr>string</particularities_fr>
        <particularities_en>string</particularities_en>
        <categoryCount>int</categoryCount>
        <callerCode>int</callerCode>
      </getTariffsResult>
    </getTariffsResponse>
  </soap12:Body>
</soap12:Envelope>