TransactionWebservice_1_1


Click here for a complete list of operations.

TransactionTotals

Get the transaction totals over a certain period of time. The totals are on TerminalCode level. Type is bitwise to make combinations: 1=details, 2=subtotals, 4=grandtotals

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 /ICP.Mimas.SAL/transaction_1_1.asmx HTTP/1.1
Host: live.icpmimas.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.icpmimas.com/TransactionTotals"

<?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:Header>
    <AuthenticationHeader xmlns="http://www.icpmimas.com/">
      <loginLogId>long</loginLogId>
      <icpGroupId>long</icpGroupId>
      <sessionKey>string</sessionKey>
      <validUntil>dateTime</validUntil>
      <culture>string</culture>
    </AuthenticationHeader>
  </soap:Header>
  <soap:Body>
    <TransactionTotals xmlns="http://www.icpmimas.com/">
      <terminalCode>string</terminalCode>
      <balanceType>short</balanceType>
      <type>short</type>
      <startDate>dateTime</startDate>
      <endDate>dateTime</endDate>
      <day>short</day>
      <week>short</week>
      <month>short</month>
      <year>int</year>
      <allStatus>boolean</allStatus>
      <pageNumber>short</pageNumber>
      <pageRows>short</pageRows>
      <sortCol>string</sortCol>
    </TransactionTotals>
  </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:Header>
    <AuthenticationHeader xmlns="http://www.icpmimas.com/">
      <loginLogId>long</loginLogId>
      <icpGroupId>long</icpGroupId>
      <sessionKey>string</sessionKey>
      <validUntil>dateTime</validUntil>
      <culture>string</culture>
    </AuthenticationHeader>
  </soap:Header>
  <soap:Body>
    <TransactionTotalsResponse xmlns="http://www.icpmimas.com/">
      <resultCode>int</resultCode>
      <resultText>string</resultText>
      <TransactionTotals>
        <DateFrom>dateTime</DateFrom>
        <DateTo>dateTime</DateTo>
        <TotTrx>int</TotTrx>
        <TotValue>long</TotValue>
        <TotRows>int</TotRows>
        <Details>
          <TransactionDetailData_1_0>
            <Status>string</Status>
            <CardTypeCode>string</CardTypeCode>
            <TrxType>short</TrxType>
            <TrxId>long</TrxId>
            <Amount>long</Amount>
            <Units>long</Units>
            <Value>long</Value>
            <ExternalRef>string</ExternalRef>
            <TrxDate>dateTime</TrxDate>
          </TransactionDetailData_1_0>
          <TransactionDetailData_1_0>
            <Status>string</Status>
            <CardTypeCode>string</CardTypeCode>
            <TrxType>short</TrxType>
            <TrxId>long</TrxId>
            <Amount>long</Amount>
            <Units>long</Units>
            <Value>long</Value>
            <ExternalRef>string</ExternalRef>
            <TrxDate>dateTime</TrxDate>
          </TransactionDetailData_1_0>
        </Details>
        <SubTotals>
          <TransactionSubTotalData_1_0>
            <Status>string</Status>
            <CardTypeCode>string</CardTypeCode>
            <TrxType>short</TrxType>
            <TotTrx>int</TotTrx>
            <TotAmount>long</TotAmount>
            <TotUnits>long</TotUnits>
            <TotValue>long</TotValue>
          </TransactionSubTotalData_1_0>
          <TransactionSubTotalData_1_0>
            <Status>string</Status>
            <CardTypeCode>string</CardTypeCode>
            <TrxType>short</TrxType>
            <TotTrx>int</TotTrx>
            <TotAmount>long</TotAmount>
            <TotUnits>long</TotUnits>
            <TotValue>long</TotValue>
          </TransactionSubTotalData_1_0>
        </SubTotals>
        <GrandTotals>
          <TransactionGrandTotalData_1_0>
            <Status>string</Status>
            <TrxType>short</TrxType>
            <TotTrx>int</TotTrx>
            <TotAmount>long</TotAmount>
            <TotUnits>long</TotUnits>
            <TotValue>long</TotValue>
          </TransactionGrandTotalData_1_0>
          <TransactionGrandTotalData_1_0>
            <Status>string</Status>
            <TrxType>short</TrxType>
            <TotTrx>int</TotTrx>
            <TotAmount>long</TotAmount>
            <TotUnits>long</TotUnits>
            <TotValue>long</TotValue>
          </TransactionGrandTotalData_1_0>
        </GrandTotals>
      </TransactionTotals>
    </TransactionTotalsResponse>
  </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 /ICP.Mimas.SAL/transaction_1_1.asmx HTTP/1.1
Host: live.icpmimas.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:Header>
    <AuthenticationHeader xmlns="http://www.icpmimas.com/">
      <loginLogId>long</loginLogId>
      <icpGroupId>long</icpGroupId>
      <sessionKey>string</sessionKey>
      <validUntil>dateTime</validUntil>
      <culture>string</culture>
    </AuthenticationHeader>
  </soap12:Header>
  <soap12:Body>
    <TransactionTotals xmlns="http://www.icpmimas.com/">
      <terminalCode>string</terminalCode>
      <balanceType>short</balanceType>
      <type>short</type>
      <startDate>dateTime</startDate>
      <endDate>dateTime</endDate>
      <day>short</day>
      <week>short</week>
      <month>short</month>
      <year>int</year>
      <allStatus>boolean</allStatus>
      <pageNumber>short</pageNumber>
      <pageRows>short</pageRows>
      <sortCol>string</sortCol>
    </TransactionTotals>
  </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:Header>
    <AuthenticationHeader xmlns="http://www.icpmimas.com/">
      <loginLogId>long</loginLogId>
      <icpGroupId>long</icpGroupId>
      <sessionKey>string</sessionKey>
      <validUntil>dateTime</validUntil>
      <culture>string</culture>
    </AuthenticationHeader>
  </soap12:Header>
  <soap12:Body>
    <TransactionTotalsResponse xmlns="http://www.icpmimas.com/">
      <resultCode>int</resultCode>
      <resultText>string</resultText>
      <TransactionTotals>
        <DateFrom>dateTime</DateFrom>
        <DateTo>dateTime</DateTo>
        <TotTrx>int</TotTrx>
        <TotValue>long</TotValue>
        <TotRows>int</TotRows>
        <Details>
          <TransactionDetailData_1_0>
            <Status>string</Status>
            <CardTypeCode>string</CardTypeCode>
            <TrxType>short</TrxType>
            <TrxId>long</TrxId>
            <Amount>long</Amount>
            <Units>long</Units>
            <Value>long</Value>
            <ExternalRef>string</ExternalRef>
            <TrxDate>dateTime</TrxDate>
          </TransactionDetailData_1_0>
          <TransactionDetailData_1_0>
            <Status>string</Status>
            <CardTypeCode>string</CardTypeCode>
            <TrxType>short</TrxType>
            <TrxId>long</TrxId>
            <Amount>long</Amount>
            <Units>long</Units>
            <Value>long</Value>
            <ExternalRef>string</ExternalRef>
            <TrxDate>dateTime</TrxDate>
          </TransactionDetailData_1_0>
        </Details>
        <SubTotals>
          <TransactionSubTotalData_1_0>
            <Status>string</Status>
            <CardTypeCode>string</CardTypeCode>
            <TrxType>short</TrxType>
            <TotTrx>int</TotTrx>
            <TotAmount>long</TotAmount>
            <TotUnits>long</TotUnits>
            <TotValue>long</TotValue>
          </TransactionSubTotalData_1_0>
          <TransactionSubTotalData_1_0>
            <Status>string</Status>
            <CardTypeCode>string</CardTypeCode>
            <TrxType>short</TrxType>
            <TotTrx>int</TotTrx>
            <TotAmount>long</TotAmount>
            <TotUnits>long</TotUnits>
            <TotValue>long</TotValue>
          </TransactionSubTotalData_1_0>
        </SubTotals>
        <GrandTotals>
          <TransactionGrandTotalData_1_0>
            <Status>string</Status>
            <TrxType>short</TrxType>
            <TotTrx>int</TotTrx>
            <TotAmount>long</TotAmount>
            <TotUnits>long</TotUnits>
            <TotValue>long</TotValue>
          </TransactionGrandTotalData_1_0>
          <TransactionGrandTotalData_1_0>
            <Status>string</Status>
            <TrxType>short</TrxType>
            <TotTrx>int</TotTrx>
            <TotAmount>long</TotAmount>
            <TotUnits>long</TotUnits>
            <TotValue>long</TotValue>
          </TransactionGrandTotalData_1_0>
        </GrandTotals>
      </TransactionTotals>
    </TransactionTotalsResponse>
  </soap12:Body>
</soap12:Envelope>