POST api/LinkSocial
Used for linking a validated social media account with Randstad's internal account
Request Information
URI Parameters
None.
Body Parameters
LinkSocialDTOName | Description | Type | Additional information |
---|---|---|---|
Email Id of user in Randstad portal |
string |
None. |
|
Password |
Password of Randstad account for user |
string |
None. |
Platform |
Social media platform |
string |
None. |
PlatformUserId |
Social media platofrm user Id |
string |
None. |
ProviderOAuthAccessToken |
This is the per authentication transaction access token provided by oAuth provider. Generally the value is generally a long alphanumeric string. For example : "EAAaqLtI9eD8BAJcJHVFgVh0pFZAOw8IaoLOEdxpd4jaxYiazZBZB0toQrPxLkyhxGI0LHxgS2ZAetmQpmwuoraZAzZCkVLnptwPmfRdjJZBgmoZCjKWL4sg6QeQxwdywDwWyZCf9eUzGEctXYZB12mZBAB6gcPILm1f7AJcPieb8jj4LTaZCZAnaCb9xfCrOzHLVgCjdEKa0wz5mBhQZDZD" |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Email": "sample string 1", "Password": "sample string 2", "Platform": "sample string 3", "PlatformUserId": "sample string 4", "ProviderOAuthAccessToken": "sample string 5" }
text/xml
Sample:
<LinkSocialDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RandstadWebAPI.Models.DTO"> <Email>sample string 1</Email> <Password>sample string 2</Password> <Platform>sample string 3</Platform> <PlatformUserId>sample string 4</PlatformUserId> <ProviderOAuthAccessToken>sample string 5</ProviderOAuthAccessToken> </LinkSocialDTO>
multipart/form-data
Sample:
<LinkSocialDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RandstadWebAPI.Models.DTO"><Email>sample string 1</Email><Password>sample string 2</Password><Platform>sample string 3</Platform><PlatformUserId>sample string 4</PlatformUserId><ProviderOAuthAccessToken>sample string 5</ProviderOAuthAccessToken></LinkSocialDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
text/xml, multipart/form-data
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>