POST api/v1/customers/me/socialCredentials

Request Information

URI Parameters

None.

Body Parameters

CusSocialAccountDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

OrganizationCode

string

None.

ExternalId

string

None.

ExternalName

string

None.

ExternalLink

string

None.

LastConnectionDate

date

None.

LastSyncDate

date

None.

Followers

integer

None.

IsFollowingOrgAccount

boolean

None.

AccessToken

string

None.

SecretAccessToken

string

None.

Provider

SocialProvider

None.

IsTokenValid

boolean

None.

CustomerId

globally unique identifier

None.

LikedMessages

Collection of LikedMessage

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "fe28c2f2-b079-4fb3-a89e-2f9c88f7748a",
  "organizationCode": "sample string 2",
  "externalId": "sample string 3",
  "externalName": "sample string 4",
  "externalLink": "sample string 5",
  "lastConnectionDate": "2025-08-31T08:53:15.1435999+00:00",
  "lastSyncDate": "2025-08-31T08:53:15.1435999+00:00",
  "followers": 7,
  "isFollowingOrgAccount": true,
  "accessToken": "sample string 9",
  "secretAccessToken": "sample string 10",
  "provider": 0,
  "isTokenValid": true,
  "customerId": "9128cdf3-eb1c-4f53-9fbe-0be0338ddecd",
  "likedMessages": [
    {
      "text": "sample string 1",
      "date": "2025-08-31T08:53:15.1435999+00:00"
    },
    {
      "text": "sample string 1",
      "date": "2025-08-31T08:53:15.1435999+00:00"
    }
  ]
}

application/xml, text/xml

Sample:
<CusSocialAccountDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Domain.Dtos">
  <AccessToken>sample string 9</AccessToken>
  <CustomerId>9128cdf3-eb1c-4f53-9fbe-0be0338ddecd</CustomerId>
  <ExternalId>sample string 3</ExternalId>
  <ExternalLink>sample string 5</ExternalLink>
  <ExternalName>sample string 4</ExternalName>
  <Followers>7</Followers>
  <Id>fe28c2f2-b079-4fb3-a89e-2f9c88f7748a</Id>
  <IsFollowingOrgAccount>true</IsFollowingOrgAccount>
  <IsTokenValid>true</IsTokenValid>
  <LastConnectionDate>2025-08-31T08:53:15.1435999+00:00</LastConnectionDate>
  <LastSyncDate>2025-08-31T08:53:15.1435999+00:00</LastSyncDate>
  <LikedMessages>
    <LikedMessage>
      <Date>2025-08-31T08:53:15.1435999+00:00</Date>
      <Text>sample string 1</Text>
    </LikedMessage>
    <LikedMessage>
      <Date>2025-08-31T08:53:15.1435999+00:00</Date>
      <Text>sample string 1</Text>
    </LikedMessage>
  </LikedMessages>
  <OrganizationCode>sample string 2</OrganizationCode>
  <Provider>Facebook</Provider>
  <SecretAccessToken>sample string 10</SecretAccessToken>
</CusSocialAccountDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.