POST api/registration/CreateBiometricUserProfile?countryId={countryId}&languageId={languageId}

Creation user from external provider with device Biometric. Authorization by token is required. Registration with biometric device is deprecated.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
countryId

Id for the country you request content for. Translation in responses will depend on this param

integer

Required

You can get countryId with GET api/Country

languageId

Id for user language settings, if not provide value then by default be Danish

integer

Default value is 0

Body Parameters

Biometric User profile info

NameDescriptionTypeAdditional information
FirstName

First Name

string

Required

Max length: 255

Surname

Surname

string

Required

Max length: 255

Email

Email address (will be used as login)

string

Required

Max length: 512

Password

Password

string

None.

CustomerId

Company name

integer

You can get customerId with GET api/Customer?countryId={countryId}&term={term}&resultItemsAmount={resultItemsAmount}

Required

AccessToken

External Access Token

string

Use to get access token

Required

PrimaryGeoPostCodeId

City(location) Id

integer

You can get PrimaryGeoPostCodeId with GET api/City?countryId={countryId}&term={term}&resultItemsAmount={resultItemsAmount}

Required

TermsAndConditionsAccepted

Terms and Conditions accepted (must always be true)

boolean

None.

ReceiveNewsletter

If User wanna recieve newsletters from LogBuy

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "firstName": "sample string 1",
  "surname": "sample string 2",
  "email": "sample string 3",
  "password": "sample string 4",
  "customerId": 1,
  "accessToken": "sample string 5",
  "primaryGeoPostCodeId": 1,
  "termsAndConditionsAccepted": true,
  "receiveNewsletter": true
}

Response Information

Id of created user profile

Response Formats

application/json, text/json

Sample:
1