Get all entrances
Get a list of entrances in the CareCloud platform.
Query parameters
The number of records to return in API response.
⚠️ We recommended adjust the batch size based on processing time. Depending on the response time of the request. Default value of 100 records is used if count parameter is not set.
The number of records from a collection to skip. Default value of 0 is used when parameter offset is not set.
Name of the sorting parameter. You can sort by any of the first level parameters from the resource response. Response is sorted by the specified field.
Direction of sorting the response list.
ID of POS system for tickets. Required with path parameter entrance ID. Possible values are: EPOS - 3 / skidata - 6 / axess - 9 / base - 11
ID of an external order created in POS system.
Name of the charged entrance (product name is used from resource products).
Name of the resort where is an entrance charged.
Name of the customer category.
ID of a card used for charging entrance. GET /cards
The unique ID of the customer. GET /customers
Type of the entrance. Possible values are: season ticket - 0/ one day ticket -1/ multiple day ticket - 2
State of the entrance. Possible values are: canceled entrance - 0 / valid entrance -1
External ID of the entrance. Structure can be different depends of POS system, that created entrance.
in validity range - true / before or after validity range - false / no value - all
Filter for canceled entrances. Possible values: true - all cancelled entrances / false - all non cancelled entrances / no value - all entrances
Start of the validity period for filtering in ISO-8601 format (YYYY-MM-DD).
End of the validity period for filtering in ISO-8601 format (YYYY-MM-DD).
The unique ID of the product. GET /products
External ID of the turnstile permission. Structure can be different depends of the POS system, that created the permission.
ID of an item from e-shop order.
Headers
The unique ID of the language code by ISO 639-1.
Response
OK
Example response
{
"data": {
"entrances": [
{
"entrance_id": "80a7be2e78aabc1454ca817265",
"name": "1 Dňový Skipas - Akcia 7.1. - 22.1.2015",
"external_order_id": "d03df0e0-959a-11e4-a6ce-0050569b002b",
"external_entrance_id": "1-1760-61-107788",
"external_turnstile_permission_id": "1-1760-61-107788",
"entrance_type_id": 1,
"order_item_id": "84947e1aa1ad6982cc8188d15c",
"card_id": "8c9fd120242ef646f477a5ed80",
"created_at": "2015-01-06 12:54:46",
"cancelled_at": "2015-01-09 22:38:48.088",
"charge_date": "2015-01-10 00:00:00",
"last_change": "2019-08-29 13:04:45",
"state": 1
}
],
"total_items": 1
}
}