Introduction
API Reference
- Events
- Bookings
- Channels
- Lists
- Passes
- Subscriptions
- Tickets
- Users
- Payments
- Refunds
- Wallet Movement
Get passes rates
Get all the rates of passes given a event.
curl --request GET \
--url https://api-alpha.fourvenues.com/integrations/passes-rates/ \
--header 'integration_id: <api-key>' \
--header 'secret: <api-key>' \
--header 'x-api-key: <api-key>'
{
"success": true,
"data": [
{
"_id": "plryuiyps0006msyw2pri1tem1LpJwSx",
"organizaiton_id": "ajifs2hke000dwemmurwd3kuqN3Kopcx",
"event_id": "Mjo4f9o9h01fdjvmmrgn9aoh4s5IBHzX",
"slug": "general-access",
"name": "General Access",
"options": [
{
"_id": "PrbxvjKCVsv9LjzOB4uWE5KfWGrpvxl3",
"additional_info": "Valid only for erasmus.",
"price": 10,
"content": "",
"from": 0,
"until": 27000
}
],
"beneficiaries": 1,
"updated_at": "2022-09-15T23:00:00.000Z",
"created_at": "2022-09-15T23:00:00.000Z"
}
]
}
Authorizations
Identifier of the integration (Auth v1)
Secret of the organization (Auth v1)
API key (Auth v2)
Query Parameters
Event identifier.
Response
true
Array of passes rates
Unique ID of the pass rate.
"plryuiyps0006msyw2pri1tem1LpJwSx"
Unique identifier of the organization.
"ajifs2hke000dwemmurwd3kuqN3Kopcx"
Event identifier.
"Mjo4f9o9h01fdjvmmrgn9aoh4s5IBHzX"
Slug of the rate.
"general-access"
Name of the rate.
"General Access"
Unique ID of the option rate.
"PrbxvjKCVsv9LjzOB4uWE5KfWGrpvxl3"
Additional info.
"Valid only for erasmus."
Price of the option.
x >= 0
10
Content of the option.
""
Relative seconds from start of the event (start) from the option is valid.
x >= 0
0
Relative seconds from start of the event (start) until the option is valid.
x >= 0
27000
Number of beneficiaries.
1
Date of the last update in ISO 8601 format.
"2022-09-15T23:00:00.000Z"
Date of creation in ISO 8601 format.
"2022-09-15T23:00:00.000Z"
curl --request GET \
--url https://api-alpha.fourvenues.com/integrations/passes-rates/ \
--header 'integration_id: <api-key>' \
--header 'secret: <api-key>' \
--header 'x-api-key: <api-key>'
{
"success": true,
"data": [
{
"_id": "plryuiyps0006msyw2pri1tem1LpJwSx",
"organizaiton_id": "ajifs2hke000dwemmurwd3kuqN3Kopcx",
"event_id": "Mjo4f9o9h01fdjvmmrgn9aoh4s5IBHzX",
"slug": "general-access",
"name": "General Access",
"options": [
{
"_id": "PrbxvjKCVsv9LjzOB4uWE5KfWGrpvxl3",
"additional_info": "Valid only for erasmus.",
"price": 10,
"content": "",
"from": 0,
"until": 27000
}
],
"beneficiaries": 1,
"updated_at": "2022-09-15T23:00:00.000Z",
"created_at": "2022-09-15T23:00:00.000Z"
}
]
}