ValutecWS
Click here for a complete list of operations.
Reporting_ByTID
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.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_ByTID"
<?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_ByTID xmlns="https://ws.valutec.net/">
<ClientKey>string</ClientKey>
<TerminalID>string</TerminalID>
<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_ByTID>
</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_ByTIDResponse xmlns="https://ws.valutec.net/">
<Reporting_ByTIDResult>
<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_ByTIDResult>
</Reporting_ByTIDResponse>
</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_ByTID xmlns="https://ws.valutec.net/">
<ClientKey>string</ClientKey>
<TerminalID>string</TerminalID>
<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_ByTID>
</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_ByTIDResponse xmlns="https://ws.valutec.net/">
<Reporting_ByTIDResult>
<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_ByTIDResult>
</Reporting_ByTIDResponse>
</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_ByTID?ClientKey=string&TerminalID=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_ByTID HTTP/1.1 Host: uat-ws.valutec.net Content-Type: application/x-www-form-urlencoded Content-Length: length ClientKey=string&TerminalID=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>