GET api/Activities/{ActivityId}
Returns a Activity.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
ActivityId |
Application identifier for the Activity |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Activity object for the specified ActivityId
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": "e5cc7f8e-57d1-442b-997e-df727052c408", "Active": "sample string 4", "Id": "a7cf14dc-4b50-4205-8a69-ea369c424e6a", "DataVersion": "sample string 6", "ApiName": "" }
application/xml, text/xml
Sample:
<Activity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MAS.WebApi.v1"> <DataVersion xmlns="http://schemas.datacontract.org/2004/07/MAS.WebApi">sample string 6</DataVersion> <Id xmlns="http://schemas.datacontract.org/2004/07/MAS.WebApi">a7cf14dc-4b50-4205-8a69-ea369c424e6a</Id> <Active>sample string 4</Active> <ActivityUid>sample string 1</ActivityUid> <Description>sample string 2</Description> <SponsorPersonId>e5cc7f8e-57d1-442b-997e-df727052c408</SponsorPersonId> </Activity>