PosService


Click here for a complete list of operations.

AdjustAnywhere

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
UserName:
Password:
WorkstationID:
PosID:
Token:
TerminalID:
SerialNum:
TraceNum:
TimeOut:
TenderType:
TransType:
Amount:
ECRRefNum:
OrigRefNum:
OrigTransDate:
OrigTransTime:
OrigAcctNum:
OrigApprovedAmt:
ExtData:

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/PosService.asmx HTTP/1.1
Host: demo.spweblink.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "https://secure.spweblink.com/AdjustAnywhere"

<?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>
    <AdjustAnywhere xmlns="https://secure.spweblink.com/">
      <UserName>string</UserName>
      <Password>string</Password>
      <WorkstationID>string</WorkstationID>
      <PosID>string</PosID>
      <Token>string</Token>
      <TerminalID>string</TerminalID>
      <SerialNum>string</SerialNum>
      <TraceNum>string</TraceNum>
      <TimeOut>string</TimeOut>
      <TenderType>string</TenderType>
      <TransType>string</TransType>
      <Amount>string</Amount>
      <ECRRefNum>string</ECRRefNum>
      <OrigRefNum>string</OrigRefNum>
      <OrigTransDate>string</OrigTransDate>
      <OrigTransTime>string</OrigTransTime>
      <OrigAcctNum>string</OrigAcctNum>
      <OrigApprovedAmt>string</OrigApprovedAmt>
      <ExtData>string</ExtData>
    </AdjustAnywhere>
  </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>
    <AdjustAnywhereResponse xmlns="https://secure.spweblink.com/">
      <AdjustAnywhereResult>
        <ResultCode>string</ResultCode>
        <ResultTxt>string</ResultTxt>
        <ResultMsg>string</ResultMsg>
        <TransType>string</TransType>
        <IPaddress>string</IPaddress>
        <PosID>string</PosID>
        <Port>string</Port>
        <MacAddress>string</MacAddress>
        <TerminalID>string</TerminalID>
        <Token>string</Token>
        <SerialNum>string</SerialNum>
        <Amount>string</Amount>
        <TraceNum>string</TraceNum>
        <AuthCode>string</AuthCode>
        <ApprovedAmount>string</ApprovedAmount>
        <MaskedPAN>string</MaskedPAN>
        <RemainingBalance>string</RemainingBalance>
        <ExtraBalance>string</ExtraBalance>
        <CardType>string</CardType>
        <AvsResponse>string</AvsResponse>
        <CvResponse>string</CvResponse>
        <HostCode>string</HostCode>
        <HostResponse>string</HostResponse>
        <HostMessage>string</HostMessage>
        <RefNum>string</RefNum>
        <ECRRefNum>string</ECRRefNum>
        <TransDate>string</TransDate>
        <TransTime>string</TransTime>
        <OrigRefNum>string</OrigRefNum>
        <BatchNum>string</BatchNum>
        <SigFileName>string</SigFileName>
        <SignData>string</SignData>
        <RawResponse>string</RawResponse>
        <ExtData>string</ExtData>
      </AdjustAnywhereResult>
    </AdjustAnywhereResponse>
  </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/PosService.asmx HTTP/1.1
Host: demo.spweblink.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:Body>
    <AdjustAnywhere xmlns="https://secure.spweblink.com/">
      <UserName>string</UserName>
      <Password>string</Password>
      <WorkstationID>string</WorkstationID>
      <PosID>string</PosID>
      <Token>string</Token>
      <TerminalID>string</TerminalID>
      <SerialNum>string</SerialNum>
      <TraceNum>string</TraceNum>
      <TimeOut>string</TimeOut>
      <TenderType>string</TenderType>
      <TransType>string</TransType>
      <Amount>string</Amount>
      <ECRRefNum>string</ECRRefNum>
      <OrigRefNum>string</OrigRefNum>
      <OrigTransDate>string</OrigTransDate>
      <OrigTransTime>string</OrigTransTime>
      <OrigAcctNum>string</OrigAcctNum>
      <OrigApprovedAmt>string</OrigApprovedAmt>
      <ExtData>string</ExtData>
    </AdjustAnywhere>
  </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>
    <AdjustAnywhereResponse xmlns="https://secure.spweblink.com/">
      <AdjustAnywhereResult>
        <ResultCode>string</ResultCode>
        <ResultTxt>string</ResultTxt>
        <ResultMsg>string</ResultMsg>
        <TransType>string</TransType>
        <IPaddress>string</IPaddress>
        <PosID>string</PosID>
        <Port>string</Port>
        <MacAddress>string</MacAddress>
        <TerminalID>string</TerminalID>
        <Token>string</Token>
        <SerialNum>string</SerialNum>
        <Amount>string</Amount>
        <TraceNum>string</TraceNum>
        <AuthCode>string</AuthCode>
        <ApprovedAmount>string</ApprovedAmount>
        <MaskedPAN>string</MaskedPAN>
        <RemainingBalance>string</RemainingBalance>
        <ExtraBalance>string</ExtraBalance>
        <CardType>string</CardType>
        <AvsResponse>string</AvsResponse>
        <CvResponse>string</CvResponse>
        <HostCode>string</HostCode>
        <HostResponse>string</HostResponse>
        <HostMessage>string</HostMessage>
        <RefNum>string</RefNum>
        <ECRRefNum>string</ECRRefNum>
        <TransDate>string</TransDate>
        <TransTime>string</TransTime>
        <OrigRefNum>string</OrigRefNum>
        <BatchNum>string</BatchNum>
        <SigFileName>string</SigFileName>
        <SignData>string</SignData>
        <RawResponse>string</RawResponse>
        <ExtData>string</ExtData>
      </AdjustAnywhereResult>
    </AdjustAnywhereResponse>
  </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 /Service/PosService.asmx/AdjustAnywhere?UserName=string&Password=string&WorkstationID=string&PosID=string&Token=string&TerminalID=string&SerialNum=string&TraceNum=string&TimeOut=string&TenderType=string&TransType=string&Amount=string&ECRRefNum=string&OrigRefNum=string&OrigTransDate=string&OrigTransTime=string&OrigAcctNum=string&OrigApprovedAmt=string&ExtData=string HTTP/1.1
Host: demo.spweblink.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<PosPaymentResult xmlns="https://secure.spweblink.com/">
  <ResultCode>string</ResultCode>
  <ResultTxt>string</ResultTxt>
  <ResultMsg>string</ResultMsg>
  <TransType>string</TransType>
  <IPaddress>string</IPaddress>
  <PosID>string</PosID>
  <Port>string</Port>
  <MacAddress>string</MacAddress>
  <TerminalID>string</TerminalID>
  <Token>string</Token>
  <SerialNum>string</SerialNum>
  <Amount>string</Amount>
  <TraceNum>string</TraceNum>
  <AuthCode>string</AuthCode>
  <ApprovedAmount>string</ApprovedAmount>
  <MaskedPAN>string</MaskedPAN>
  <RemainingBalance>string</RemainingBalance>
  <ExtraBalance>string</ExtraBalance>
  <CardType>string</CardType>
  <AvsResponse>string</AvsResponse>
  <CvResponse>string</CvResponse>
  <HostCode>string</HostCode>
  <HostResponse>string</HostResponse>
  <HostMessage>string</HostMessage>
  <RefNum>string</RefNum>
  <ECRRefNum>string</ECRRefNum>
  <TransDate>string</TransDate>
  <TransTime>string</TransTime>
  <OrigRefNum>string</OrigRefNum>
  <BatchNum>string</BatchNum>
  <SigFileName>string</SigFileName>
  <SignData>string</SignData>
  <RawResponse>string</RawResponse>
  <ExtData>string</ExtData>
</PosPaymentResult>

HTTP POST

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

POST /Service/PosService.asmx/AdjustAnywhere HTTP/1.1
Host: demo.spweblink.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

UserName=string&Password=string&WorkstationID=string&PosID=string&Token=string&TerminalID=string&SerialNum=string&TraceNum=string&TimeOut=string&TenderType=string&TransType=string&Amount=string&ECRRefNum=string&OrigRefNum=string&OrigTransDate=string&OrigTransTime=string&OrigAcctNum=string&OrigApprovedAmt=string&ExtData=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<PosPaymentResult xmlns="https://secure.spweblink.com/">
  <ResultCode>string</ResultCode>
  <ResultTxt>string</ResultTxt>
  <ResultMsg>string</ResultMsg>
  <TransType>string</TransType>
  <IPaddress>string</IPaddress>
  <PosID>string</PosID>
  <Port>string</Port>
  <MacAddress>string</MacAddress>
  <TerminalID>string</TerminalID>
  <Token>string</Token>
  <SerialNum>string</SerialNum>
  <Amount>string</Amount>
  <TraceNum>string</TraceNum>
  <AuthCode>string</AuthCode>
  <ApprovedAmount>string</ApprovedAmount>
  <MaskedPAN>string</MaskedPAN>
  <RemainingBalance>string</RemainingBalance>
  <ExtraBalance>string</ExtraBalance>
  <CardType>string</CardType>
  <AvsResponse>string</AvsResponse>
  <CvResponse>string</CvResponse>
  <HostCode>string</HostCode>
  <HostResponse>string</HostResponse>
  <HostMessage>string</HostMessage>
  <RefNum>string</RefNum>
  <ECRRefNum>string</ECRRefNum>
  <TransDate>string</TransDate>
  <TransTime>string</TransTime>
  <OrigRefNum>string</OrigRefNum>
  <BatchNum>string</BatchNum>
  <SigFileName>string</SigFileName>
  <SignData>string</SignData>
  <RawResponse>string</RawResponse>
  <ExtData>string</ExtData>
</PosPaymentResult>