GET api/Activities
Returns the Activities for a Site.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of Activity objects for the specified SiteId
Collection of ActivityName | Description | Type | Additional information |
---|---|---|---|
ActivityUid |
The user identifier for the Activity. |
string |
None. |
Description |
The description for the Activity. |
string |
None. |
SponsorPersonId |
The application identifier for the Sponsor of the Activity. |
globally unique identifier |
None. |
Active |
The active state for the Activity. |
string |
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:
[ { "ActivityUid": "sample string 1", "Description": "sample string 2", "SponsorPersonId": "47f6cda2-f926-4bb8-8df5-e4c69baaeeff", "Active": "sample string 4", "Id": "099f4cc0-1570-4a22-ae05-ea82deed00f4", "DataVersion": "sample string 6", "ApiName": "" }, { "ActivityUid": "sample string 1", "Description": "sample string 2", "SponsorPersonId": "47f6cda2-f926-4bb8-8df5-e4c69baaeeff", "Active": "sample string 4", "Id": "099f4cc0-1570-4a22-ae05-ea82deed00f4", "DataVersion": "sample string 6", "ApiName": "" } ]
application/xml, text/xml
Sample:
<ArrayOfActivity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MAS.WebApi.v1"> <Activity> <DataVersion xmlns="http://schemas.datacontract.org/2004/07/MAS.WebApi">sample string 6</DataVersion> <Id xmlns="http://schemas.datacontract.org/2004/07/MAS.WebApi">099f4cc0-1570-4a22-ae05-ea82deed00f4</Id> <Active>sample string 4</Active> <ActivityUid>sample string 1</ActivityUid> <Description>sample string 2</Description> <SponsorPersonId>47f6cda2-f926-4bb8-8df5-e4c69baaeeff</SponsorPersonId> </Activity> <Activity> <DataVersion xmlns="http://schemas.datacontract.org/2004/07/MAS.WebApi">sample string 6</DataVersion> <Id xmlns="http://schemas.datacontract.org/2004/07/MAS.WebApi">099f4cc0-1570-4a22-ae05-ea82deed00f4</Id> <Active>sample string 4</Active> <ActivityUid>sample string 1</ActivityUid> <Description>sample string 2</Description> <SponsorPersonId>47f6cda2-f926-4bb8-8df5-e4c69baaeeff</SponsorPersonId> </Activity> </ArrayOfActivity>