WEBCentralizedShoppingCartGetSessionListByEventKey
Initial Build |
2008.01 |
xWEB |
Web Method |
Response Type |
XML Results |
This method returns a list of sessions for a given event.
See XWeb Event Registration for a complete walk-through of how to create an Event Registration in xWeb.
Parameters
EventKey (guid). The Event Key.
Sample Request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.avectra.com/2005/">
<soapenv:Header>
<ns:AuthorizationToken>
<!--Optional:-->
<ns:Token>0f81c7f6-b82a-439d-aba2-f28c41933f70</ns:Token>
</ns:AuthorizationToken>
</soapenv:Header>
<soapenv:Body>
<ns:WEBCentralizedShoppingCartGetSessionListByEventKey>
<ns:EventKey>229006ef-1f86-4886-ac25-ae2647936cdf</ns:EventKey>
</ns:WEBCentralizedShoppingCartGetSessionListByEventKey>
</soapenv:Body>
</soapenv:Envelope>
Sample Response
Shortened for brevity.
<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>0f81c7f6-b82a-439d-aba2-f28c41933f70</Token>
</AuthorizationToken>
</soap:Header>
<soap:Body>
<WEBCentralizedShoppingCartGetSessionListByEventKeyResponse xmlns="http://www.avectra.com/2005/">
<WEBCentralizedShoppingCartGetSessionListByEventKeyResult>
<Results recordReturn="3">
<Result>
<ses_key>f65edb15-0f38-4e86-acb1-44cd714facbe</ses_key>
<ses_title>Session 1</ses_title>
<ses_code>Session 1</ses_code>
<ses_start_date>12/15/2008 12:00:00 AM</ses_start_date>
<ses_start_time>1:30PM</ses_start_time>
<ses_end_date>12/15/2008 12:00:00 AM</ses_end_date>
<ses_end_time>4:30PM</ses_end_time>
<ses_capacity>1000</ses_capacity>
<set_key>8e1c5eb8-6789-4b41-a1a8-cf4e5c2ad4ae</set_key>
<set_code>Educational</set_code>
<loc_key>34a1df73-2a0d-4872-bbb6-6faa50df64a5</loc_key>
<loc_name>Hilton</loc_name>
<loc_url/>
<lct_key>7b7b7073-b916-4e84-926c-647aa6038f22</lct_key>
<lct_code>Conference</lct_code>
</Result>
<Result>
<ses_key>67a2b516-0289-438e-b9bc-bf45ccc205a8</ses_key>
<ses_title>Session 2</ses_title>
<ses_code>Session 2</ses_code>
<ses_start_date>12/16/2008 12:00:00 AM</ses_start_date>
<ses_start_time>9:00AM</ses_start_time>
<ses_end_date>12/16/2008 12:00:00 AM</ses_end_date>
<ses_end_time>12:00PM</ses_end_time>
<ses_capacity>1000</ses_capacity>
<set_key>208d53b1-45fe-421b-b26b-6a7dab4c41d3</set_key>
<set_code>Lecture Series</set_code>
<loc_key/>
<loc_name/>
<loc_url/>
<lct_key/>
<lct_code/>
</Result>
<Result>
<ses_key>c95fab8b-030b-4c8e-b1ea-b5738cc8f613</ses_key>
<ses_title>Session 3</ses_title>
<ses_code>Session 3</ses_code>
<ses_start_date>12/16/2008 12:00:00 AM</ses_start_date>
<ses_start_time>8:00AM</ses_start_time>
<ses_end_date>12/16/2008 12:00:00 AM</ses_end_date>
<ses_end_time>11:00AM</ses_end_time>
<ses_capacity/>
<set_key>8e1c5eb8-6789-4b41-a1a8-cf4e5c2ad4ae</set_key>
<set_code>Educational</set_code>
<loc_key/>
<loc_name/>
<loc_url/>
<lct_key/>
<lct_code/>
</Result>
</Results>
</WEBCentralizedShoppingCartGetSessionListByEventKeyResult>
</WEBCentralizedShoppingCartGetSessionListByEventKeyResponse>
</soap:Body>
</soap:Envelope>
JSON Method
POST /xWeb/JSON/WEBCentralizedShoppingCartGetSessionListByEventKey
Copy
DATA: JSON
{
"WEBCentralizedShoppingCartGetSessionListByEventKey" : {
"EventKey" : "{{_evtKeySampleEvent}}"
}
}
Copy
SAMPLE RESULT
HTTP STATUS: 200
DATA: JSON
{
"Results": {
"@recordReturn": "4",
"Result": [
{
"ses_key": "6a423ca9-cb3e-4aa0-a200-d6f3808cc786",
"ses_title": "Closing Session",
"ses_code": "CLOSING",
"ses_start_date": null,
"ses_start_time": null,
"ses_end_date": null,
"ses_end_time": null,
"ses_capacity": null,
"set_key": "125b4424-a41b-4bdd-b0d9-045dad0d5afd",
"set_code": "Seminar",
"loc_key": null,
"loc_name": null,
"loc_url": null,
"lct_key": null,
"lct_code": null
},
{
"ses_key": "5d29ae81-73d9-4ac2-9c8f-e69dc5f47a57",
"ses_title": "Drinks after closing address",
"ses_code": "DRINKS",
"ses_start_date": null,
"ses_start_time": null,
"ses_end_date": null,
"ses_end_time": null,
"ses_capacity": null,
"set_key": "c53b248b-696e-4fc2-9f6c-d2be4d12769e",
"set_code": "Dinner",
"loc_key": null,
"loc_name": null,
"loc_url": null,
"lct_key": null,
"lct_code": null
},
{
"ses_key": "25b93614-e408-44b3-a666-e20a9a72faa9",
"ses_title": "Gala Dinner",
"ses_code": "DINNER",
"ses_start_date": null,
"ses_start_time": null,
"ses_end_date": null,
"ses_end_time": null,
"ses_capacity": null,
"set_key": "c53b248b-696e-4fc2-9f6c-d2be4d12769e",
"set_code": "Dinner",
"loc_key": null,
"loc_name": null,
"loc_url": null,
"lct_key": null,
"lct_code": null
},
{
"ses_key": "31d1a81c-1486-44fe-87ca-488494ba9884",
"ses_title": "Keynote Address",
"ses_code": "KEYNOTE",
"ses_start_date": null,
"ses_start_time": null,
"ses_end_date": null,
"ses_end_time": null,
"ses_capacity": null,
"set_key": "8ef92ed7-4588-492a-ac66-7da853ab3fba",
"set_code": "Lecture",
"loc_key": null,
"loc_name": null,
"loc_url": null,
"lct_key": null,
"lct_code": null
}
]
}
}