Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Current »

The DineConnect has the complete API to access the Sales Information.

Here is the Sales API that called to get the complete receipt details

image-20240819-031940.png

The sample CURL is here

curl --location 'https://src.dineconnect.net/api/services/app/ticket/GetAll' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer pcZb1H1qZoNdBMOmmzwzI4_6j2jce0kycAow_H1B0oH67Nd3Uk2hPH9r-jbzHFBEHv_A8LhOZz9Z8qBahs_tJJzvB7X_ddO95pQijCwIGro6ucSTWmqZTBwqF7Zp-gxnw6vfAchYBaG9BGPaBla_I29IoByqDyP5zNJHIJQzVljWkkg1eUOkSUNwuQamLYByUkdbMRjJAT22O4blpQ_43mlMlnEMKzQ5Q8CcJ1yRvKSNtpx-e0ANfZmkrpTNTzNAdMp3BvD0fln_IhVUnMXZUKHnaR7M8NgNspz61FaP46dYicZWz0wxL2IHtmqFPiqdjt38E454kZrDCONXtYqrjU5lqLXmHL9Br7sjsX4lwntt37CZ1pUVstYEXsI6rntnQV298RllA4A56ogdjmhRy3AbVRF5Mzf3hXofmQPZR-RRwEt-BEIgb0fwRxU7lnko2YzPd1zPIjMNmOBzhSk7og' \
--data '{
    "startDate": "2023-11-27",
    "endDate": "2023-11-27",
    "tenantId": 94,
    "locationId": 118
}'

The request needs the Bearer token and it can be fetched via the following API

image-20240819-032058.png

The CURL is here

curl --location 'https://src.dineconnect.net/api/Account/Authenticate' \
--header 'Content-Type: application/json' \
--header 'Referer: http://yahoo.com' \
--data '{
    "tenancyName" : "nls",
    "usernameOrEmailAddress" : "admin",
    "password" : "123qwe"
}'

  • No labels