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: aspthemetest14.parafait1.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>
        <GuestEmail>string</GuestEmail>
        <GuestPhone>string</GuestPhone>
        <GuestName>string</GuestName>
        <VisitDate>dateTime</VisitDate>
        <AutoPayDebitCard>boolean</AutoPayDebitCard>
        <PaymentModeId>int</PaymentModeId>
        <SiteId>int</SiteId>
        <LanguageCode>string</LanguageCode>
        <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>
            <WaiverSetId>int</WaiverSetId>
            <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>
            <WaiverSignedDate>dateTime</WaiverSignedDate>
            <IsOverriden>boolean</IsOverriden>
            <CustomerId>int</CustomerId>
            <IsChanged>boolean</IsChanged>
          </WaiverSignatureDTO>
          <WaiverSignatureDTO>
            <WaiverSignedId>int</WaiverSignedId>
            <WaiverSetId>int</WaiverSetId>
            <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>
            <WaiverSignedDate>dateTime</WaiverSignedDate>
            <IsOverriden>boolean</IsOverriden>
            <CustomerId>int</CustomerId>
            <IsChanged>boolean</IsChanged>
          </WaiverSignatureDTO>
        </WaiverSignedDTOList>
        <PaymentProcessingCompleted>boolean</PaymentProcessingCompleted>
        <ReverseTransaction>boolean</ReverseTransaction>
        <CCResponseId>int</CCResponseId>
        <AuthorizedPaymentAmount>string</AuthorizedPaymentAmount>
        <TransactionShippingAddressDTO>
          <AddressDTO>
            <Id>int</Id>
            <ProfileId>int</ProfileId>
            <AddressTypeId>int</AddressTypeId>
            <AddressType>NONE or WORK or HOME</AddressType>
            <Line1>string</Line1>
            <Line2>string</Line2>
            <Line3>string</Line3>
            <City>string</City>
            <StateId>int</StateId>
            <CountryId>int</CountryId>
            <PostalCode>string</PostalCode>
            <StateCode>string</StateCode>
            <StateName>string</StateName>
            <CountryName>string</CountryName>
            <IsActive>boolean</IsActive>
            <CreatedBy>string</CreatedBy>
            <CreationDate>dateTime</CreationDate>
            <LastUpdatedBy>string</LastUpdatedBy>
            <LastUpdateDate>dateTime</LastUpdateDate>
            <SiteId>int</SiteId>
            <MasterEntityId>int</MasterEntityId>
            <SynchStatus>boolean</SynchStatus>
            <Guid>string</Guid>
            <IsDefault>boolean</IsDefault>
            <ContactDTOList xsi:nil="true" />
            <IsChanged>boolean</IsChanged>
          </AddressDTO>
          <GuestCustomMessage>string</GuestCustomMessage>
        </TransactionShippingAddressDTO>
        <ApplyLegacyCardAssignment>boolean</ApplyLegacyCardAssignment>
      </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: 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>
    <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>
        <GuestEmail>string</GuestEmail>
        <GuestPhone>string</GuestPhone>
        <GuestName>string</GuestName>
        <VisitDate>dateTime</VisitDate>
        <AutoPayDebitCard>boolean</AutoPayDebitCard>
        <PaymentModeId>int</PaymentModeId>
        <SiteId>int</SiteId>
        <LanguageCode>string</LanguageCode>
        <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>
            <WaiverSetId>int</WaiverSetId>
            <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>
            <WaiverSignedDate>dateTime</WaiverSignedDate>
            <IsOverriden>boolean</IsOverriden>
            <CustomerId>int</CustomerId>
            <IsChanged>boolean</IsChanged>
          </WaiverSignatureDTO>
          <WaiverSignatureDTO>
            <WaiverSignedId>int</WaiverSignedId>
            <WaiverSetId>int</WaiverSetId>
            <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>
            <WaiverSignedDate>dateTime</WaiverSignedDate>
            <IsOverriden>boolean</IsOverriden>
            <CustomerId>int</CustomerId>
            <IsChanged>boolean</IsChanged>
          </WaiverSignatureDTO>
        </WaiverSignedDTOList>
        <PaymentProcessingCompleted>boolean</PaymentProcessingCompleted>
        <ReverseTransaction>boolean</ReverseTransaction>
        <CCResponseId>int</CCResponseId>
        <AuthorizedPaymentAmount>string</AuthorizedPaymentAmount>
        <TransactionShippingAddressDTO>
          <AddressDTO>
            <Id>int</Id>
            <ProfileId>int</ProfileId>
            <AddressTypeId>int</AddressTypeId>
            <AddressType>NONE or WORK or HOME</AddressType>
            <Line1>string</Line1>
            <Line2>string</Line2>
            <Line3>string</Line3>
            <City>string</City>
            <StateId>int</StateId>
            <CountryId>int</CountryId>
            <PostalCode>string</PostalCode>
            <StateCode>string</StateCode>
            <StateName>string</StateName>
            <CountryName>string</CountryName>
            <IsActive>boolean</IsActive>
            <CreatedBy>string</CreatedBy>
            <CreationDate>dateTime</CreationDate>
            <LastUpdatedBy>string</LastUpdatedBy>
            <LastUpdateDate>dateTime</LastUpdateDate>
            <SiteId>int</SiteId>
            <MasterEntityId>int</MasterEntityId>
            <SynchStatus>boolean</SynchStatus>
            <Guid>string</Guid>
            <IsDefault>boolean</IsDefault>
            <ContactDTOList xsi:nil="true" />
            <IsChanged>boolean</IsChanged>
          </AddressDTO>
          <GuestCustomMessage>string</GuestCustomMessage>
        </TransactionShippingAddressDTO>
        <ApplyLegacyCardAssignment>boolean</ApplyLegacyCardAssignment>
      </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>