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": "8d79945b-7d4f-4fd2-8b74-c57418dc5982",
"Description": "sample string 2",
"SessionNumber": 3,
"BeginDate": "2026-08-20T10:29:30.1136144-05:00",
"EndDate": "2026-08-20T10:29:30.1136144-05:00",
"SIFRefId": "6f6a2884-95c0-40fc-ac55-cf44ba3e615d",
"Id": "73577b92-0b1d-4322-9c34-cee585bb120a",
"DataVersion": "sample string 8",
"ApiName": ""
},
{
"SiteId": "8d79945b-7d4f-4fd2-8b74-c57418dc5982",
"Description": "sample string 2",
"SessionNumber": 3,
"BeginDate": "2026-08-20T10:29:30.1136144-05:00",
"EndDate": "2026-08-20T10:29:30.1136144-05:00",
"SIFRefId": "6f6a2884-95c0-40fc-ac55-cf44ba3e615d",
"Id": "73577b92-0b1d-4322-9c34-cee585bb120a",
"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">73577b92-0b1d-4322-9c34-cee585bb120a</Id>
<BeginDate>2026-08-20T10:29:30.1136144-05:00</BeginDate>
<Description>sample string 2</Description>
<EndDate>2026-08-20T10:29:30.1136144-05:00</EndDate>
<SIFRefId>6f6a2884-95c0-40fc-ac55-cf44ba3e615d</SIFRefId>
<SessionNumber>3</SessionNumber>
<SiteId>8d79945b-7d4f-4fd2-8b74-c57418dc5982</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">73577b92-0b1d-4322-9c34-cee585bb120a</Id>
<BeginDate>2026-08-20T10:29:30.1136144-05:00</BeginDate>
<Description>sample string 2</Description>
<EndDate>2026-08-20T10:29:30.1136144-05:00</EndDate>
<SIFRefId>6f6a2884-95c0-40fc-ac55-cf44ba3e615d</SIFRefId>
<SessionNumber>3</SessionNumber>
<SiteId>8d79945b-7d4f-4fd2-8b74-c57418dc5982</SiteId>
</Session>
</ArrayOfSession>