PUT api/Account/UpdateSubAccountSocial

Request Information

URI Parameters

None.

Body Parameters

SocialUpdateRequestViewModel
NameDescriptionTypeAdditional information
SocialSummary

SocialMediaSummaryViewModel

None.

ParentAccountId

string

Required

SubAccountId

string

Required

UserId

string

Required

Request Formats

application/json, text/json

Sample:
{
  "SocialSummary": {
    "FacebookId": "sample string 1",
    "TwitterId": "sample string 2",
    "LinkedInId": "sample string 3",
    "InstagramId": "sample string 4",
    "YoutubeId": "sample string 5",
    "GooglePlusId": "sample string 6",
    "PInterestId": "sample string 7",
    "WebsiteURL": "sample string 8",
    "Email": "sample string 9",
    "RSSFeedURL": "sample string 10"
  },
  "ParentAccountId": "sample string 1",
  "SubAccountId": "sample string 2",
  "UserId": "sample string 3"
}

application/xml, text/xml

Sample:
<SocialUpdateRequestViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel.AccountsAndSettings">
  <ParentAccountId xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 1</ParentAccountId>
  <SubAccountId xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 2</SubAccountId>
  <UserId xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 3</UserId>
  <SocialSummary xmlns:d2p1="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel">
    <d2p1:Email>sample string 9</d2p1:Email>
    <d2p1:FacebookId>sample string 1</d2p1:FacebookId>
    <d2p1:GooglePlusId>sample string 6</d2p1:GooglePlusId>
    <d2p1:InstagramId>sample string 4</d2p1:InstagramId>
    <d2p1:LinkedInId>sample string 3</d2p1:LinkedInId>
    <d2p1:PInterestId>sample string 7</d2p1:PInterestId>
    <d2p1:RSSFeedURL>sample string 10</d2p1:RSSFeedURL>
    <d2p1:TwitterId>sample string 2</d2p1:TwitterId>
    <d2p1:WebsiteURL>sample string 8</d2p1:WebsiteURL>
    <d2p1:YoutubeId>sample string 5</d2p1:YoutubeId>
  </SocialSummary>
</SocialUpdateRequestViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.