GET api/Sessions?webProductId={webProductId}&shoppingCartId={shoppingCartId}&contactId={contactId}&selectedSessions={selectedSessions}
Retrieves all sessions required in order to register for the specified session.
Possible Service Responses:
200/OK - match found and list of required session are in the body of the response.
500/Internal Server - unexpected server error, details in the body of the response.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| webProductId | System.String |
Required |
|
| shoppingCartId | System.String |
Required |
|
| contactId | System.String |
Required |
|
| selectedSessions | System.String |
Required |
Body Parameters
None.
Response Information
Resource Description
List of required session or empty list if there are no required sessions for the specified session.
System.Collections.Generic.IEnumerable`1[Altai.Web.Services.Models.Session]| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | System.String |
None. |
|
| Name | System.String |
None. |
|
| SessionGroup | Altai.Web.Services.Models.SessionGroup |
None. |
|
| PreRequisiteSessions | System.Collections.Generic.List`1[Altai.Web.Services.Models.Session] |
None. |
|
| TwoOption1 | System.Boolean |
None. |
|
| IsGuestSession | System.Boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": "sample string 1",
"Name": "sample string 2",
"SessionGroup": {
"Id": "sample string 1",
"Name": "sample string 2",
"DisplayOrder": 3.0
},
"PreRequisiteSessions": [],
"TwoOption1": true,
"IsGuestSession": true
},
{
"Id": "sample string 1",
"Name": "sample string 2",
"SessionGroup": {
"Id": "sample string 1",
"Name": "sample string 2",
"DisplayOrder": 3.0
},
"PreRequisiteSessions": [],
"TwoOption1": true,
"IsGuestSession": true
}
]
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.