PUT api/content/v4/updateusersocialprofile
Request Information
URI Parameters
None.
Body Parameters
SocialUserProfile| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | integer |
None. |
|
| ContactId | integer |
None. |
|
| ExternalLoginType | string |
None. |
|
| ExternalProfileURL | string |
None. |
|
| ExternalLoginId | string |
None. |
|
| AccessToken | string |
None. |
|
| ExternalLoginIdGoogle | string |
None. |
|
| AccessTokenGoogle | string |
None. |
|
| ExternalUserName | string |
None. |
|
| ExternalUserNameGoogle | string |
None. |
|
| AccessTokenApple | string |
None. |
|
| ExternalLoginIdApple | string |
None. |
|
| ExternalUserNameApple | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerId": 1,
"ContactId": 2,
"ExternalLoginType": "sample string 3",
"ExternalProfileURL": "sample string 4",
"ExternalLoginId": "sample string 5",
"AccessToken": "sample string 6",
"ExternalLoginIdGoogle": "sample string 7",
"AccessTokenGoogle": "sample string 8",
"ExternalUserName": "sample string 9",
"ExternalUserNameGoogle": "sample string 10",
"AccessTokenApple": "sample string 11",
"ExternalLoginIdApple": "sample string 12",
"ExternalUserNameApple": "sample string 13"
}
application/xml, text/xml
Sample:
<SocialUserProfile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model"> <AccessToken>sample string 6</AccessToken> <AccessTokenApple>sample string 11</AccessTokenApple> <AccessTokenGoogle>sample string 8</AccessTokenGoogle> <ContactId>2</ContactId> <CustomerId>1</CustomerId> <ExternalLoginId>sample string 5</ExternalLoginId> <ExternalLoginIdApple>sample string 12</ExternalLoginIdApple> <ExternalLoginIdGoogle>sample string 7</ExternalLoginIdGoogle> <ExternalLoginType>sample string 3</ExternalLoginType> <ExternalProfileURL>sample string 4</ExternalProfileURL> <ExternalUserName>sample string 9</ExternalUserName> <ExternalUserNameApple>sample string 13</ExternalUserNameApple> <ExternalUserNameGoogle>sample string 10</ExternalUserNameGoogle> </SocialUserProfile>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APICommonWrapperOfAPICommonResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | HttpStatusCode |
None. |
|
| Message | string |
None. |
|
| Data | APICommonResponse |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": 100,
"Message": "sample string 1",
"Data": {
"Status": true,
"Message": "sample string 2",
"Data": "sample string 3"
}
}
application/xml, text/xml
Sample:
<APICommonWrapperOfAPICommonResponseZdSfSp5S xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model">
<Data>
<Data>sample string 3</Data>
<Message>sample string 2</Message>
<Status>true</Status>
</Data>
<Message>sample string 1</Message>
<Status>Continue</Status>
</APICommonWrapperOfAPICommonResponseZdSfSp5S>