POST api/User/AddOrUpdateSocialMedia

Request Information

URI Parameters

None.

Body Parameters

SocialMediaModel
NameDescriptionTypeAdditional information
UserID

integer

Required

Facebook

string

None.

LinkedIn

string

None.

Google

string

None.

Twitter

string

None.

YouTube

string

None.

Instagram

string

None.

Request Formats

application/json, text/json

Sample:
{
  "userID": 1,
  "facebook": "sample string 1",
  "linkedIn": "sample string 2",
  "google": "sample string 3",
  "twitter": "sample string 4",
  "youTube": "sample string 5",
  "instagram": "sample string 6"
}

application/xml, text/xml

Sample:
<SocialMediaModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SelfHub.API.Models">
  <Facebook>sample string 1</Facebook>
  <Google>sample string 3</Google>
  <Instagram>sample string 6</Instagram>
  <LinkedIn>sample string 2</LinkedIn>
  <Twitter>sample string 4</Twitter>
  <UserID>1</UserID>
  <YouTube>sample string 5</YouTube>
</SocialMediaModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.