GET api2/self.json?simple={simple}

Get customer info

Request Information

URI Parameters

NameDescriptionTypeAdditional information
simple

FALSE: Customer including AccesGroup membership. TRUE: Customer only (Faster)

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

DB_Class.OrderCustomers
NameDescriptionTypeAdditional information
group_member_of

Collection of DB_Class.CustomerGroupUsersEx

None.

language

string

None.

country

string

None.

country_name

string

None.

country_code

string

None.

default

boolean

None.

province_code

string

None.

province

string

None.

name

string

None.

company_member

DB_Class.Companies

None.

id

ID.

integer

None.

first_name

First Name.

string

String length: inclusive between 0 and 100

last_name

Last Name.

string

String length: inclusive between 0 and 100

company

Company Name.

string

String length: inclusive between 0 and 100

address1

Address1.

string

String length: inclusive between 0 and 100

address2

Address2.

string

String length: inclusive between 0 and 100

zip

Plz.

string

Data type: PostalCode

String length: inclusive between 0 and 50

city

City.

string

String length: inclusive between 0 and 100

email

EMail.

string

Required

Data type: EmailAddress

String length: inclusive between 0 and 100

phone

Phone.

string

Data type: PhoneNumber

String length: inclusive between 0 and 50

password

Password.

string

Data type: Password

String length: inclusive between 0 and 64

title

Title.

integer

None.

token

Token.

string

String length: inclusive between 0 and 64

password_option

Password_ Option.

byte

None.

player_refresh_token

Player Refresh Token.

string

String length: inclusive between 0 and 128

player_token_expires

Player Token Expires.

date

Data type: Date

modified_by

Modified By.

integer

None.

Response Formats

{
  "group_member_of": [
    null,
    {
      "id": 1,
      "organisation": "sample string 2",
      "email": null,
      "expire_at": null,
      "group_id": null,
      "valid": false,
      "created_at": null,
      "confirmed": true,
      "disabled": false,
      "invited": false,
      "custom_data_1": "",
      "authentication": null,
      "allowed_concurrent_users": null,
      "monthly_cost": null
    }
  ],
  "language": "en",
  "country": null,
  "country_name": null,
  "country_code": null,
  "default": true,
  "province_code": null,
  "province": null,
  "name": "sample string 10 sample string 11",
  "id": 9,
  "first_name": "sample string 10",
  "last_name": "sample string 11",
  "company": "sample string 12",
  "address1": "sample string 13",
  "address2": "sample string 14",
  "zip": "sample string 15",
  "city": "sample string 16",
  "email": "sample string 17",
  "phone": "sample string 18",
  "password": "sample string 19",
  "title": 1,
  "token": "sample string 20",
  "password_option": 64,
  "player_refresh_token": "sample string 21",
  "player_token_expires": "2024-07-27T04:58:15.5860103+02:00",
  "modified_by": 1
}