CardServices
Click here for a complete list of operations.
GetLoyaltyDetails
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/GetLoyaltyDetails" <?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> <GetLoyaltyDetails xmlns="http://semnox.com/"> <cardParams> <CustomerId>int</CustomerId> <CardId>int</CardId> <CardNumber>string</CardNumber> <CustomerPhoneNumber>string</CustomerPhoneNumber> </cardParams> </GetLoyaltyDetails> </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> <GetLoyaltyDetailsResponse xmlns="http://semnox.com/"> <GetLoyaltyDetailsResult> <CardCreditPlusDTO> <CardCreditPlusId>int</CardCreditPlusId> <CreditPlus>double</CreditPlus> <CreditPlusType>string</CreditPlusType> <Refundable>string</Refundable> <Remarks>string</Remarks> <CardId>int</CardId> <TrxId>int</TrxId> <LineId>int</LineId> <CreditPlusBalance>double</CreditPlusBalance> <PeriodFrom>dateTime</PeriodFrom> <PeriodTo>dateTime</PeriodTo> <TimeFrom>double</TimeFrom> <TimeTo>double</TimeTo> <NumberOfDays>int</NumberOfDays> <Monday>string</Monday> <Tuesday>string</Tuesday> <Wednesday>string</Wednesday> <Thursday>string</Thursday> <Friday>string</Friday> <Saturday>string</Saturday> <Sunday>string</Sunday> <MinimumSaleAmount>double</MinimumSaleAmount> <LoyaltyRuleId>int</LoyaltyRuleId> <CreationDate>dateTime</CreationDate> <LastupdatedDate>dateTime</LastupdatedDate> <Guid>string</Guid> <SiteId>int</SiteId> <ExtendOnReload>string</ExtendOnReload> <PlayStartTime>dateTime</PlayStartTime> <TicketAllowed>boolean</TicketAllowed> <MasterEntityId>int</MasterEntityId> <ForMembershipOnly>string</ForMembershipOnly> <ExpireWithMembership>string</ExpireWithMembership> <MembershipRewardsId>int</MembershipRewardsId> <MembershipId>int</MembershipId> <ValidityStatus>Valid or Hold</ValidityStatus> <PauseAllowed>boolean</PauseAllowed> <IsChanged>boolean</IsChanged> </CardCreditPlusDTO> <CardCreditPlusDTO> <CardCreditPlusId>int</CardCreditPlusId> <CreditPlus>double</CreditPlus> <CreditPlusType>string</CreditPlusType> <Refundable>string</Refundable> <Remarks>string</Remarks> <CardId>int</CardId> <TrxId>int</TrxId> <LineId>int</LineId> <CreditPlusBalance>double</CreditPlusBalance> <PeriodFrom>dateTime</PeriodFrom> <PeriodTo>dateTime</PeriodTo> <TimeFrom>double</TimeFrom> <TimeTo>double</TimeTo> <NumberOfDays>int</NumberOfDays> <Monday>string</Monday> <Tuesday>string</Tuesday> <Wednesday>string</Wednesday> <Thursday>string</Thursday> <Friday>string</Friday> <Saturday>string</Saturday> <Sunday>string</Sunday> <MinimumSaleAmount>double</MinimumSaleAmount> <LoyaltyRuleId>int</LoyaltyRuleId> <CreationDate>dateTime</CreationDate> <LastupdatedDate>dateTime</LastupdatedDate> <Guid>string</Guid> <SiteId>int</SiteId> <ExtendOnReload>string</ExtendOnReload> <PlayStartTime>dateTime</PlayStartTime> <TicketAllowed>boolean</TicketAllowed> <MasterEntityId>int</MasterEntityId> <ForMembershipOnly>string</ForMembershipOnly> <ExpireWithMembership>string</ExpireWithMembership> <MembershipRewardsId>int</MembershipRewardsId> <MembershipId>int</MembershipId> <ValidityStatus>Valid or Hold</ValidityStatus> <PauseAllowed>boolean</PauseAllowed> <IsChanged>boolean</IsChanged> </CardCreditPlusDTO> </GetLoyaltyDetailsResult> </GetLoyaltyDetailsResponse> </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> <GetLoyaltyDetails xmlns="http://semnox.com/"> <cardParams> <CustomerId>int</CustomerId> <CardId>int</CardId> <CardNumber>string</CardNumber> <CustomerPhoneNumber>string</CustomerPhoneNumber> </cardParams> </GetLoyaltyDetails> </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> <GetLoyaltyDetailsResponse xmlns="http://semnox.com/"> <GetLoyaltyDetailsResult> <CardCreditPlusDTO> <CardCreditPlusId>int</CardCreditPlusId> <CreditPlus>double</CreditPlus> <CreditPlusType>string</CreditPlusType> <Refundable>string</Refundable> <Remarks>string</Remarks> <CardId>int</CardId> <TrxId>int</TrxId> <LineId>int</LineId> <CreditPlusBalance>double</CreditPlusBalance> <PeriodFrom>dateTime</PeriodFrom> <PeriodTo>dateTime</PeriodTo> <TimeFrom>double</TimeFrom> <TimeTo>double</TimeTo> <NumberOfDays>int</NumberOfDays> <Monday>string</Monday> <Tuesday>string</Tuesday> <Wednesday>string</Wednesday> <Thursday>string</Thursday> <Friday>string</Friday> <Saturday>string</Saturday> <Sunday>string</Sunday> <MinimumSaleAmount>double</MinimumSaleAmount> <LoyaltyRuleId>int</LoyaltyRuleId> <CreationDate>dateTime</CreationDate> <LastupdatedDate>dateTime</LastupdatedDate> <Guid>string</Guid> <SiteId>int</SiteId> <ExtendOnReload>string</ExtendOnReload> <PlayStartTime>dateTime</PlayStartTime> <TicketAllowed>boolean</TicketAllowed> <MasterEntityId>int</MasterEntityId> <ForMembershipOnly>string</ForMembershipOnly> <ExpireWithMembership>string</ExpireWithMembership> <MembershipRewardsId>int</MembershipRewardsId> <MembershipId>int</MembershipId> <ValidityStatus>Valid or Hold</ValidityStatus> <PauseAllowed>boolean</PauseAllowed> <IsChanged>boolean</IsChanged> </CardCreditPlusDTO> <CardCreditPlusDTO> <CardCreditPlusId>int</CardCreditPlusId> <CreditPlus>double</CreditPlus> <CreditPlusType>string</CreditPlusType> <Refundable>string</Refundable> <Remarks>string</Remarks> <CardId>int</CardId> <TrxId>int</TrxId> <LineId>int</LineId> <CreditPlusBalance>double</CreditPlusBalance> <PeriodFrom>dateTime</PeriodFrom> <PeriodTo>dateTime</PeriodTo> <TimeFrom>double</TimeFrom> <TimeTo>double</TimeTo> <NumberOfDays>int</NumberOfDays> <Monday>string</Monday> <Tuesday>string</Tuesday> <Wednesday>string</Wednesday> <Thursday>string</Thursday> <Friday>string</Friday> <Saturday>string</Saturday> <Sunday>string</Sunday> <MinimumSaleAmount>double</MinimumSaleAmount> <LoyaltyRuleId>int</LoyaltyRuleId> <CreationDate>dateTime</CreationDate> <LastupdatedDate>dateTime</LastupdatedDate> <Guid>string</Guid> <SiteId>int</SiteId> <ExtendOnReload>string</ExtendOnReload> <PlayStartTime>dateTime</PlayStartTime> <TicketAllowed>boolean</TicketAllowed> <MasterEntityId>int</MasterEntityId> <ForMembershipOnly>string</ForMembershipOnly> <ExpireWithMembership>string</ExpireWithMembership> <MembershipRewardsId>int</MembershipRewardsId> <MembershipId>int</MembershipId> <ValidityStatus>Valid or Hold</ValidityStatus> <PauseAllowed>boolean</PauseAllowed> <IsChanged>boolean</IsChanged> </CardCreditPlusDTO> </GetLoyaltyDetailsResult> </GetLoyaltyDetailsResponse> </soap12:Body> </soap12:Envelope>