POST api/User/PostUser
Post user created from NIMPOS systems
Request Information
URI Parameters
None.
Body Parameters
UserModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | string |
None. |
|
| 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. |
Request Formats
application/json, text/json
Sample:
{
"Id": "sample string 1",
"Email": "sample string 2",
"UserName": "sample string 3",
"UserCode": "sample string 4",
"Password": "sample string 5",
"DallasKey": "sample string 6",
"TerminalId": "5cc6ffeb-5345-4465-8cce-c4832f9d407f",
"OutletId": "5b7f8fa6-44fe-4d86-84bf-3ec79f3ee81c",
"RootCategoryId": 9,
"UserType": 0,
"MasterUser": true,
"Reports": true,
"ShowButton": true,
"ColorCode": "sample string 13",
"TextColor": "sample string 14",
"PriceListId": "198bd4d9-a31f-4c8b-835b-6563e6871ae6"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.