4.12 Server Response to Posting a New Reply Using REST
The following is the response from the server for a REST message creating a new reply post, after decompressing from the zip compressed message.
-
{ "d": { "__metadata": { "id": "0193d96b-8af1-484c-bdd3-4c6c5adde8e7", "uri": "http://my.contoso.com/my/_api/social.feed/post(ID=@ai)/?@ai='1.4975bef1e1bc42608c1dfae9f320c751.35c9fd7b79904800aaa5f74684bf0f75.623664921f034e8d814c000267d3e5e4.0c37852b34d0418e91c62ac25af4be5b.230d3c5272fc499f88ac0b74b2f4512f.119.119.S-1-5-21-124525095-708259637-1543119021-565461'", "type": "SP.Social.SocialRestThread" }, "ID": "1.4975bef1e1bc42608c1dfae9f320c751.35c9fd7b79904800aaa5f74684bf0f75.623664921f034e8d814c000267d3e5e4.0c37852b34d0418e91c62ac25af4be5b.230d3c5272fc499f88ac0b74b2f4512f.119.119.S-1-5-21-124525095-708259637-1543119021-565461", "SocialThread": { "__metadata": { "type": "SP.Social.SocialThread" }, "Actors": { "results": [ { "__metadata": { "type": "SP.Social.SocialActor" }, "AccountName": "CONTOSO.COM\\evacorets", "ActorType": 0, "ContentUri": null, "EmailAddress": "evacorets@contoso.com", "FollowedContentUri": null, "Id": "1.4975bef1e1bc42608c1dfae9f320c751.35c9fd7b79904800aaa5f74684bf0f75.623664921f034e8d814c000267d3e5e4.0c37852b34d0418e91c62ac25af4be5b", "ImageUri": null, "IsFollowed": false, "LibraryUri": null, "Name": "Eva Corets", "PersonalSiteUri": "http://my.contoso.com/my/personal/evacorets", "StatusText": "TesTPosT", "TagGuid": "00000000-0000-0000-0000-000000000000", "Title": "SENIOR SDE", "Status": 0, "CanFollow": false, "Uri": "http://my.contoso.com:80/my/Person.aspx?accountname=CONTOSO.COM%5Cevacorets" } ] }, "Attributes": 6, "Id": "1.4975bef1e1bc42608c1dfae9f320c751.35c9fd7b79904800aaa5f74684bf0f75.623664921f034e8d814c000267d3e5e4.0c37852b34d0418e91c62ac25af4be5b.230d3c5272fc499f88ac0b74b2f4512f.119.119.S-1-5-21-124525095-708259637-1543119021-565461", "OwnerIndex": 0, "Permalink": "http://my.contoso.com:80/my/ThreadView.aspx?ThreadID=1.4975bef1e1bc42608c1dfae9f320c751.35c9fd7b79904800aaa5f74684bf0f75.623664921f034e8d814c000267d3e5e4.0c37852b34d0418e91c62ac25af4be5b.230d3c5272fc499f88ac0b74b2f4512f.119.119.S-1-5-21-124525095-708259637-1543119021-565461", "PostReference": null, "Replies": { "results": [ { "__metadata": { "type": "SP.Social.SocialPost" }, "Attachment": null, "Attributes": 23, "AuthorIndex": 0, "CreatedTime": "2012-05-15T13:54:54.9150454Z", "Id": "1.4975bef1e1bc42608c1dfae9f320c751.35c9fd7b79904800aaa5f74684bf0f75.623664921f034e8d814c000267d3e5e4.0c37852b34d0418e91c62ac25af4be5b.58651127efcd41d4b1c1dc137b2aada6.119.121.S-1-5-21-124525095-708259637-1543119021-565461", "LikerInfo": { "__metadata": { "type": "SP.Social.SocialPostActorInfo" }, "IncludesCurrentUser": false, "Indexes": { "results": [] }, "TotalCount": 0 }, "ModifiedTime": "2012-05-15T13:54:54.9150454Z", "Overlays": { "results": [] }, "PostType": 1, "PreferredImageUri": null, "Source": { "__metadata": { "type": "SP.Social.SocialLink" }, "Text": "web", "Uri": null }, "Text": "This is my first reply" } ] }, "RootPost": { "__metadata": { "type": "SP.Social.SocialPost" }, "Attachment": null, "Attributes": 23, "AuthorIndex": 0, "CreatedTime": "2012-05-15T13:50:46Z", "Id": "1.4975bef1e1bc42608c1dfae9f320c751.35c9fd7b79904800aaa5f74684bf0f75.623664921f034e8d814c000267d3e5e4.0c37852b34d0418e91c62ac25af4be5b.230d3c5272fc499f88ac0b74b2f4512f.119.119.S-1-5-21-124525095-708259637-1543119021-565461", "LikerInfo": { "__metadata": { "type": "SP.Social.SocialPostActorInfo" }, "IncludesCurrentUser": false, "Indexes": { "results": [] }, "TotalCount": 0 }, "ModifiedTime": "2012-05-15T13:54:55.2180757Z", "Overlays": { "results": [] }, "PostType": 0, "PreferredImageUri": null, "Source": { "__metadata": { "type": "SP.Social.SocialLink" }, "Text": "web", "Uri": null }, "Text": "This is my first Microfeed post" }, "Status": 0, "ThreadType": 0, "TotalReplyCount": 1 } } }