1. Home
  2. EBTF Services
  3. onePOS Polling Public Documentation

onePOS Polling Public Documentation

Base URL: https://www.datapolling.com

POST: /pub/down/data

This endpoint corresponds to the latest DATA export from onePOS for a single location.

Request Parameters
  • service_key string – a unique key provided to a service to identify them in requests
  • service_id integer – a unique identifier to match the service_key
  • site_id integer – a unique identifier to match the site_key
  • site_key string – a unique key provided to a service to identify the onePOS site in requests
{
    "service_key": "service-key-example",
    "service_id": 0,
    "site_id": 00000,
    "site_key": "site-key-example"
}
Response Parameters
  • data object – onePOS system data in JSON format

POST: /pub/down/journal/:date

This endpoint corresponds to the JOURNAL export from onePOS for a single location for a singular date.

Query Parameters
  • date datetime – the date formatted in ‘YYYYMMDD’ format
Request Parameters
  • service_key string – a unique key provided to a service to identify them in requests
  • service_id integer – a unique identifier to match the service_key
  • site_id integer – a unique identifier to match the site_key
  • site_key string – a unique key provided to a service to identify the onePOS site in requests
{
    "service_key": "service-key-example",
    "service_id": 0,
    "site_id": 00000,
    "site_key": "site-key-example"
}
Response Parameters
  • data object – onePOS journal data in JSON format

POST: /pub/down/details/:date

This endpoint corresponds to the JOURNAL DETAILS export from onePOS for a single location for a singular date.

Query Parameters
  • date datetime – the date formatted in ‘YYYYMMDD’ format
Request Parameters
  • service_key string – a unique key provided to a service to identify them in requests
  • service_id integer – a unique identifier to match the service_key
  • site_id integer – a unique identifier to match the site_key
  • site_key string – a unique key provided to a service to identify the onePOS site in requests
{
    "service_key": "service-key-example",
    "service_id": 0,
    "site_id": 00000,
    "site_key": "site-key-example"
}
Response Parameters
  • data object – onePOS journal details data in JSON format
Updated on July 27, 2022

Was this article helpful?

Related Articles