GET /api/events

Params

Param Name Description
eagroup_id
Optional

show only events owned by this group

Validations:

  • Must be a number.

all
Optional

if present show all events the admin has access to

Validations:

  • Must be a String

start_date
Optional

start date in 2020-12-01 format

Validations:

  • Must be a String

end_date
Optional

end date in 2020-12-01 format

Validations:

  • Must be a String

search
Optional

case-insensitive search string into event names

Validations:

  • Must be a String

start
Optional

start index for partial fetch

Validations:

  • Must be a number.

end
Optional

end index for partial fetch

Validations:

  • Must be a number.


GET /api/events/:id


POST /api/events


PUT /api/events/:id


DELETE /api/events/:id


POST /api/events/:id/duplicate_any


GET /api/events/duplicate/:id

Params

Param Name Description
week
Optional

if present copy one week forward

Validations:

  • Must be a String


POST /api/events/multiply/:id

Params

Param Name Description
multiply_start_time
Optional

start date in 01.12.2020 format

Validations:

  • Must be a String

multiply_end_time
Optional

end date in 01.12.2020 format

Validations:

  • Must be a String

multiply_close_time
Optional

close date in 01.12.2020 format

Validations:

  • Must be a String

multiply_close_cancellations_time
Optional

close cancellations date in 01.12.2020 format

Validations:

  • Must be a String


POST /api/users/:id/multisave

Params

Param Name Description
user_0
Optional

per user-id fields for users to set as coming

Validations:

  • Must be a String


GET /api/events/delete_attachment/:id

Params

Param Name Description
attachment_id
Optional

public attachment to delete

Validations:

  • Must be a number.


GET /api/events/delete_confirmed_attachment/:id

Params

Param Name Description
attachment_id
Optional

confirmed attachment to delete

Validations:

  • Must be a number.


GET /api/events/delete_private_attachment/:id

Params

Param Name Description
attachment_id
Optional

private attachment to delete

Validations:

  • Must be a number.


POST /api/events/multiset

Params

Param Name Description
eagroup_id
Optional

eagroup to set event statuses on

Validations:

  • Must be a number.

event_ids
Optional

event id numbers to set statuses on

Validations:

  • Must be an array of any type

status
Optional

new status to set

Validations:

  • Must be a number.