POST api/CheckLinkSocial
Used for checking if current social profile is linked with a Randstad internal account
Request Information
URI Parameters
None.
Body Parameters
SocialLoginDTOName | Description | Type | Additional 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
{ "ProviderOAuthAccessToken": "sample string 1", "Provider": "sample string 2", "ProviderId": "sample string 3", "Service": "sample string 4" }
text/xml
<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
<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 not available.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
true
text/xml, multipart/form-data
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>