POST api/CheckLinkSocial

Used for checking if current social profile is linked with a Randstad internal account

Request Information

URI Parameters

None.

Body Parameters

SocialLoginDTO
NameDescriptionTypeAdditional information
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.

Provider

This is the social media provider

string

None.

ProviderId

This is the provider Id received from the social media auth provider after successful credentials verification

string

None.

Service

This is the Service you would like access to eg MobileTimesheets

string

Required

Request Formats

application/json, text/json

Sample:
{
  "ProviderOAuthAccessToken": "sample string 1",
  "Provider": "sample string 2",
  "ProviderId": "sample string 3",
  "Service": "sample string 4"
}

text/xml

Sample:
<SocialLoginDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RandstadWebAPI.Models.DTO">
  <Provider>sample string 2</Provider>
  <ProviderId>sample string 3</ProviderId>
  <ProviderOAuthAccessToken>sample string 1</ProviderOAuthAccessToken>
  <Service>sample string 4</Service>
</SocialLoginDTO>

multipart/form-data

Sample:
<SocialLoginDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RandstadWebAPI.Models.DTO"><Provider>sample string 2</Provider><ProviderId>sample string 3</ProviderId><ProviderOAuthAccessToken>sample string 1</ProviderOAuthAccessToken><Service>sample string 4</Service></SocialLoginDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

text/xml, multipart/form-data

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>