GET api/Sites/{SiteId}/Sessions
Returns the Sessions for a Site.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| SiteId |
Application identifier for the Site |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Session objects for the specified SiteId
Collection of Session| Name | Description | Type | Additional information |
|---|---|---|---|
| SiteId |
The application identifier of the Site for the Session. |
globally unique identifier |
None. |
| Description |
The description for the Session in the Site. |
string |
None. |
| SessionNumber |
The session number for the Session. |
integer |
None. |
| BeginDate |
The begin date for the Session. |
date |
None. |
| EndDate |
The end date for the Session. |
date |
None. |
| SIFRefId |
The SIFRefId of the Session. |
globally unique identifier |
None. |
| Id |
The application identifier for the object. This cannot be changed by the user. |
globally unique identifier |
None. |
| DataVersion |
The version of the API data |
string |
None. |
| ApiName |
The name of the object without the Api suffix |
string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"SiteId": "ecb4b83c-ba19-416c-b03a-008f1a6678b9",
"Description": "sample string 2",
"SessionNumber": 3,
"BeginDate": "2026-04-06T00:03:39.8471198-05:00",
"EndDate": "2026-04-06T00:03:39.8471198-05:00",
"SIFRefId": "fbaac96e-59dc-463b-bc8d-0b5b73849b3b",
"Id": "effdc055-e3ac-4142-b0f8-3de9a4b8618e",
"DataVersion": "sample string 8",
"ApiName": ""
},
{
"SiteId": "ecb4b83c-ba19-416c-b03a-008f1a6678b9",
"Description": "sample string 2",
"SessionNumber": 3,
"BeginDate": "2026-04-06T00:03:39.8471198-05:00",
"EndDate": "2026-04-06T00:03:39.8471198-05:00",
"SIFRefId": "fbaac96e-59dc-463b-bc8d-0b5b73849b3b",
"Id": "effdc055-e3ac-4142-b0f8-3de9a4b8618e",
"DataVersion": "sample string 8",
"ApiName": ""
}
]
application/xml, text/xml
Sample:
<ArrayOfSession xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MAS.WebApi.v1">
<Session>
<DataVersion xmlns="http://schemas.datacontract.org/2004/07/MAS.WebApi">sample string 8</DataVersion>
<Id xmlns="http://schemas.datacontract.org/2004/07/MAS.WebApi">effdc055-e3ac-4142-b0f8-3de9a4b8618e</Id>
<BeginDate>2026-04-06T00:03:39.8471198-05:00</BeginDate>
<Description>sample string 2</Description>
<EndDate>2026-04-06T00:03:39.8471198-05:00</EndDate>
<SIFRefId>fbaac96e-59dc-463b-bc8d-0b5b73849b3b</SIFRefId>
<SessionNumber>3</SessionNumber>
<SiteId>ecb4b83c-ba19-416c-b03a-008f1a6678b9</SiteId>
</Session>
<Session>
<DataVersion xmlns="http://schemas.datacontract.org/2004/07/MAS.WebApi">sample string 8</DataVersion>
<Id xmlns="http://schemas.datacontract.org/2004/07/MAS.WebApi">effdc055-e3ac-4142-b0f8-3de9a4b8618e</Id>
<BeginDate>2026-04-06T00:03:39.8471198-05:00</BeginDate>
<Description>sample string 2</Description>
<EndDate>2026-04-06T00:03:39.8471198-05:00</EndDate>
<SIFRefId>fbaac96e-59dc-463b-bc8d-0b5b73849b3b</SIFRefId>
<SessionNumber>3</SessionNumber>
<SiteId>ecb4b83c-ba19-416c-b03a-008f1a6678b9</SiteId>
</Session>
</ArrayOfSession>