Logo PopinaPopina API

Import missing tills by location

Import missing tills based on locationId

POST/v1/tills/import-missing/{locationId}
authorization<token>

To get an API key, please contact us. We'll be happy to help you.

In: header

Path Parameters

locationIdstring

Location id path parameter

Formatuuid

Query Parameters

since?string

Start date for date range (first day included). Accepts a date in the format ISO 8601 : YYYY-MM-DD

Match^[0-9]{4}-(((0[13578]|(10|12))-(0[1-9]|[1-2][0-9]|3[0-1]))|(02-(0[1-9]|[1-2][0-9]))|((0[469]|11)-(0[1-9]|[1-2][0-9]|30)))$
until?string

End date for date range (last day included). Accepts a date in the format ISO 8601 : YYYY-MM-DD

Match^[0-9]{4}-(((0[13578]|(10|12))-(0[1-9]|[1-2][0-9]|3[0-1]))|(02-(0[1-9]|[1-2][0-9]))|((0[469]|11)-(0[1-9]|[1-2][0-9]|30)))$

Response Body

application/json

curl -X POST "https://api-staging.pragma-project.dev/v1/tills/import-missing/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{
  "total": 0,
  "successful": 0,
  "failed": 0,
  "successfulServerIds": [
    0
  ],
  "failedServerIds": [
    0
  ],
  "errors": [
    {
      "tillId": "string",
      "serverId": 0,
      "error": "string"
    }
  ]
}