GameMachineServices
Click here for a complete list of operations.
PlayGameWithMachineIdAndCardNumber
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 /GameMachineServices.asmx HTTP/1.1 Host: onlinesubscription.adventureparkusa.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://semnox.com/PlayGameWithMachineIdAndCardNumber" <?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> <PlayGameWithMachineIdAndCardNumber xmlns="http://semnox.com/"> <machineId>int</machineId> <cardNumber>string</cardNumber> <noOfGamePlays>int</noOfGamePlays> </PlayGameWithMachineIdAndCardNumber> </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> <PlayGameWithMachineIdAndCardNumberResponse xmlns="http://semnox.com/"> <PlayGameWithMachineIdAndCardNumberResult> <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> <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> <GamePlayInfoDTOList> <GamePlayInfoDTO> <Id>int</Id> <GameplayId>int</GameplayId> <IsPaused>string</IsPaused> <PauseStartTime>dateTime</PauseStartTime> <TotalPauseTime>int</TotalPauseTime> <GameEndTime>dateTime</GameEndTime> <Guid>string</Guid> <SynchStatus>boolean</SynchStatus> <SiteId>int</SiteId> <LastUpdateBy>string</LastUpdateBy> <LastUpdateDate>dateTime</LastUpdateDate> <PlayTime>int</PlayTime> <ReaderRecordId>int</ReaderRecordId> <GamePlayData>string</GamePlayData> <Status>string</Status> <MasterEntityId>int</MasterEntityId> <CreationDate>dateTime</CreationDate> <CreatedBy>string</CreatedBy> <CustomerGamePlayLevelResultsId>int</CustomerGamePlayLevelResultsId> <Attribute1>string</Attribute1> <Attribute2>string</Attribute2> <Attribute3>string</Attribute3> <Attribute4>string</Attribute4> <Attribute5>string</Attribute5> <IsChanged>boolean</IsChanged> </GamePlayInfoDTO> <GamePlayInfoDTO> <Id>int</Id> <GameplayId>int</GameplayId> <IsPaused>string</IsPaused> <PauseStartTime>dateTime</PauseStartTime> <TotalPauseTime>int</TotalPauseTime> <GameEndTime>dateTime</GameEndTime> <Guid>string</Guid> <SynchStatus>boolean</SynchStatus> <SiteId>int</SiteId> <LastUpdateBy>string</LastUpdateBy> <LastUpdateDate>dateTime</LastUpdateDate> <PlayTime>int</PlayTime> <ReaderRecordId>int</ReaderRecordId> <GamePlayData>string</GamePlayData> <Status>string</Status> <MasterEntityId>int</MasterEntityId> <CreationDate>dateTime</CreationDate> <CreatedBy>string</CreatedBy> <CustomerGamePlayLevelResultsId>int</CustomerGamePlayLevelResultsId> <Attribute1>string</Attribute1> <Attribute2>string</Attribute2> <Attribute3>string</Attribute3> <Attribute4>string</Attribute4> <Attribute5>string</Attribute5> <IsChanged>boolean</IsChanged> </GamePlayInfoDTO> </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> </PlayGameWithMachineIdAndCardNumberResult> </PlayGameWithMachineIdAndCardNumberResponse> </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: onlinesubscription.adventureparkusa.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> <PlayGameWithMachineIdAndCardNumber xmlns="http://semnox.com/"> <machineId>int</machineId> <cardNumber>string</cardNumber> <noOfGamePlays>int</noOfGamePlays> </PlayGameWithMachineIdAndCardNumber> </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> <PlayGameWithMachineIdAndCardNumberResponse xmlns="http://semnox.com/"> <PlayGameWithMachineIdAndCardNumberResult> <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> <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> <GamePlayInfoDTOList> <GamePlayInfoDTO> <Id>int</Id> <GameplayId>int</GameplayId> <IsPaused>string</IsPaused> <PauseStartTime>dateTime</PauseStartTime> <TotalPauseTime>int</TotalPauseTime> <GameEndTime>dateTime</GameEndTime> <Guid>string</Guid> <SynchStatus>boolean</SynchStatus> <SiteId>int</SiteId> <LastUpdateBy>string</LastUpdateBy> <LastUpdateDate>dateTime</LastUpdateDate> <PlayTime>int</PlayTime> <ReaderRecordId>int</ReaderRecordId> <GamePlayData>string</GamePlayData> <Status>string</Status> <MasterEntityId>int</MasterEntityId> <CreationDate>dateTime</CreationDate> <CreatedBy>string</CreatedBy> <CustomerGamePlayLevelResultsId>int</CustomerGamePlayLevelResultsId> <Attribute1>string</Attribute1> <Attribute2>string</Attribute2> <Attribute3>string</Attribute3> <Attribute4>string</Attribute4> <Attribute5>string</Attribute5> <IsChanged>boolean</IsChanged> </GamePlayInfoDTO> <GamePlayInfoDTO> <Id>int</Id> <GameplayId>int</GameplayId> <IsPaused>string</IsPaused> <PauseStartTime>dateTime</PauseStartTime> <TotalPauseTime>int</TotalPauseTime> <GameEndTime>dateTime</GameEndTime> <Guid>string</Guid> <SynchStatus>boolean</SynchStatus> <SiteId>int</SiteId> <LastUpdateBy>string</LastUpdateBy> <LastUpdateDate>dateTime</LastUpdateDate> <PlayTime>int</PlayTime> <ReaderRecordId>int</ReaderRecordId> <GamePlayData>string</GamePlayData> <Status>string</Status> <MasterEntityId>int</MasterEntityId> <CreationDate>dateTime</CreationDate> <CreatedBy>string</CreatedBy> <CustomerGamePlayLevelResultsId>int</CustomerGamePlayLevelResultsId> <Attribute1>string</Attribute1> <Attribute2>string</Attribute2> <Attribute3>string</Attribute3> <Attribute4>string</Attribute4> <Attribute5>string</Attribute5> <IsChanged>boolean</IsChanged> </GamePlayInfoDTO> </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> </PlayGameWithMachineIdAndCardNumberResult> </PlayGameWithMachineIdAndCardNumberResponse> </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 /GameMachineServices.asmx/PlayGameWithMachineIdAndCardNumber?machineId=string&cardNumber=string&noOfGamePlays=string HTTP/1.1 Host: onlinesubscription.adventureparkusa.com
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <GamePlayDTO xmlns="http://semnox.com/"> <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> <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> <GamePlayInfoDTOList> <GamePlayInfoDTO> <Id>int</Id> <GameplayId>int</GameplayId> <IsPaused>string</IsPaused> <PauseStartTime>dateTime</PauseStartTime> <TotalPauseTime>int</TotalPauseTime> <GameEndTime>dateTime</GameEndTime> <Guid>string</Guid> <SynchStatus>boolean</SynchStatus> <SiteId>int</SiteId> <LastUpdateBy>string</LastUpdateBy> <LastUpdateDate>dateTime</LastUpdateDate> <PlayTime>int</PlayTime> <ReaderRecordId>int</ReaderRecordId> <GamePlayData>string</GamePlayData> <Status>string</Status> <MasterEntityId>int</MasterEntityId> <CreationDate>dateTime</CreationDate> <CreatedBy>string</CreatedBy> <CustomerGamePlayLevelResultsId>int</CustomerGamePlayLevelResultsId> <Attribute1>string</Attribute1> <Attribute2>string</Attribute2> <Attribute3>string</Attribute3> <Attribute4>string</Attribute4> <Attribute5>string</Attribute5> <IsChanged>boolean</IsChanged> </GamePlayInfoDTO> <GamePlayInfoDTO> <Id>int</Id> <GameplayId>int</GameplayId> <IsPaused>string</IsPaused> <PauseStartTime>dateTime</PauseStartTime> <TotalPauseTime>int</TotalPauseTime> <GameEndTime>dateTime</GameEndTime> <Guid>string</Guid> <SynchStatus>boolean</SynchStatus> <SiteId>int</SiteId> <LastUpdateBy>string</LastUpdateBy> <LastUpdateDate>dateTime</LastUpdateDate> <PlayTime>int</PlayTime> <ReaderRecordId>int</ReaderRecordId> <GamePlayData>string</GamePlayData> <Status>string</Status> <MasterEntityId>int</MasterEntityId> <CreationDate>dateTime</CreationDate> <CreatedBy>string</CreatedBy> <CustomerGamePlayLevelResultsId>int</CustomerGamePlayLevelResultsId> <Attribute1>string</Attribute1> <Attribute2>string</Attribute2> <Attribute3>string</Attribute3> <Attribute4>string</Attribute4> <Attribute5>string</Attribute5> <IsChanged>boolean</IsChanged> </GamePlayInfoDTO> </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>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /GameMachineServices.asmx/PlayGameWithMachineIdAndCardNumber HTTP/1.1 Host: onlinesubscription.adventureparkusa.com Content-Type: application/x-www-form-urlencoded Content-Length: length machineId=string&cardNumber=string&noOfGamePlays=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <GamePlayDTO xmlns="http://semnox.com/"> <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> <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> <GamePlayInfoDTOList> <GamePlayInfoDTO> <Id>int</Id> <GameplayId>int</GameplayId> <IsPaused>string</IsPaused> <PauseStartTime>dateTime</PauseStartTime> <TotalPauseTime>int</TotalPauseTime> <GameEndTime>dateTime</GameEndTime> <Guid>string</Guid> <SynchStatus>boolean</SynchStatus> <SiteId>int</SiteId> <LastUpdateBy>string</LastUpdateBy> <LastUpdateDate>dateTime</LastUpdateDate> <PlayTime>int</PlayTime> <ReaderRecordId>int</ReaderRecordId> <GamePlayData>string</GamePlayData> <Status>string</Status> <MasterEntityId>int</MasterEntityId> <CreationDate>dateTime</CreationDate> <CreatedBy>string</CreatedBy> <CustomerGamePlayLevelResultsId>int</CustomerGamePlayLevelResultsId> <Attribute1>string</Attribute1> <Attribute2>string</Attribute2> <Attribute3>string</Attribute3> <Attribute4>string</Attribute4> <Attribute5>string</Attribute5> <IsChanged>boolean</IsChanged> </GamePlayInfoDTO> <GamePlayInfoDTO> <Id>int</Id> <GameplayId>int</GameplayId> <IsPaused>string</IsPaused> <PauseStartTime>dateTime</PauseStartTime> <TotalPauseTime>int</TotalPauseTime> <GameEndTime>dateTime</GameEndTime> <Guid>string</Guid> <SynchStatus>boolean</SynchStatus> <SiteId>int</SiteId> <LastUpdateBy>string</LastUpdateBy> <LastUpdateDate>dateTime</LastUpdateDate> <PlayTime>int</PlayTime> <ReaderRecordId>int</ReaderRecordId> <GamePlayData>string</GamePlayData> <Status>string</Status> <MasterEntityId>int</MasterEntityId> <CreationDate>dateTime</CreationDate> <CreatedBy>string</CreatedBy> <CustomerGamePlayLevelResultsId>int</CustomerGamePlayLevelResultsId> <Attribute1>string</Attribute1> <Attribute2>string</Attribute2> <Attribute3>string</Attribute3> <Attribute4>string</Attribute4> <Attribute5>string</Attribute5> <IsChanged>boolean</IsChanged> </GamePlayInfoDTO> </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>