POST api/Account/{affiliateId}?settingValue={settingValue}

Create user and user profile.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
affiliateId

Affiliate id

integer

Required

settingValue

string

Required

v

The requested API version

string

Required

Default value is 1

Body Parameters

User profile data

FilmFlex.Platform.Common.API.Contracts.V2.CreateUserProfileDTO
NameDescriptionTypeAdditional information
UserName

UserName

string

None.

Title

Title

string

None.

GivenName

First name

string

None.

LastName

Last name

string

None.

Password

User password

string

Required

Dob

Date of birth

date

None.

Address1

Address line 1

string

None.

Address2

Address line 2

string

None.

City

City

string

None.

Country

Country

string

None.

PostCode

Post/zip code

string

None.

DayTimeTelephone

Day phone number

string

None.

MobileTelephone

Mobile phone number

string

None.

FirmName

Company name

string

None.

AcceptedTandCs

Have the current Terms and Conditions been accepted?

boolean

None.

Gender

User gender

string

Max length: 1

EmailAddress

User email address used as user name

string

Required

CustomBoolFields

Any extra data for user stored as boolean values

Collection of FilmFlex.Platform.Common.API.Contracts.V2.UserProfileCustomFieldBoolDTO

None.

CustomStringFields

Any extra data for user stored as string values

Collection of FilmFlex.Platform.Common.API.Contracts.V2.UserProfileCustomFieldStringDTO

None.

Request Formats

application/json, text/json

Sample:
{
  "UserName": "sample string 1",
  "Title": "sample string 2",
  "GivenName": "sample string 3",
  "LastName": "sample string 4",
  "Password": "sample string 5",
  "Dob": "2025-09-04T07:13:29.0249173+00:00",
  "Address1": "sample string 6",
  "Address2": "sample string 7",
  "City": "sample string 8",
  "Country": "sample string 9",
  "PostCode": "sample string 10",
  "DayTimeTelephone": "sample string 11",
  "MobileTelephone": "sample string 12",
  "FirmName": "sample string 13",
  "AcceptedTandCs": true,
  "Gender": "sample string 15",
  "EmailAddress": "sample string 16",
  "CustomBoolFields": [
    {
      "Name": "sample string 1",
      "Value": true
    },
    {
      "Name": "sample string 1",
      "Value": true
    }
  ],
  "CustomStringFields": [
    {
      "Name": "sample string 1",
      "Value": "sample string 2"
    },
    {
      "Name": "sample string 1",
      "Value": "sample string 2"
    }
  ]
}

Response Information

Resource Description

Create user and user profile.

System.Web.Http.IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.