POST api/Admin/Register
Register POS admin User and create databse for new customer
Request Information
URI Parameters
None.
Body Parameters
Company| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
Max length: 100 |
|
| Address | string |
Max length: 500 |
|
| City | string |
Max length: 50 |
|
| PostalCode | string |
Max length: 10 |
|
| Country | string |
Max length: 50 |
|
| AdminURL | string |
Max length: 150 |
|
| Active | boolean |
None. |
|
| DBServer | string |
Max length: 150 |
|
| DBName | string |
Max length: 50 |
|
| DBUser | string |
Max length: 50 |
|
| DBPassword | string |
Max length: 50 |
|
| TenantType | TenantType |
None. |
|
| EmailReport | boolean |
None. |
|
| CreatedOn | date |
None. |
|
| AccessToken | string |
Max length: 100 |
|
| ConnectionString | string |
None. |
|
| UserEmail | string |
None. |
|
| UserName | string |
None. |
|
| UserPassword | string |
None. |
|
| PhoneNo | string |
None. |
|
| OrgNo | string |
None. |
|
| SaleType | integer |
None. |
|
| SubscribType | integer |
None. |
|
| Currency | string |
None. |
|
| Outlets | Collection of AdminOutlet |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "dfdee3d9-4b61-45d0-8655-e670e35f01b2",
"Name": "sample string 2",
"Address": "sample string 3",
"City": "sample string 4",
"PostalCode": "sample string 5",
"Country": "sample string 6",
"AdminURL": "sample string 7",
"Active": true,
"DBServer": "sample string 9",
"DBName": "sample string 10",
"DBUser": "sample string 11",
"DBPassword": "sample string 12",
"TenantType": 0,
"EmailReport": true,
"CreatedOn": "2026-02-04T04:10:35.3817425+01:00",
"AccessToken": "sample string 15",
"ConnectionString": "Data Source=sample string 9;Initial Catalog=sample string 10;User Id=sample string 11;Password=sample string 12",
"UserEmail": "sample string 16",
"UserName": "sample string 17",
"UserPassword": "sample string 18",
"PhoneNo": "sample string 19",
"OrgNo": "sample string 20",
"SaleType": 21,
"SubscribType": 22,
"Currency": "sample string 23",
"Outlets": [
{
"$id": "2",
"Id": "3e23d144-f231-4ed6-b6cb-550a65a13fff",
"Name": "sample string 2",
"CompanyId": "6b7f3a40-7db1-43b5-aebf-6da67dc45f60",
"Company": {
"$ref": "1"
},
"Terminals": [
{
"$id": "3",
"Id": "5d878416-9f68-4e1f-881f-676bbaa8092e",
"OutletId": "9b6ec420-dd5f-464b-9679-28e1836c7cd2",
"UniqueIdentification": "sample string 3",
"Customer": "sample string 4",
"POSVersion": "sample string 5",
"PaymentDevice": 0
},
{
"$ref": "3"
}
]
},
{
"$ref": "2"
}
]
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.