GET api/User/GetNewUsers?Id={Id}&Email={Email}&UserName={UserName}&UserCode={UserCode}&Password={Password}&DallasKey={DallasKey}&TerminalId={TerminalId}&OutletId={OutletId}&RootCategoryId={RootCategoryId}&UserType={UserType}&MasterUser={MasterUser}&Reports={Reports}&ShowButton={ShowButton}&ColorCode={ColorCode}&TextColor={TextColor}&PriceListId={PriceListId}

Post user added from NIMPOS side and Get users added on POS admin

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Id

string

None.

Email

string

None.

UserName

string

None.

UserCode

string

None.

Password

string

None.

DallasKey

string

None.

TerminalId

globally unique identifier

None.

OutletId

globally unique identifier

None.

RootCategoryId

integer

None.

UserType

UserType

None.

MasterUser

boolean

None.

Reports

boolean

None.

ShowButton

boolean

None.

ColorCode

string

None.

TextColor

string

None.

PriceListId

globally unique identifier

None.

Body Parameters

None.

Response Information

Resource Description

UserData
NameDescriptionTypeAdditional information
Users

Collection of User

None.

Roles

Collection of Role

None.

TillUsers

Collection of TillUser

None.

UserRoles

Collection of UserRole

None.

UserOutlets

Collection of UserOutlet

None.

TillRoles

Collection of TillRole

None.

TillUserRoles

Collection of TillUserRole

None.

Permissions

Collection of Permission

None.

PermissionInRoles

Collection of PermissionInRole

None.

Response Formats

application/json, text/json

Sample:
{
  "Users": [
    {
      "$id": "2",
      "Id": "sample string 1",
      "Email": "sample string 2",
      "UserName": "sample string 3",
      "Password": "sample string 4",
      "TrainingMode": true,
      "LockoutEndDateUtc": "2024-05-16T11:03:23.1838905+02:00",
      "LockoutEnabled": true,
      "EmailConfirmed": true,
      "PasswordHash": "sample string 9",
      "PhoneNumber": "sample string 10",
      "PhoneNumberConfirmed": true,
      "SecurityStamp": "sample string 12",
      "TwoFactorEnabled": true,
      "AccessFailedCount": 14,
      "Active": true,
      "Created": "2024-05-16T11:03:23.1848467+02:00",
      "Updated": "2024-05-16T11:03:23.1848467+02:00",
      "DallasKey": "sample string 17"
    },
    {
      "$ref": "2"
    }
  ],
  "Roles": [
    {
      "$id": "3",
      "Id": "sample string 1",
      "Name": "sample string 2"
    },
    {
      "$ref": "3"
    }
  ],
  "TillUsers": [
    {
      "$id": "4",
      "Id": "sample string 1",
      "OutletId": "7fdb0075-4e15-41a3-9d62-c89727f13ef5",
      "Email": "sample string 3",
      "UserCode": "sample string 4",
      "UserName": "sample string 5",
      "Password": "sample string 6",
      "TrainingMode": true,
      "Active": true,
      "ShowButton": true,
      "ColorCode": "sample string 10",
      "TextColor": "sample string 11",
      "DallasKey": "sample string 12",
      "UserType": 0,
      "RootCategoryId": 13,
      "MasterUser": true,
      "ShowReports": true,
      "PriceListId": "82fef03b-5be6-4bc6-8de9-08d822c0fcca",
      "Updated": "2024-05-16T11:03:23.187853+02:00"
    },
    {
      "$ref": "4"
    }
  ],
  "UserRoles": [
    {
      "$id": "5",
      "UserId": "sample string 1",
      "RoleId": "sample string 2",
      "RoleName": "sample string 3",
      "UserName": "sample string 4"
    },
    {
      "$ref": "5"
    }
  ],
  "UserOutlets": [
    {
      "$id": "6",
      "Id": "455bb4b2-36f0-4559-83cd-e4b58a9b696a",
      "OutletId": "1887d5c9-c804-44e3-bee6-ba1b61c4dfb0",
      "UserId": "sample string 3",
      "Deleted": true,
      "Updated": "2024-05-16T11:03:23.1888471+02:00"
    },
    {
      "$ref": "6"
    }
  ],
  "TillRoles": [
    {
      "$id": "7",
      "Id": "60025bdd-4e56-4a6f-99f4-dd7a6c49c6d0",
      "Name": "sample string 2",
      "Updated": "2024-05-16T11:03:23.1898451+02:00"
    },
    {
      "$ref": "7"
    }
  ],
  "TillUserRoles": [
    {
      "$id": "8",
      "Id": "ea2d6887-ec59-4dd2-86c3-7d082c3064fc",
      "RoleId": "ab4db23c-73d8-41f0-a2e1-c087c208b140",
      "UserId": "sample string 3",
      "Deleted": true,
      "Updated": "2024-05-16T11:03:23.1908448+02:00"
    },
    {
      "$ref": "8"
    }
  ],
  "Permissions": [
    {
      "$id": "9",
      "Id": 1,
      "PermissionType": 0,
      "Name": "sample string 2",
      "Updated": "2024-05-16T11:03:23.1908448+02:00"
    },
    {
      "$ref": "9"
    }
  ],
  "PermissionInRoles": [
    {
      "$id": "10",
      "Id": "48de19b4-c206-40d1-9b3e-c93bebbdd836",
      "PermissionId": 2,
      "RoleId": "59d41e47-168f-4ccc-a63d-fe4209740ceb",
      "Deleted": true,
      "Updated": "2024-05-16T11:03:23.1918905+02:00"
    },
    {
      "$ref": "10"
    }
  ]
}