WEBActivityGetPurchasedEventsByCustomer

 

WEBActivityGetPurchasedEventsByCustomer

Initial Build 2008.01
xWeb Web Method
Response Type XML node

 

This method returns a list of event registrations for a specified individual.

Parameters

CustomerKey (guid). The CustomerKey.

Response

XmlNode

This method returns the reg_key, reg_inv_code, evt_title, evt_code, rgt_code, and dateinfo (registration or cancellation date)

Sample Request

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<AuthorizationToken xmlns="http://www.avectra.com/2005/">
<Token xmlns="http://www.avectra.com/2005/">hstechl;testing</Token>
</AuthorizationToken>
</soap:Header>
<soap:Body>
<WEBActivityGetPurchasedEventsByCustomer xmlns="http://www.avectra.com/2005/">
<CustomerKey>b7e51694-2844-49c5-b008-641eb2dd0143</CustomerKey>
</WEBActivityGetPurchasedEventsByCustomer>
</soap:Body>
</soap:Envelope>

Sample Response

Shortened for brevity.

<?xml version="1.0" encoding="utf-16"?>
<Results recordReturn="4" xmlns="http://www.avectra.com/2005/">
<Result>
<reg_key>3287b491-3f1b-4083-8645-084d03fcc4d0</reg_key>
<reg_inv_code />
<evt_title>test event 02115</evt_title>
<evt_code>test 02115</evt_code>
<rgt_code>walk In</rgt_code>
<dateinfo>01/12/2009</dateinfo>
</Result>
<Result>
<reg_key>bf5ae513-4e16-465a-a054-f695a44fd67a</reg_key>
<reg_inv_code>56839</reg_inv_code>
<evt_title>AVF_Training_Conference</evt_title>
<evt_code>AVF_Conf</evt_code>
<rgt_code />
<dateinfo>12/23/2008</dateinfo>
</Result>
<Result>
<reg_key>fd2661b2-abc2-4f7b-9d3a-d56ccb4e23a4</reg_key>
<reg_inv_code>56809</reg_inv_code>
<evt_title>2010 User Group Conference</evt_title>
<evt_code>TBL</evt_code>
<rgt_code />
<dateinfo>12/12/2008</dateinfo>
</Result>
<Result>
<reg_key>e177ced6-c7d1-4ba1-868c-8a2f5df5a55c</reg_key>
<reg_inv_code>56767</reg_inv_code>
<evt_title>OLB Event Holiday Party 2008</evt_title>
<evt_code>OLB Event</evt_code>
<rgt_code />
<dateinfo>12/05/2008</dateinfo>
</Result>
</Results>

 

JSON Method

This method returns a list of event registrations for a specified individual.

GET /xweb/JSON/WEBActivityGetPurchasedEventsByCustomer?CustomerKey=B85E4EB3-2F8B-4F45-8063-E7859C7F4143

POST /xweb/JSON/WEBActivityGetPurchasedEventsByCustomer

DATA: JSON{
    "WEBActivityGetPurchasedEventsByCustomer": {
        "CustomerKey": "B85E4EB3-2F8B-4F45-8063-E7859C7F4143"
    }
}

 


SAMPLE RESULT
HTTP STATUS: 200
DATA: JSON{
    "Results": {
        "@recordReturn": "7",
        "Result": [
            {
                "reg_key": "f50fb659-12c3-4fca-a55c-90ac6dc5fed9",
                "reg_inv_code": "191413",
                "evt_title": "2016 Annual Forum and Products Exposition",
                "evt_code": "2016 Forum",
                "rgt_code": "Delegate",
                "dateinfo": "05/10/2016"
            },
            {
                "reg_key": "19a62ffb-36d8-45f4-a0c1-d863e5a37267",
                "reg_inv_code": "170569",
                "evt_title": "2015 Annual Forum and Products Exposition",
                "evt_code": "2015 FORUM",
                "rgt_code": "Delegate",
                "dateinfo": "05/26/2015"
            },
            {
                "reg_key": "fc819304-d37f-4a81-b0c8-d43401128996",
                "reg_inv_code": "147245",
                "evt_title": "2014 Annual Forum and Products Exposition",
                "evt_code": "FORUM",
                "rgt_code": "Delegate",
                "dateinfo": "05/16/2014"
            },
            {
                "reg_key": "b7212d2a-195c-4d59-ac7b-a2c41bf5c880",
                "reg_inv_code": "144772",
                "evt_title": "CPPB PREP 042114 Richmond, VA",
                "evt_code": "S",
                "rgt_code": "Participant",
                "dateinfo": "04/05/2014"
            },
            {
                "reg_key": "d97203d4-f107-4fbf-bddb-49affc1dac21",
                "reg_inv_code": "126636",
                "evt_title": "PLNG 120413 Manassas, VA",
                "evt_code": "S",
                "rgt_code": "Participant",
                "dateinfo": "08/15/2013"
            },
            {
                "reg_key": "756b3add-0dec-4f6f-a438-f583282ce797",
                "reg_inv_code": "126635",
                "evt_title": "SRC 110413 North Chesterfield, VA",
                "evt_code": "S",
                "rgt_code": "Participant",
                "dateinfo": "08/15/2013"
            },
            {
                "reg_key": "552e7e93-a62b-49f3-b4cf-4459e9d9c41a",
                "reg_inv_code": "126634",
                "evt_title": "DMRFP 091813 Richmond, VA",
                "evt_code": "S",
                "rgt_code": "Participant",
                "dateinfo": "08/15/2013"
            }
        ]
    }
}

 

 

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