PUT api/userprofile/MultiAccount

Set Current User Multi-Account

Request Information

URI Parameters

None.

Body Parameters

NameDescriptionTypeAdditional information
SelectedCustomerId

Customer Id

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "selectedCustomerId": 1
}

Response Information

User Profile Model

NameDescriptionTypeAdditional information
Id

User Profile Id

integer

None.

FirstName

First Name

string

None.

Surname

Surname

string

None.

Gender

Gender

UserProfileGenderEnum

None.

DateOfBirth

Date Of Birth

date

None.

ProfileImageUrl

Full Url to User Profile Image

string

None.

Address

Address

string

None.

Address2

Address line 2

string

None.

PostCode

Post Code

string

None.

Town

Town

string

None.

Country

Country name

string

None.

Phone

Cellphone number

string

None.

Email

Email address

string

None.

AlternativeEmail

Alternative (personal) email

string

None.

ReceiveNewsletter

Subscribed on newsletters

boolean

None.

FacebookId

Facebook Id

integer

None.

BankAccountNumber

Bank Account Number (bank account information is used to transfer cashback payments)

string

None.

BankRegistrationNumber

Bank Registration Number (bank account information is used to transfer cashback payments)

string

None.

UserType

User Type

UserTypeEnum

None.

DisableEmailEditing

Disable email editing

boolean

None.

DefaultContentSet

Default ContentSet

ContentSet

None.

CurrentContentSet

Current ContentSet

ContentSet

None.

AllowedContentSets

Allowed Content sets

Collection of ContentSet

None.

CustomerId

User's Customer Id

integer

None.

CustomerName

User's Customer Name

string

None.

DefaultSetupCountryId

Default Portal Setup Country Id

integer

None.

HasAiAssistant

If AI Assistant is enabled

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "firstName": "sample string 2",
  "surname": "sample string 3",
  "gender": 0,
  "dateOfBirth": "2024-11-21T08:26:06.3198096+01:00",
  "profileImageUrl": "sample string 4",
  "address": "sample string 5",
  "address2": "sample string 6",
  "postCode": "sample string 7",
  "town": "sample string 8",
  "country": "sample string 9",
  "phone": "sample string 10",
  "email": "sample string 11",
  "alternativeEmail": "sample string 12",
  "receiveNewsletter": true,
  "facebookId": 1,
  "bankAccountNumber": "sample string 14",
  "bankRegistrationNumber": "sample string 15",
  "userType": 0,
  "disableEmailEditing": true,
  "defaultContentSet": 0,
  "currentContentSet": 0,
  "allowedContentSets": [
    0,
    0
  ],
  "customerId": 17,
  "customerName": "sample string 18",
  "defaultSetupCountryId": 19,
  "hasAiAssistant": true
}