GET api/summerservices/photo/GetSessions?seasonid={seasonid}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
seasonid | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
WebMethodResultOfGetSessionsResponseName | Description | Type | Additional information |
---|---|---|---|
Result | GetSessionsResponse |
None. |
|
Success | boolean |
None. |
|
ErrorText | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Result": { "Sessions": [ { "SessionId": 1, "SeasonId": 2, "Name": "sample string 3" }, { "SessionId": 1, "SeasonId": 2, "Name": "sample string 3" } ], "AllowSessionTagging": true }, "Success": true, "ErrorText": "sample string 2" }
application/javascript
Sample:
{"Result":{"Sessions":[{"SessionId":1,"SeasonId":2,"Name":"sample string 3"},{"SessionId":1,"SeasonId":2,"Name":"sample string 3"}],"AllowSessionTagging":true},"Success":true,"ErrorText":"sample string 2"}
application/xml, text/xml
Sample:
<WebMethodResultOfGetSessionsResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Success>true</Success> <ErrorText>sample string 2</ErrorText> <Result> <Sessions> <Session> <SessionId>1</SessionId> <SeasonId>2</SeasonId> <Name>sample string 3</Name> </Session> <Session> <SessionId>1</SessionId> <SeasonId>2</SeasonId> <Name>sample string 3</Name> </Session> </Sessions> <AllowSessionTagging>true</AllowSessionTagging> </Result> </WebMethodResultOfGetSessionsResponse>