ValutecWS


Click here for a complete list of operations.

Reporting_ByCard

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
ClientKey:
CardNumber:
StartDate:
EndDate:
CardProgram:
TransactionType:

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 /Valutec.asmx HTTP/1.1
Host: uat-ws.valutec.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "https://ws.valutec.net/Reporting_ByCard"

<?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>
    <Reporting_ByCard xmlns="https://ws.valutec.net/">
      <ClientKey>string</ClientKey>
      <CardNumber>string</CardNumber>
      <StartDate>string</StartDate>
      <EndDate>string</EndDate>
      <CardProgram>Any or Gift or Loyalty</CardProgram>
      <TransactionType>Any or Sale or Activation or AddValue or Void or Balance or Current_Day_Totals or Previous_Day_Totals or Deactivate or Replace or CreateCard or Restaurant_Sale or CashOut or HoldCard or ReleaseCard</TransactionType>
    </Reporting_ByCard>
  </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>
    <Reporting_ByCardResponse xmlns="https://ws.valutec.net/">
      <Reporting_ByCardResult>
        <Authorized>boolean</Authorized>
        <ErrorMsg>string</ErrorMsg>
        <DaysQueried>int</DaysQueried>
        <Count>int</Count>
        <TransactionRecords>
          <TransactionRecord>
            <LocationID>int</LocationID>
            <TerminalID>string</TerminalID>
            <AuthCode>string</AuthCode>
            <TranType>string</TranType>
            <TranAmount>decimal</TranAmount>
            <TranDate>dateTime</TranDate>
            <TranServerID>string</TranServerID>
            <CardNumber>string</CardNumber>
          </TransactionRecord>
          <TransactionRecord>
            <LocationID>int</LocationID>
            <TerminalID>string</TerminalID>
            <AuthCode>string</AuthCode>
            <TranType>string</TranType>
            <TranAmount>decimal</TranAmount>
            <TranDate>dateTime</TranDate>
            <TranServerID>string</TranServerID>
            <CardNumber>string</CardNumber>
          </TransactionRecord>
        </TransactionRecords>
      </Reporting_ByCardResult>
    </Reporting_ByCardResponse>
  </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 /Valutec.asmx HTTP/1.1
Host: uat-ws.valutec.net
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>
    <Reporting_ByCard xmlns="https://ws.valutec.net/">
      <ClientKey>string</ClientKey>
      <CardNumber>string</CardNumber>
      <StartDate>string</StartDate>
      <EndDate>string</EndDate>
      <CardProgram>Any or Gift or Loyalty</CardProgram>
      <TransactionType>Any or Sale or Activation or AddValue or Void or Balance or Current_Day_Totals or Previous_Day_Totals or Deactivate or Replace or CreateCard or Restaurant_Sale or CashOut or HoldCard or ReleaseCard</TransactionType>
    </Reporting_ByCard>
  </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>
    <Reporting_ByCardResponse xmlns="https://ws.valutec.net/">
      <Reporting_ByCardResult>
        <Authorized>boolean</Authorized>
        <ErrorMsg>string</ErrorMsg>
        <DaysQueried>int</DaysQueried>
        <Count>int</Count>
        <TransactionRecords>
          <TransactionRecord>
            <LocationID>int</LocationID>
            <TerminalID>string</TerminalID>
            <AuthCode>string</AuthCode>
            <TranType>string</TranType>
            <TranAmount>decimal</TranAmount>
            <TranDate>dateTime</TranDate>
            <TranServerID>string</TranServerID>
            <CardNumber>string</CardNumber>
          </TransactionRecord>
          <TransactionRecord>
            <LocationID>int</LocationID>
            <TerminalID>string</TerminalID>
            <AuthCode>string</AuthCode>
            <TranType>string</TranType>
            <TranAmount>decimal</TranAmount>
            <TranDate>dateTime</TranDate>
            <TranServerID>string</TranServerID>
            <CardNumber>string</CardNumber>
          </TransactionRecord>
        </TransactionRecords>
      </Reporting_ByCardResult>
    </Reporting_ByCardResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /Valutec.asmx/Reporting_ByCard?ClientKey=string&CardNumber=string&StartDate=string&EndDate=string&CardProgram=string&TransactionType=string HTTP/1.1
Host: uat-ws.valutec.net
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ReportResponse xmlns="https://ws.valutec.net/">
  <Authorized>boolean</Authorized>
  <ErrorMsg>string</ErrorMsg>
  <DaysQueried>int</DaysQueried>
  <Count>int</Count>
  <TransactionRecords>
    <TransactionRecord>
      <LocationID>int</LocationID>
      <TerminalID>string</TerminalID>
      <AuthCode>string</AuthCode>
      <TranType>string</TranType>
      <TranAmount>decimal</TranAmount>
      <TranDate>dateTime</TranDate>
      <TranServerID>string</TranServerID>
      <CardNumber>string</CardNumber>
    </TransactionRecord>
    <TransactionRecord>
      <LocationID>int</LocationID>
      <TerminalID>string</TerminalID>
      <AuthCode>string</AuthCode>
      <TranType>string</TranType>
      <TranAmount>decimal</TranAmount>
      <TranDate>dateTime</TranDate>
      <TranServerID>string</TranServerID>
      <CardNumber>string</CardNumber>
    </TransactionRecord>
  </TransactionRecords>
</ReportResponse>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /Valutec.asmx/Reporting_ByCard HTTP/1.1
Host: uat-ws.valutec.net
Content-Type: application/x-www-form-urlencoded
Content-Length: length

ClientKey=string&CardNumber=string&StartDate=string&EndDate=string&CardProgram=string&TransactionType=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ReportResponse xmlns="https://ws.valutec.net/">
  <Authorized>boolean</Authorized>
  <ErrorMsg>string</ErrorMsg>
  <DaysQueried>int</DaysQueried>
  <Count>int</Count>
  <TransactionRecords>
    <TransactionRecord>
      <LocationID>int</LocationID>
      <TerminalID>string</TerminalID>
      <AuthCode>string</AuthCode>
      <TranType>string</TranType>
      <TranAmount>decimal</TranAmount>
      <TranDate>dateTime</TranDate>
      <TranServerID>string</TranServerID>
      <CardNumber>string</CardNumber>
    </TransactionRecord>
    <TransactionRecord>
      <LocationID>int</LocationID>
      <TerminalID>string</TerminalID>
      <AuthCode>string</AuthCode>
      <TranType>string</TranType>
      <TranAmount>decimal</TranAmount>
      <TranDate>dateTime</TranDate>
      <TranServerID>string</TranServerID>
      <CardNumber>string</CardNumber>
    </TransactionRecord>
  </TransactionRecords>
</ReportResponse>