WEBActivityGetRegistrantSessions

 

WEBActivityGetRegistrantSessions

Initial Build 2014.1
xWeb Web Method
Response Type XML node

The WEBActivityGetRegistrantSessions web method returns a list of session registrations for the specified registrant.

Parameters

RegKey (guid). The primary key of the registrant.

Response

XmlNode

Sample Request

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.avectra.com/2005/">
<soapenv:Header>
<ns:AuthorizationToken>
<ns:Token>********************</ns:Token>
</ns:AuthorizationToken>
</soapenv:Header>
<soapenv:Body>
<ns:WEBActivityGetRegistrantSessions>
<ns:RegKey>adb64dfe-e4bd-48a8-b15c-745e2281da13</ns:RegKey>
</ns:WEBActivityGetRegistrantSessions>
</soapenv:Body>
</soapenv:Envelope>

Sample Response

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Header>
<AuthorizationToken xmlns="http://www.avectra.com/2005/">
<Token>3e4a2294-0fb4-4701-90e3-43d9daab11a3</Token>
</AuthorizationToken>
</soap:Header>
<soap:Body>
<WEBActivityGetRegistrantSessionsResponse xmlns="http://www.avectra.com/2005/">
<WEBActivityGetRegistrantSessionsResult>
<Results recordReturn="1">
<Result>
<ses_key>4ab4ad43-2fd9-4077-afa8-f467de90e438</ses_key>
<ses_title>Session 1</ses_title>
<ses_code>Session 1</ses_code>
<set_code>Brown Bag</set_code>
<Price>20</Price>
<waitList/>
<prc_prd_ptp_key>cb7f7aa9-9aa2-42e6-87c6-e36e1ab32afd</prc_prd_ptp_key>
<cst_key/>
<prc_key>60302a62-7832-4404-8ea5-8dd61a3bac9a</prc_key>
<prc_prd_key>2fdcd9fd-8fb1-49e0-9af4-00cd05a076c0</prc_prd_key>
<rxi_key>c8d47509-ec7f-4700-9a6e-da5ec17b2511</rxi_key>
<rxi_reg_key>adb64dfe-e4bd-48a8-b15c-745e2281da13</rxi_reg_key>
<rxi_rgs_key>7d8332ee-abd0-45f4-87b7-9a85ecb67919</rxi_rgs_key>
<rxi_ivd_key>5076dd7f-bdfb-4f7f-b647-a47ce30b5a86</rxi_ivd_key>
<rxi_odd_key/>
</Result>
</Results>
</WEBActivityGetRegistrantSessionsResult>
</WEBActivityGetRegistrantSessionsResponse>
</soap:Body>
</soap:Envelope>

 

JSON Method

This method returns details of the purchased event sessions given the registration record key.

See WEBActivityGetPurchasedEventsByCustomer for a full list of registration records for a given customer.

 

GET /xweb/JSON/WEBActivityGetRegistrantSessions?RegKey=d97203d4-f107-4fbf-bddb-49affc1dac21

POST /xweb/JSON/WEBActivityGetRegistrantSessions


DATA: JSON
{
    "WEBActivityGetRegistrantSessions": {
        "RegKey": "d97203d4-f107-4fbf-bddb-49affc1dac21"
    }
}

SAMPLE RESULT
HTTP STATUS: 200
DATA: JSON{
    "Results": {
        "@recordReturn": "1",
        "Result": [
            {
                "ses_key": "9ef3a516-ff95-4a71-907d-b805932532b9",
                "ses_title": "Course: Strategic Procurement Planning",
                "ses_code": "S",
                "set_code": "PLNG",
                "Price": "0.0000",
                "waitList": null,
                "prc_prd_ptp_key": "cb7f7aa9-9aa2-42e6-87c6-e36e1ab32afd",
                "cst_key": null,
                "prc_key": "c4bf07ba-ba2a-4f6d-badd-83771a80f556",
                "prc_prd_key": "4e94d46a-2c2e-4de4-8954-ccdb13a7dd9c",
                "rxi_key": "9bee6a78-6462-47a1-8247-d15b78cefdae",
                "rxi_reg_key": "d97203d4-f107-4fbf-bddb-49affc1dac21",
                "rxi_rgs_key": "cd7765c1-b2bb-4bfe-b32f-35c7f3cb27ae",
                "rxi_ivd_key": "c0906ba9-8c9d-4cde-9d96-721ed1ac3c51",
                "rxi_odd_key": null,
                "rgs_cancel_date": null
            }
        ]
    }
}

 

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