WEBCentralizedShoppingCartMembershipGetPackageComponentListFromObject

 

WEBCentralizedShoppingCartMembershipGetPackageComponentListFromObject

Initial Build 2008.01
xWeb Web Method
Response Type XML results

This method returns a list of the package components for the membership package using a membership object to ensure that custom calculations are performed.

Parameters

oMembership (mb_membershipType). Membership Object which should be used to perform the custom calculation.

Response

Xml (XML Results). A list of the package components including the component's price, which will be calculated by the custom process, name, and other values.

Sample Request

<<SAMPLE REQUEST>>

Sample Response

<<SAMPLE RESPONSE>>

 

JSON Method

POST /xWeb/JSON/WEBCentralizedShoppingCartMembershipGetPackageComponentListFromObject

DATA: JSON

    "WEBCentralizedShoppingCartMembershipGetPackageComponentListFromObject": {
        "oMembership":{
            "Membership" : {{membershipObjChapterMembershipPurchaseA}}
        }
    }
}

 

SAMPLE RESULT
HTTP STATUS: 200
DATA: JSON
{
    "Results": {
        "@recordReturn": "1",
        "Result": [
            {
                "pkg_key": "344c5c05-a94e-45db-998e-153445effdd8",
                "pkg_prc_key": "f6f0606b-d9e0-422c-996e-a48c057f4835",
                "pkg_qty": "1.0000",
                "pkg_price": "120.0000",
                "pkg_end_date": null,
                "pkg_optional": "0",
                "pkg_show_on_invoice": "1",
                "pkg_custom_calculation_flag": "0",
                "prc_display_name": "Bell CH1 Dues2_install_NOTdefer_NOTpror_online_bell_bu1",
                "ptp_key": "d2143394-7ea9-40fd-9bd7-78b12f7580a5",
                "ptp_code": "Membership Dues"
            }
        ]
    }
}

 

Was this article helpful?
0 out of 0 found this helpful