CardServices
Click here for a complete list of operations.
GetCardsList
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 /CardServices.asmx HTTP/1.1 Host: onlinesubscription.adventureparkusa.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://semnox.com/GetCardsList" <?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> <GetCardsList xmlns="http://semnox.com/"> <cardParams> <CustomerId>int</CustomerId> <CardId>int</CardId> <CardNumber>string</CardNumber> <CustomerPhoneNumber>string</CustomerPhoneNumber> </cardParams> </GetCardsList> </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> <GetCardsListResponse xmlns="http://semnox.com/"> <GetCardsListResult> <CardCoreDTO> <CardId>int</CardId> <Card_number>string</Card_number> <Issue_date>dateTime</Issue_date> <Face_value>float</Face_value> <Refund_flag>char</Refund_flag> <Refund_amount>float</Refund_amount> <Refund_date>dateTime</Refund_date> <Valid_flag>char</Valid_flag> <Ticket_count>int</Ticket_count> <Notes>string</Notes> <Credits>decimal</Credits> <Courtesy>decimal</Courtesy> <Bonus>decimal</Bonus> <Time>decimal</Time> <Customer_id>int</Customer_id> <Credits_played>decimal</Credits_played> <Ticket_allowed>char</Ticket_allowed> <Real_ticket_mode>char</Real_ticket_mode> <Vip_customer>char</Vip_customer> <Start_time>dateTime</Start_time> <Last_played_time>dateTime</Last_played_time> <Technician_card>char</Technician_card> <Tech_games>int</Tech_games> <Timer_reset_card>char</Timer_reset_card> <Loyalty_points>int</Loyalty_points> <CardTypeId>int</CardTypeId> <Upload_site_id>int</Upload_site_id> <Upload_time>dateTime</Upload_time> <ExpiryDate>dateTime</ExpiryDate> <DownloadBatchId>int</DownloadBatchId> <RefreshFromHQTime>dateTime</RefreshFromHQTime> <Site_id>int</Site_id> <Guid>string</Guid> <SynchStatus>boolean</SynchStatus> <Last_update_time>string</Last_update_time> <LastUpdatedBy>string</LastUpdatedBy> <MasterEntityId>int</MasterEntityId> <CustomerFingerPrintDTO> <Id>int</Id> <CardId>int</CardId> <Template>string</Template> <ActiveFlag>boolean</ActiveFlag> <Source>string</Source> <LastUpdatedDate>dateTime</LastUpdatedDate> <LastUpdatedBy>string</LastUpdatedBy> <SiteId>int</SiteId> <Guid>string</Guid> <SyncStatus>boolean</SyncStatus> <MasterEntityId>int</MasterEntityId> <IsChanged>boolean</IsChanged> </CustomerFingerPrintDTO> <CardCreditPlusBalanceDTO> <CreditPlusTickets>int</CreditPlusTickets> <CreditPlusBalance>double</CreditPlusBalance> <CreditPlusLoyaltyPoints>double</CreditPlusLoyaltyPoints> <CreditPlusRefundableBalance>double</CreditPlusRefundableBalance> </CardCreditPlusBalanceDTO> <CardIdentifier>string</CardIdentifier> <PrimaryCard>string</PrimaryCard> <CardCreditPlusDTOList> <CardCreditPlusDTO xsi:nil="true" /> <CardCreditPlusDTO xsi:nil="true" /> </CardCreditPlusDTOList> <CardGamesDTOList> <CardGamesDTO xsi:nil="true" /> <CardGamesDTO xsi:nil="true" /> </CardGamesDTOList> <CardDiscountsDTOList> <CardDiscountsDTO xsi:nil="true" /> <CardDiscountsDTO xsi:nil="true" /> </CardDiscountsDTOList> <IsChanged>boolean</IsChanged> </CardCoreDTO> <CardCoreDTO> <CardId>int</CardId> <Card_number>string</Card_number> <Issue_date>dateTime</Issue_date> <Face_value>float</Face_value> <Refund_flag>char</Refund_flag> <Refund_amount>float</Refund_amount> <Refund_date>dateTime</Refund_date> <Valid_flag>char</Valid_flag> <Ticket_count>int</Ticket_count> <Notes>string</Notes> <Credits>decimal</Credits> <Courtesy>decimal</Courtesy> <Bonus>decimal</Bonus> <Time>decimal</Time> <Customer_id>int</Customer_id> <Credits_played>decimal</Credits_played> <Ticket_allowed>char</Ticket_allowed> <Real_ticket_mode>char</Real_ticket_mode> <Vip_customer>char</Vip_customer> <Start_time>dateTime</Start_time> <Last_played_time>dateTime</Last_played_time> <Technician_card>char</Technician_card> <Tech_games>int</Tech_games> <Timer_reset_card>char</Timer_reset_card> <Loyalty_points>int</Loyalty_points> <CardTypeId>int</CardTypeId> <Upload_site_id>int</Upload_site_id> <Upload_time>dateTime</Upload_time> <ExpiryDate>dateTime</ExpiryDate> <DownloadBatchId>int</DownloadBatchId> <RefreshFromHQTime>dateTime</RefreshFromHQTime> <Site_id>int</Site_id> <Guid>string</Guid> <SynchStatus>boolean</SynchStatus> <Last_update_time>string</Last_update_time> <LastUpdatedBy>string</LastUpdatedBy> <MasterEntityId>int</MasterEntityId> <CustomerFingerPrintDTO> <Id>int</Id> <CardId>int</CardId> <Template>string</Template> <ActiveFlag>boolean</ActiveFlag> <Source>string</Source> <LastUpdatedDate>dateTime</LastUpdatedDate> <LastUpdatedBy>string</LastUpdatedBy> <SiteId>int</SiteId> <Guid>string</Guid> <SyncStatus>boolean</SyncStatus> <MasterEntityId>int</MasterEntityId> <IsChanged>boolean</IsChanged> </CustomerFingerPrintDTO> <CardCreditPlusBalanceDTO> <CreditPlusTickets>int</CreditPlusTickets> <CreditPlusBalance>double</CreditPlusBalance> <CreditPlusLoyaltyPoints>double</CreditPlusLoyaltyPoints> <CreditPlusRefundableBalance>double</CreditPlusRefundableBalance> </CardCreditPlusBalanceDTO> <CardIdentifier>string</CardIdentifier> <PrimaryCard>string</PrimaryCard> <CardCreditPlusDTOList> <CardCreditPlusDTO xsi:nil="true" /> <CardCreditPlusDTO xsi:nil="true" /> </CardCreditPlusDTOList> <CardGamesDTOList> <CardGamesDTO xsi:nil="true" /> <CardGamesDTO xsi:nil="true" /> </CardGamesDTOList> <CardDiscountsDTOList> <CardDiscountsDTO xsi:nil="true" /> <CardDiscountsDTO xsi:nil="true" /> </CardDiscountsDTOList> <IsChanged>boolean</IsChanged> </CardCoreDTO> </GetCardsListResult> </GetCardsListResponse> </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 /CardServices.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> <GetCardsList xmlns="http://semnox.com/"> <cardParams> <CustomerId>int</CustomerId> <CardId>int</CardId> <CardNumber>string</CardNumber> <CustomerPhoneNumber>string</CustomerPhoneNumber> </cardParams> </GetCardsList> </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> <GetCardsListResponse xmlns="http://semnox.com/"> <GetCardsListResult> <CardCoreDTO> <CardId>int</CardId> <Card_number>string</Card_number> <Issue_date>dateTime</Issue_date> <Face_value>float</Face_value> <Refund_flag>char</Refund_flag> <Refund_amount>float</Refund_amount> <Refund_date>dateTime</Refund_date> <Valid_flag>char</Valid_flag> <Ticket_count>int</Ticket_count> <Notes>string</Notes> <Credits>decimal</Credits> <Courtesy>decimal</Courtesy> <Bonus>decimal</Bonus> <Time>decimal</Time> <Customer_id>int</Customer_id> <Credits_played>decimal</Credits_played> <Ticket_allowed>char</Ticket_allowed> <Real_ticket_mode>char</Real_ticket_mode> <Vip_customer>char</Vip_customer> <Start_time>dateTime</Start_time> <Last_played_time>dateTime</Last_played_time> <Technician_card>char</Technician_card> <Tech_games>int</Tech_games> <Timer_reset_card>char</Timer_reset_card> <Loyalty_points>int</Loyalty_points> <CardTypeId>int</CardTypeId> <Upload_site_id>int</Upload_site_id> <Upload_time>dateTime</Upload_time> <ExpiryDate>dateTime</ExpiryDate> <DownloadBatchId>int</DownloadBatchId> <RefreshFromHQTime>dateTime</RefreshFromHQTime> <Site_id>int</Site_id> <Guid>string</Guid> <SynchStatus>boolean</SynchStatus> <Last_update_time>string</Last_update_time> <LastUpdatedBy>string</LastUpdatedBy> <MasterEntityId>int</MasterEntityId> <CustomerFingerPrintDTO> <Id>int</Id> <CardId>int</CardId> <Template>string</Template> <ActiveFlag>boolean</ActiveFlag> <Source>string</Source> <LastUpdatedDate>dateTime</LastUpdatedDate> <LastUpdatedBy>string</LastUpdatedBy> <SiteId>int</SiteId> <Guid>string</Guid> <SyncStatus>boolean</SyncStatus> <MasterEntityId>int</MasterEntityId> <IsChanged>boolean</IsChanged> </CustomerFingerPrintDTO> <CardCreditPlusBalanceDTO> <CreditPlusTickets>int</CreditPlusTickets> <CreditPlusBalance>double</CreditPlusBalance> <CreditPlusLoyaltyPoints>double</CreditPlusLoyaltyPoints> <CreditPlusRefundableBalance>double</CreditPlusRefundableBalance> </CardCreditPlusBalanceDTO> <CardIdentifier>string</CardIdentifier> <PrimaryCard>string</PrimaryCard> <CardCreditPlusDTOList> <CardCreditPlusDTO xsi:nil="true" /> <CardCreditPlusDTO xsi:nil="true" /> </CardCreditPlusDTOList> <CardGamesDTOList> <CardGamesDTO xsi:nil="true" /> <CardGamesDTO xsi:nil="true" /> </CardGamesDTOList> <CardDiscountsDTOList> <CardDiscountsDTO xsi:nil="true" /> <CardDiscountsDTO xsi:nil="true" /> </CardDiscountsDTOList> <IsChanged>boolean</IsChanged> </CardCoreDTO> <CardCoreDTO> <CardId>int</CardId> <Card_number>string</Card_number> <Issue_date>dateTime</Issue_date> <Face_value>float</Face_value> <Refund_flag>char</Refund_flag> <Refund_amount>float</Refund_amount> <Refund_date>dateTime</Refund_date> <Valid_flag>char</Valid_flag> <Ticket_count>int</Ticket_count> <Notes>string</Notes> <Credits>decimal</Credits> <Courtesy>decimal</Courtesy> <Bonus>decimal</Bonus> <Time>decimal</Time> <Customer_id>int</Customer_id> <Credits_played>decimal</Credits_played> <Ticket_allowed>char</Ticket_allowed> <Real_ticket_mode>char</Real_ticket_mode> <Vip_customer>char</Vip_customer> <Start_time>dateTime</Start_time> <Last_played_time>dateTime</Last_played_time> <Technician_card>char</Technician_card> <Tech_games>int</Tech_games> <Timer_reset_card>char</Timer_reset_card> <Loyalty_points>int</Loyalty_points> <CardTypeId>int</CardTypeId> <Upload_site_id>int</Upload_site_id> <Upload_time>dateTime</Upload_time> <ExpiryDate>dateTime</ExpiryDate> <DownloadBatchId>int</DownloadBatchId> <RefreshFromHQTime>dateTime</RefreshFromHQTime> <Site_id>int</Site_id> <Guid>string</Guid> <SynchStatus>boolean</SynchStatus> <Last_update_time>string</Last_update_time> <LastUpdatedBy>string</LastUpdatedBy> <MasterEntityId>int</MasterEntityId> <CustomerFingerPrintDTO> <Id>int</Id> <CardId>int</CardId> <Template>string</Template> <ActiveFlag>boolean</ActiveFlag> <Source>string</Source> <LastUpdatedDate>dateTime</LastUpdatedDate> <LastUpdatedBy>string</LastUpdatedBy> <SiteId>int</SiteId> <Guid>string</Guid> <SyncStatus>boolean</SyncStatus> <MasterEntityId>int</MasterEntityId> <IsChanged>boolean</IsChanged> </CustomerFingerPrintDTO> <CardCreditPlusBalanceDTO> <CreditPlusTickets>int</CreditPlusTickets> <CreditPlusBalance>double</CreditPlusBalance> <CreditPlusLoyaltyPoints>double</CreditPlusLoyaltyPoints> <CreditPlusRefundableBalance>double</CreditPlusRefundableBalance> </CardCreditPlusBalanceDTO> <CardIdentifier>string</CardIdentifier> <PrimaryCard>string</PrimaryCard> <CardCreditPlusDTOList> <CardCreditPlusDTO xsi:nil="true" /> <CardCreditPlusDTO xsi:nil="true" /> </CardCreditPlusDTOList> <CardGamesDTOList> <CardGamesDTO xsi:nil="true" /> <CardGamesDTO xsi:nil="true" /> </CardGamesDTOList> <CardDiscountsDTOList> <CardDiscountsDTO xsi:nil="true" /> <CardDiscountsDTO xsi:nil="true" /> </CardDiscountsDTOList> <IsChanged>boolean</IsChanged> </CardCoreDTO> </GetCardsListResult> </GetCardsListResponse> </soap12:Body> </soap12:Envelope>