WebServices3
Click here for a complete list of operations.
Membership_LoyaltyPointsTransaction_RefundPointsToAssociatedTransactions
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 /WebServices3.asmx HTTP/1.1 Host: demo.bvcommerce.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://www.bvsoftware.com/Schemas/Bvc5/2006/01/WebServices3/Membership_LoyaltyPointsTransaction_RefundPointsToAssociatedTransactions" <?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> <Membership_LoyaltyPointsTransaction_RefundPointsToAssociatedTransactions xmlns="http://www.bvsoftware.com/Schemas/Bvc5/2006/01/WebServices3"> <token> <ExpirationDate>dateTime</ExpirationDate> <ExpirationDateUTC>dateTime</ExpirationDateUTC> <UserBvin>string</UserBvin> <TokenRejected>boolean</TokenRejected> <IsExpired>boolean</IsExpired> </token> <pointsTransaction> <UserId>string</UserId> <OrderId>string</OrderId> <PointsType>SpecialAdjustment or OrderDebit or OrderCredit or OrderCreditRefund</PointsType> <PointsAdjustment>int</PointsAdjustment> <PointsRemaining>int</PointsRemaining> <Expires>boolean</Expires> <ExpirationDate>dateTime</ExpirationDate> <CreationDate>dateTime</CreationDate> </pointsTransaction> </Membership_LoyaltyPointsTransaction_RefundPointsToAssociatedTransactions> </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> <Membership_LoyaltyPointsTransaction_RefundPointsToAssociatedTransactionsResponse xmlns="http://www.bvsoftware.com/Schemas/Bvc5/2006/01/WebServices3"> <Membership_LoyaltyPointsTransaction_RefundPointsToAssociatedTransactionsResult> <UserId>string</UserId> <OrderId>string</OrderId> <PointsType>SpecialAdjustment or OrderDebit or OrderCredit or OrderCreditRefund</PointsType> <PointsAdjustment>int</PointsAdjustment> <PointsRemaining>int</PointsRemaining> <Expires>boolean</Expires> <ExpirationDate>dateTime</ExpirationDate> <CreationDate>dateTime</CreationDate> </Membership_LoyaltyPointsTransaction_RefundPointsToAssociatedTransactionsResult> <token> <ExpirationDate>dateTime</ExpirationDate> <ExpirationDateUTC>dateTime</ExpirationDateUTC> <UserBvin>string</UserBvin> <TokenRejected>boolean</TokenRejected> <IsExpired>boolean</IsExpired> </token> </Membership_LoyaltyPointsTransaction_RefundPointsToAssociatedTransactionsResponse> </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 /WebServices3.asmx HTTP/1.1 Host: demo.bvcommerce.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> <Membership_LoyaltyPointsTransaction_RefundPointsToAssociatedTransactions xmlns="http://www.bvsoftware.com/Schemas/Bvc5/2006/01/WebServices3"> <token> <ExpirationDate>dateTime</ExpirationDate> <ExpirationDateUTC>dateTime</ExpirationDateUTC> <UserBvin>string</UserBvin> <TokenRejected>boolean</TokenRejected> <IsExpired>boolean</IsExpired> </token> <pointsTransaction> <UserId>string</UserId> <OrderId>string</OrderId> <PointsType>SpecialAdjustment or OrderDebit or OrderCredit or OrderCreditRefund</PointsType> <PointsAdjustment>int</PointsAdjustment> <PointsRemaining>int</PointsRemaining> <Expires>boolean</Expires> <ExpirationDate>dateTime</ExpirationDate> <CreationDate>dateTime</CreationDate> </pointsTransaction> </Membership_LoyaltyPointsTransaction_RefundPointsToAssociatedTransactions> </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> <Membership_LoyaltyPointsTransaction_RefundPointsToAssociatedTransactionsResponse xmlns="http://www.bvsoftware.com/Schemas/Bvc5/2006/01/WebServices3"> <Membership_LoyaltyPointsTransaction_RefundPointsToAssociatedTransactionsResult> <UserId>string</UserId> <OrderId>string</OrderId> <PointsType>SpecialAdjustment or OrderDebit or OrderCredit or OrderCreditRefund</PointsType> <PointsAdjustment>int</PointsAdjustment> <PointsRemaining>int</PointsRemaining> <Expires>boolean</Expires> <ExpirationDate>dateTime</ExpirationDate> <CreationDate>dateTime</CreationDate> </Membership_LoyaltyPointsTransaction_RefundPointsToAssociatedTransactionsResult> <token> <ExpirationDate>dateTime</ExpirationDate> <ExpirationDateUTC>dateTime</ExpirationDateUTC> <UserBvin>string</UserBvin> <TokenRejected>boolean</TokenRejected> <IsExpired>boolean</IsExpired> </token> </Membership_LoyaltyPointsTransaction_RefundPointsToAssociatedTransactionsResponse> </soap12:Body> </soap12:Envelope>