GameMachineServices


Click here for a complete list of operations.

PlayGameWithCreditCard

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 /GameMachineServices.asmx HTTP/1.1
Host: aspthemetest14.parafait1.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://semnox.com/PlayGameWithCreditCard"

<?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>
    <PlayGameWithCreditCard xmlns="http://semnox.com/">
      <machineId>int</machineId>
      <creditCardDetailDTO>
        <InvoiceNo>string</InvoiceNo>
        <TokenID>string</TokenID>
        <RecordNo>string</RecordNo>
        <DSIXReturnCode>string</DSIXReturnCode>
        <TextResponse>string</TextResponse>
        <AcctNo>string</AcctNo>
        <CardType>string</CardType>
        <TranCode>string</TranCode>
        <RefNo>string</RefNo>
        <Purchase>decimal</Purchase>
        <Authorize>string</Authorize>
        <TransactionDatetime>dateTime</TransactionDatetime>
        <AuthCode>string</AuthCode>
        <ProcessData>string</ProcessData>
        <ResponseOrigin>string</ResponseOrigin>
        <UserTraceData>string</UserTraceData>
        <CaptureStatus>string</CaptureStatus>
        <AcqRefData>string</AcqRefData>
        <CreditCardName>string</CreditCardName>
        <NameOnCreditCard>string</NameOnCreditCard>
        <CreditCardExpiry>string</CreditCardExpiry>
        <Amount>decimal</Amount>
        <TipAmount>string</TipAmount>
        <CustomerCopy>string</CustomerCopy>
        <MerchantCopy>string</MerchantCopy>
        <CustomerCardProfileId>string</CustomerCardProfileId>
        <Status>string</Status>
      </creditCardDetailDTO>
      <noOfGamePlays>int</noOfGamePlays>
    </PlayGameWithCreditCard>
  </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>
    <PlayGameWithCreditCardResponse xmlns="http://semnox.com/">
      <PlayGameWithCreditCardResult>
        <GamePlayDTO>
          <GameplayId>int</GameplayId>
          <MachineId>int</MachineId>
          <CardId>int</CardId>
          <CardNumber>string</CardNumber>
          <Credits>double</Credits>
          <Courtesy>double</Courtesy>
          <Bonus>double</Bonus>
          <Time>double</Time>
          <PlayDate>dateTime</PlayDate>
          <Notes>string</Notes>
          <TicketCount>int</TicketCount>
          <TicketMode>string</TicketMode>
          <Guid>string</Guid>
          <Status>string</Status>
          <Remarks>string</Remarks>
          <ApprovedBy>string</ApprovedBy>
          <SiteId>int</SiteId>
          <SynchStatus>boolean</SynchStatus>
          <CardGame>double</CardGame>
          <CPCardBalance>double</CPCardBalance>
          <CPCredits>double</CPCredits>
          <CPBonus>double</CPBonus>
          <CardGameId>int</CardGameId>
          <PayoutCost>double</PayoutCost>
          <MasterEntityId>int</MasterEntityId>
          <MultiGamePlayReference>string</MultiGamePlayReference>
          <GamePriceTierInfo>string</GamePriceTierInfo>
          <GamePlayInfoDTOList>
            <GamePlayInfoDTO xsi:nil="true" />
            <GamePlayInfoDTO xsi:nil="true" />
          </GamePlayInfoDTOList>
          <LastUpdatedDate>dateTime</LastUpdatedDate>
          <LastUpdatedBy>string</LastUpdatedBy>
          <PromotionId>int</PromotionId>
          <PlayRequestTime>dateTime</PlayRequestTime>
          <CreatedBy>string</CreatedBy>
          <CreationDate>dateTime</CreationDate>
          <Game>string</Game>
          <Machine>string</Machine>
          <ETickets>double</ETickets>
          <ManualTickets>double</ManualTickets>
          <TicketEaterTickets>double</TicketEaterTickets>
          <Mode>string</Mode>
          <Site>string</Site>
          <TaskId>int</TaskId>
          <ExternalSystemReference>string</ExternalSystemReference>
          <IsChanged>boolean</IsChanged>
        </GamePlayDTO>
        <GamePlayDTO>
          <GameplayId>int</GameplayId>
          <MachineId>int</MachineId>
          <CardId>int</CardId>
          <CardNumber>string</CardNumber>
          <Credits>double</Credits>
          <Courtesy>double</Courtesy>
          <Bonus>double</Bonus>
          <Time>double</Time>
          <PlayDate>dateTime</PlayDate>
          <Notes>string</Notes>
          <TicketCount>int</TicketCount>
          <TicketMode>string</TicketMode>
          <Guid>string</Guid>
          <Status>string</Status>
          <Remarks>string</Remarks>
          <ApprovedBy>string</ApprovedBy>
          <SiteId>int</SiteId>
          <SynchStatus>boolean</SynchStatus>
          <CardGame>double</CardGame>
          <CPCardBalance>double</CPCardBalance>
          <CPCredits>double</CPCredits>
          <CPBonus>double</CPBonus>
          <CardGameId>int</CardGameId>
          <PayoutCost>double</PayoutCost>
          <MasterEntityId>int</MasterEntityId>
          <MultiGamePlayReference>string</MultiGamePlayReference>
          <GamePriceTierInfo>string</GamePriceTierInfo>
          <GamePlayInfoDTOList>
            <GamePlayInfoDTO xsi:nil="true" />
            <GamePlayInfoDTO xsi:nil="true" />
          </GamePlayInfoDTOList>
          <LastUpdatedDate>dateTime</LastUpdatedDate>
          <LastUpdatedBy>string</LastUpdatedBy>
          <PromotionId>int</PromotionId>
          <PlayRequestTime>dateTime</PlayRequestTime>
          <CreatedBy>string</CreatedBy>
          <CreationDate>dateTime</CreationDate>
          <Game>string</Game>
          <Machine>string</Machine>
          <ETickets>double</ETickets>
          <ManualTickets>double</ManualTickets>
          <TicketEaterTickets>double</TicketEaterTickets>
          <Mode>string</Mode>
          <Site>string</Site>
          <TaskId>int</TaskId>
          <ExternalSystemReference>string</ExternalSystemReference>
          <IsChanged>boolean</IsChanged>
        </GamePlayDTO>
      </PlayGameWithCreditCardResult>
    </PlayGameWithCreditCardResponse>
  </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 /GameMachineServices.asmx HTTP/1.1
Host: aspthemetest14.parafait1.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>
    <PlayGameWithCreditCard xmlns="http://semnox.com/">
      <machineId>int</machineId>
      <creditCardDetailDTO>
        <InvoiceNo>string</InvoiceNo>
        <TokenID>string</TokenID>
        <RecordNo>string</RecordNo>
        <DSIXReturnCode>string</DSIXReturnCode>
        <TextResponse>string</TextResponse>
        <AcctNo>string</AcctNo>
        <CardType>string</CardType>
        <TranCode>string</TranCode>
        <RefNo>string</RefNo>
        <Purchase>decimal</Purchase>
        <Authorize>string</Authorize>
        <TransactionDatetime>dateTime</TransactionDatetime>
        <AuthCode>string</AuthCode>
        <ProcessData>string</ProcessData>
        <ResponseOrigin>string</ResponseOrigin>
        <UserTraceData>string</UserTraceData>
        <CaptureStatus>string</CaptureStatus>
        <AcqRefData>string</AcqRefData>
        <CreditCardName>string</CreditCardName>
        <NameOnCreditCard>string</NameOnCreditCard>
        <CreditCardExpiry>string</CreditCardExpiry>
        <Amount>decimal</Amount>
        <TipAmount>string</TipAmount>
        <CustomerCopy>string</CustomerCopy>
        <MerchantCopy>string</MerchantCopy>
        <CustomerCardProfileId>string</CustomerCardProfileId>
        <Status>string</Status>
      </creditCardDetailDTO>
      <noOfGamePlays>int</noOfGamePlays>
    </PlayGameWithCreditCard>
  </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>
    <PlayGameWithCreditCardResponse xmlns="http://semnox.com/">
      <PlayGameWithCreditCardResult>
        <GamePlayDTO>
          <GameplayId>int</GameplayId>
          <MachineId>int</MachineId>
          <CardId>int</CardId>
          <CardNumber>string</CardNumber>
          <Credits>double</Credits>
          <Courtesy>double</Courtesy>
          <Bonus>double</Bonus>
          <Time>double</Time>
          <PlayDate>dateTime</PlayDate>
          <Notes>string</Notes>
          <TicketCount>int</TicketCount>
          <TicketMode>string</TicketMode>
          <Guid>string</Guid>
          <Status>string</Status>
          <Remarks>string</Remarks>
          <ApprovedBy>string</ApprovedBy>
          <SiteId>int</SiteId>
          <SynchStatus>boolean</SynchStatus>
          <CardGame>double</CardGame>
          <CPCardBalance>double</CPCardBalance>
          <CPCredits>double</CPCredits>
          <CPBonus>double</CPBonus>
          <CardGameId>int</CardGameId>
          <PayoutCost>double</PayoutCost>
          <MasterEntityId>int</MasterEntityId>
          <MultiGamePlayReference>string</MultiGamePlayReference>
          <GamePriceTierInfo>string</GamePriceTierInfo>
          <GamePlayInfoDTOList>
            <GamePlayInfoDTO xsi:nil="true" />
            <GamePlayInfoDTO xsi:nil="true" />
          </GamePlayInfoDTOList>
          <LastUpdatedDate>dateTime</LastUpdatedDate>
          <LastUpdatedBy>string</LastUpdatedBy>
          <PromotionId>int</PromotionId>
          <PlayRequestTime>dateTime</PlayRequestTime>
          <CreatedBy>string</CreatedBy>
          <CreationDate>dateTime</CreationDate>
          <Game>string</Game>
          <Machine>string</Machine>
          <ETickets>double</ETickets>
          <ManualTickets>double</ManualTickets>
          <TicketEaterTickets>double</TicketEaterTickets>
          <Mode>string</Mode>
          <Site>string</Site>
          <TaskId>int</TaskId>
          <ExternalSystemReference>string</ExternalSystemReference>
          <IsChanged>boolean</IsChanged>
        </GamePlayDTO>
        <GamePlayDTO>
          <GameplayId>int</GameplayId>
          <MachineId>int</MachineId>
          <CardId>int</CardId>
          <CardNumber>string</CardNumber>
          <Credits>double</Credits>
          <Courtesy>double</Courtesy>
          <Bonus>double</Bonus>
          <Time>double</Time>
          <PlayDate>dateTime</PlayDate>
          <Notes>string</Notes>
          <TicketCount>int</TicketCount>
          <TicketMode>string</TicketMode>
          <Guid>string</Guid>
          <Status>string</Status>
          <Remarks>string</Remarks>
          <ApprovedBy>string</ApprovedBy>
          <SiteId>int</SiteId>
          <SynchStatus>boolean</SynchStatus>
          <CardGame>double</CardGame>
          <CPCardBalance>double</CPCardBalance>
          <CPCredits>double</CPCredits>
          <CPBonus>double</CPBonus>
          <CardGameId>int</CardGameId>
          <PayoutCost>double</PayoutCost>
          <MasterEntityId>int</MasterEntityId>
          <MultiGamePlayReference>string</MultiGamePlayReference>
          <GamePriceTierInfo>string</GamePriceTierInfo>
          <GamePlayInfoDTOList>
            <GamePlayInfoDTO xsi:nil="true" />
            <GamePlayInfoDTO xsi:nil="true" />
          </GamePlayInfoDTOList>
          <LastUpdatedDate>dateTime</LastUpdatedDate>
          <LastUpdatedBy>string</LastUpdatedBy>
          <PromotionId>int</PromotionId>
          <PlayRequestTime>dateTime</PlayRequestTime>
          <CreatedBy>string</CreatedBy>
          <CreationDate>dateTime</CreationDate>
          <Game>string</Game>
          <Machine>string</Machine>
          <ETickets>double</ETickets>
          <ManualTickets>double</ManualTickets>
          <TicketEaterTickets>double</TicketEaterTickets>
          <Mode>string</Mode>
          <Site>string</Site>
          <TaskId>int</TaskId>
          <ExternalSystemReference>string</ExternalSystemReference>
          <IsChanged>boolean</IsChanged>
        </GamePlayDTO>
      </PlayGameWithCreditCardResult>
    </PlayGameWithCreditCardResponse>
  </soap12:Body>
</soap12:Envelope>