Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ContactsActivities Entry

Ff747924.note(en-us,MSDN.10).gifNote:
Current information about Live Connect is now available in the Windows Live Developer Center. The information in the following sections is provided for legacy purposes only.

A ContactsActivities entry represents an activity that is performed by a friend of the Windows Live user. A contact is a friend if the user and the contact have mutually agreed to be friends. A friend's activity appears on the user's Windows Live Profile page.

http[s]://[LocatorID.]apis.live.net/V<Version>/cid-<CID>/ContactsActivities/<ID>

For information about the components of the URI, see Resource Model Overview. For information about operations on entries, see Entry Level Operations.

The following properties are supported in a contact activity entry.

Ff747924.note(en-us,MSDN.10).gifNote:
Strings have a maximum size of 512 characters, and URIs have a maximum size of 2048 characters.

Property Data Type Updatable Value

__type

String

No

To preserve type identity in JavaScript Object Notation (JSON) data serialization, the Activities resource includes this type hint. This is a key/value pair with the key name __type, and the value DataContractName:DataContractNamespace.

DataContractName can be one of the following schema values:

  • CustomActivity - The user added a web activity.
  • AddStatusActivity - The user posted a new personal status message.
  • AddBookmarkActivity - The user shared a link.
  • AddPhotoActivity - The user shared a photo.

DataContractNamespace is http://schemas.microsoft.com/ado/2007/08/dataservices.

For more information about handling polymorphism, see http://msdn.microsoft.com/en-us/library/bb412170.aspx.

Id

String

No

The resource ID of the activity entry.

Published

DateTime

No

The time stamp of the activity's occurrence.

Title

String

No

The name of the activity entry. This is the same as the activity content that is posted on the user's Profile page. For example: "Neil Black: I'm back in town."

Updated

DateTime

No

The time stamp of the latest update on the activity.

ActivityActor.ActivityObjectType

ActivityObject

No

An object of type Person (http://activitystrea.ms/schema/1.0/person), which represents a Windows Live user account. See the description of Actor in Activities Resource.

ActivityActor.AlternateLink

Uri

No

"Uri" : "http://cid-CID.profile.live.com/"

DisplayName

String

No

The user's display name.

ActivityActor.Id

String

No

A unique ID for the activity actor.

ActivityVerb

Uri

No

The verb associated with the activity. See the description of Verb in Activities Resource.

ApplicationId

Int

No

The client ID. The service specifies the client ID when an application is registered.

HtmlContent

Image

No

Thumbnail previews of the uploaded images are displayed here.

HtmlSummary

String

No

A brief description of the user action; for example, "User shared photos in Album 1."

ActivityObjects.ActivityObjectType

Uri

No

The representation type for the activity object.

ActivityObjects.AlternateLink

Uri

No

A link to the uploaded content online. For example, if the user uploads photos, this URI links to the Windows Live SkyDrive photo album in which the uploaded image resides.

ActivityObjects.Id

String

No

The activity object ID.

ActivityObjects.PreviewLink

Uri

No

A link to a preview version of the uploaded content online. For example, if the user uploads photos, this links to a thumbnail of the image.

ActivityObjects.Title

String

No

A brief description of the content; for images, this is the file name.

Operation Action

GET

Retrieves the content of the activity entry for the specified user.

Show:
© 2015 Microsoft