Operations related to authentication tokens
DealPOS API (3.1.0)
Download OpenAPI description
Overview
URL
Customer Support
Languages
Servers
Production Server
https://{subdomain}/api/v3/
- Production Serverhttps://subdomain.dealpos.net/api/v3/User
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://subdomain.dealpos.net/api/v3/User \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"LoginID": "tafta",
"Email": "tafta@dealpos.com",
"Password": "4321",
"Group": [
"Group1",
"Group2"
],
"ListOutlets": [
{
"Outlet": "Outlet1",
"Access": "Read"
},
{
"Outlet": "Outlet2",
"Access": "Write"
}
]
}'Response
application/json
{ "Message": "User Tafta created successfully" }
- Production Serverhttps://subdomain.dealpos.net/api/v3/Group
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://subdomain.dealpos.net/api/v3/Group \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Group": "Cashier",
"Role": [
"Sell",
"SellE",
"SellD"
]
}'Response
application/json
{ "Message": "Group Cashier created successfully" }
- Production Serverhttps://subdomain.dealpos.net/api/v3/User/ID
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://subdomain.dealpos.net/api/v3/User/ID?ListID=227427f5-fb25-4f47-9e39-2370fa70d156%2C227427f5-fb25-4f47-9e39-2370fa70d156' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
application/json
[ { "ID": "550e8400-e29b-41d4-a716-446655440000", "Name": "Admin" }, { "ID": "7b27bbfe-71c4-4f3d-9957-fd1cd57c5f1c", "Name": "Cashier" } ]
- Production Serverhttps://subdomain.dealpos.net/api/v3/User/List
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://subdomain.dealpos.net/api/v3/User/List?Status=Unsuspend&Role=Books&Name=Ahmad&PageNumber=1&PageSize=20' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
application/json
[ { "LoginID": "Admin", "ID": "550e8400-e29b-41d4-a716-446655440000", "Name": "Ahmad", "Email": "admin@example.com", "Type": 1 }, { "LoginID": "Cashier", "ID": "7b27bbfe-71c4-4f3d-9957-fd1cd57c5f1c", "Name": "Nurul", "Email": "cashier@example.com", "Type": 1 } ]