AddScreeningEvent
Oleg Zech урећивао ову страницу пре 3 година
create or replace function api."AddScreeningEvent"
    (
          _start_dt timestamptz -- when the tests starts
        , _classes  uuid[] -- Which classes
        , _types    capitalshorttext[] -- array of test types SCOLIO, BMI etc
        , _end_dt   timestamptz default null -- when the event ends
        , _duration int default null -- how long it will take
        , _visitor  name default current_user -- if you are manager, you need to provide the visitor who will perform the test
        , _notes    text default null
    ) returns calendars.events