Operations related to authentication tokens
- List Notifications With Total Count
List Notifications
Create a Notification
Delete Notifications
List Notifications With T...
DealPOS API (3.1.0)
Download OpenAPI description
Overview
URL
Customer Support
Languages
Servers
Production Server
https://{subdomain}/api/v3/
Request
Also available as HTTP POST (endpoint: /api/v3/Notification/p)
Get List of Notifications
Required Group Role: "My Profile" - "Notification" OR "Global" - "EDIT"
Security
OAuth2_clientCredentials
- Production Serverhttps://subdomain.dealpos.net/api/v3/Notification
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://subdomain.dealpos.net/api/v3/Notification?From=2022-03-17&To=2022-03-17' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
application/json
[ { "ID": "7f7b85db-da32-4fe8-8118-f071ba36f0a0", "ObjectID": "00000000-0000-0000-0000-000000000000", "OutletName": "Offline", "Header": "Customer has visited store 5 times", "Body": "male, 30 years old", "Created": "2022-03-17T08:10:10.15", "URL": "https://www.google.com/", "TypeID": "0", "Type": "None" }, { "ID": "ce34ace3-2fec-4b87-8ae1-9338eed379a3", "ObjectID": "00000000-0000-0000-0000-000000000000", "OutletName": "Offline", "Header": "Customer has visited store 5 times", "Body": "male, 30 years old", "Created": "2022-03-17T08:09:51.367", "URL": "https://www.google.com/", "TypeID": "0", "Type": "None" } ]
- Production Serverhttps://subdomain.dealpos.net/api/v3/Notification
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://subdomain.dealpos.net/api/v3/Notification \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Outlet": "Outlet1",
"Header": "Jane visits this store",
"Body": "This customer likes to buy T-shirt",
"URL": "https://www.mybrand.com/Products/1704"
}'Response
application/json
{ "Message": "Success" }
Bodyapplication/json
Date from of notification created which will be deleted. this is primary key for the object
Default "(yyyy/mm/dd)"
- Production Serverhttps://subdomain.dealpos.net/api/v3/Notification
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
https://subdomain.dealpos.net/api/v3/Notification \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Outlet": "Outlet1",
"From": "2022-03-17",
"To": "2022-03-17"
}'Response
application/json
{ "Message": "Push Notification has been deleted!" }
Request
Also available as HTTP POST with the same endpoint
Get List of Notifications With Total Count
Required Group Role: "My Profile" - "Notification" OR "Global" - "EDIT"
Security
OAuth2_clientCredentials
- Production Serverhttps://subdomain.dealpos.net/api/v3/Notification/WithTotalCount
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://subdomain.dealpos.net/api/v3/Notification/WithTotalCount?PageNumber=1&PageSize=20&Outlet=Outlet1' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
application/json
{ "Data": [ { … }, { … } ], "TotalCount": 2 }