POST api/rep/SocialNetworkingSite/{repDID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
repDID

string

Required

Body Parameters

RepSocialNetworkingSiteViewModel
NameDescriptionTypeAdditional information
ID

integer

None.

SocialNetworkingSite

string

Required

SiteName

string

Required

Request Formats

application/xml, text/xml

Sample:
<RepSocialNetworkingSiteViewModel>
  <ID>1</ID>
  <SocialNetworkingSite>sample string 1</SocialNetworkingSite>
  <SiteName>sample string 2</SiteName>
</RepSocialNetworkingSiteViewModel>

application/json, text/json

Sample:
{
  "ID": 1,
  "SocialNetworkingSite": "sample string 1",
  "SiteName": "sample string 2"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'FormUrlEncodedFormatter' to write type 'RepSocialNetworkingSiteViewModel'.

Response Information

Resource Description

RepSocialNetworkingSiteViewModel
NameDescriptionTypeAdditional information
ID

integer

None.

SocialNetworkingSite

string

Required

SiteName

string

Required

Response Formats

application/xml, text/xml

Sample:
<RepSocialNetworkingSiteViewModel>
  <ID>1</ID>
  <SocialNetworkingSite>sample string 1</SocialNetworkingSite>
  <SiteName>sample string 2</SiteName>
</RepSocialNetworkingSiteViewModel>

application/json, text/json

Sample:
{
  "ID": 1,
  "SocialNetworkingSite": "sample string 1",
  "SiteName": "sample string 2"
}