TransactionServices
Click here for a complete list of operations.
CancelPurchaseTransactionLine
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 /TransactionServices.asmx HTTP/1.1 Host: onlinesubscription.adventureparkusa.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://semnox.com/CancelPurchaseTransactionLine" <?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> <CancelPurchaseTransactionLine xmlns="http://semnox.com/"> <trxParams> <TrxId>int</TrxId> <PosIdentifier>string</PosIdentifier> <LoginId>string</LoginId> <UserId>int</UserId> <RoleId>int</RoleId> <ShouldCommit>boolean</ShouldCommit> <CreditCardName>string</CreditCardName> <CreditCardNumber>string</CreditCardNumber> <CreditCardType>string</CreditCardType> <CreditCardExpDate>string</CreditCardExpDate> <CreditCardInvoiceNumber>int</CreditCardInvoiceNumber> <CreditCardPaymentReference>string</CreditCardPaymentReference> <TrxPaymentReference>string</TrxPaymentReference> <PaymentReference>string</PaymentReference> <OrderRemarks>string</OrderRemarks> <PaymentCardNumber>string</PaymentCardNumber> <CustomerId>int</CustomerId> <VisitDate>dateTime</VisitDate> <AutoPayDebitCard>boolean</AutoPayDebitCard> <PaymentModeId>int</PaymentModeId> <SiteId>int</SiteId> <CloseTransaction>boolean</CloseTransaction> <ApplyOffset>boolean</ApplyOffset> <ForceIsCorporate>boolean</ForceIsCorporate> <ApplySystemVisitDate>boolean</ApplySystemVisitDate> <TrxLineId>int</TrxLineId> <DiscountCouponCode>string</DiscountCouponCode> <MembershipId>int</MembershipId> <MembershipRewardsId>int</MembershipRewardsId> <ExpireWithMembership>string</ExpireWithMembership> <ForMembershipOnly>string</ForMembershipOnly> <WaiverSigningMode>string</WaiverSigningMode> <WaiverSignedDTOList> <WaiverSignatureDTO> <WaiverSignedId>int</WaiverSignedId> <WaiverSetDetailId>int</WaiverSetDetailId> <TrxId>int</TrxId> <LineId>int</LineId> <SignedMode>string</SignedMode> <UserId>int</UserId> <IsActive>boolean</IsActive> <LastUpdatedDate>dateTime</LastUpdatedDate> <LastUpdatedBy>string</LastUpdatedBy> <GUID>string</GUID> <Site_id>int</Site_id> <SynchStatus>boolean</SynchStatus> <MasterEntityId>int</MasterEntityId> <ProductId>int</ProductId> <ProductName>string</ProductName> <WaiverFile>base64Binary</WaiverFile> <Guid>string</Guid> <CreationDate>dateTime</CreationDate> <CreatedBy>string</CreatedBy> <CustomerSignedWaiverId>int</CustomerSignedWaiverId> <CustomerSignedWaiverFileName>string</CustomerSignedWaiverFileName> <IsOverriden>boolean</IsOverriden> <IsChanged>boolean</IsChanged> </WaiverSignatureDTO> <WaiverSignatureDTO> <WaiverSignedId>int</WaiverSignedId> <WaiverSetDetailId>int</WaiverSetDetailId> <TrxId>int</TrxId> <LineId>int</LineId> <SignedMode>string</SignedMode> <UserId>int</UserId> <IsActive>boolean</IsActive> <LastUpdatedDate>dateTime</LastUpdatedDate> <LastUpdatedBy>string</LastUpdatedBy> <GUID>string</GUID> <Site_id>int</Site_id> <SynchStatus>boolean</SynchStatus> <MasterEntityId>int</MasterEntityId> <ProductId>int</ProductId> <ProductName>string</ProductName> <WaiverFile>base64Binary</WaiverFile> <Guid>string</Guid> <CreationDate>dateTime</CreationDate> <CreatedBy>string</CreatedBy> <CustomerSignedWaiverId>int</CustomerSignedWaiverId> <CustomerSignedWaiverFileName>string</CustomerSignedWaiverFileName> <IsOverriden>boolean</IsOverriden> <IsChanged>boolean</IsChanged> </WaiverSignatureDTO> </WaiverSignedDTOList> <PaymentProcessingCompleted>boolean</PaymentProcessingCompleted> <ReverseTransaction>boolean</ReverseTransaction> <CCResponseId>int</CCResponseId> <AuthorizedPaymentAmount>string</AuthorizedPaymentAmount> </trxParams> </CancelPurchaseTransactionLine> </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> <CancelPurchaseTransactionLineResponse xmlns="http://semnox.com/"> <CancelPurchaseTransactionLineResult> <IsExecuted>boolean</IsExecuted> <Message>string</Message> <Status>string</Status> </CancelPurchaseTransactionLineResult> </CancelPurchaseTransactionLineResponse> </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 /TransactionServices.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> <CancelPurchaseTransactionLine xmlns="http://semnox.com/"> <trxParams> <TrxId>int</TrxId> <PosIdentifier>string</PosIdentifier> <LoginId>string</LoginId> <UserId>int</UserId> <RoleId>int</RoleId> <ShouldCommit>boolean</ShouldCommit> <CreditCardName>string</CreditCardName> <CreditCardNumber>string</CreditCardNumber> <CreditCardType>string</CreditCardType> <CreditCardExpDate>string</CreditCardExpDate> <CreditCardInvoiceNumber>int</CreditCardInvoiceNumber> <CreditCardPaymentReference>string</CreditCardPaymentReference> <TrxPaymentReference>string</TrxPaymentReference> <PaymentReference>string</PaymentReference> <OrderRemarks>string</OrderRemarks> <PaymentCardNumber>string</PaymentCardNumber> <CustomerId>int</CustomerId> <VisitDate>dateTime</VisitDate> <AutoPayDebitCard>boolean</AutoPayDebitCard> <PaymentModeId>int</PaymentModeId> <SiteId>int</SiteId> <CloseTransaction>boolean</CloseTransaction> <ApplyOffset>boolean</ApplyOffset> <ForceIsCorporate>boolean</ForceIsCorporate> <ApplySystemVisitDate>boolean</ApplySystemVisitDate> <TrxLineId>int</TrxLineId> <DiscountCouponCode>string</DiscountCouponCode> <MembershipId>int</MembershipId> <MembershipRewardsId>int</MembershipRewardsId> <ExpireWithMembership>string</ExpireWithMembership> <ForMembershipOnly>string</ForMembershipOnly> <WaiverSigningMode>string</WaiverSigningMode> <WaiverSignedDTOList> <WaiverSignatureDTO> <WaiverSignedId>int</WaiverSignedId> <WaiverSetDetailId>int</WaiverSetDetailId> <TrxId>int</TrxId> <LineId>int</LineId> <SignedMode>string</SignedMode> <UserId>int</UserId> <IsActive>boolean</IsActive> <LastUpdatedDate>dateTime</LastUpdatedDate> <LastUpdatedBy>string</LastUpdatedBy> <GUID>string</GUID> <Site_id>int</Site_id> <SynchStatus>boolean</SynchStatus> <MasterEntityId>int</MasterEntityId> <ProductId>int</ProductId> <ProductName>string</ProductName> <WaiverFile>base64Binary</WaiverFile> <Guid>string</Guid> <CreationDate>dateTime</CreationDate> <CreatedBy>string</CreatedBy> <CustomerSignedWaiverId>int</CustomerSignedWaiverId> <CustomerSignedWaiverFileName>string</CustomerSignedWaiverFileName> <IsOverriden>boolean</IsOverriden> <IsChanged>boolean</IsChanged> </WaiverSignatureDTO> <WaiverSignatureDTO> <WaiverSignedId>int</WaiverSignedId> <WaiverSetDetailId>int</WaiverSetDetailId> <TrxId>int</TrxId> <LineId>int</LineId> <SignedMode>string</SignedMode> <UserId>int</UserId> <IsActive>boolean</IsActive> <LastUpdatedDate>dateTime</LastUpdatedDate> <LastUpdatedBy>string</LastUpdatedBy> <GUID>string</GUID> <Site_id>int</Site_id> <SynchStatus>boolean</SynchStatus> <MasterEntityId>int</MasterEntityId> <ProductId>int</ProductId> <ProductName>string</ProductName> <WaiverFile>base64Binary</WaiverFile> <Guid>string</Guid> <CreationDate>dateTime</CreationDate> <CreatedBy>string</CreatedBy> <CustomerSignedWaiverId>int</CustomerSignedWaiverId> <CustomerSignedWaiverFileName>string</CustomerSignedWaiverFileName> <IsOverriden>boolean</IsOverriden> <IsChanged>boolean</IsChanged> </WaiverSignatureDTO> </WaiverSignedDTOList> <PaymentProcessingCompleted>boolean</PaymentProcessingCompleted> <ReverseTransaction>boolean</ReverseTransaction> <CCResponseId>int</CCResponseId> <AuthorizedPaymentAmount>string</AuthorizedPaymentAmount> </trxParams> </CancelPurchaseTransactionLine> </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> <CancelPurchaseTransactionLineResponse xmlns="http://semnox.com/"> <CancelPurchaseTransactionLineResult> <IsExecuted>boolean</IsExecuted> <Message>string</Message> <Status>string</Status> </CancelPurchaseTransactionLineResult> </CancelPurchaseTransactionLineResponse> </soap12:Body> </soap12:Envelope>