Operations related to authentication tokens
curl -i -X GET \
https://subdomain.dealpos.net/api/v3/Serial \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"PageNumber": 1,
"PageSize": 20,
"ListOutlet": [
"Outlet1",
"Outlet2"
]
}'
[ { "Name": "Iphone1", "Code": "IP1", "Serial": [ … ] }, { "Name": "Iphone2", "Code": "IP2", "Serial": [ … ] } ]
curl -i -X GET \
https://subdomain.dealpos.net/api/v3/Serial/byVariantCode \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"Outlet": "MK",
"Code": "SM-001"
}'
[ { "Outlet": "MK", "Serial": [ … ] } ]