Skip to content

Latest commit

 

History

History
27 lines (24 loc) · 692 Bytes

agenda_item.create.md

File metadata and controls

27 lines (24 loc) · 692 Bytes

Payload

{
// Required
  content_object_id: Fqid

// Optional
    item_number: string;
    parent_id: Id;
    comment: string;
    closed: boolean;
    type: number;
    duration: number; // in seconds
    weight: number;
    tag_ids: Id[];
    moderator_notes: HTML;
}

Action

Creates an agenda item for the content object. It fails, if the content object already has an agenda item or the content object cannot have an agenda item (see available collections in the models.yml). tag_ids must be from the same meeting.

Permissions

The request user needs agenda_item.can_manage_moderator_notes to set moderator_notes and agenda_item.can_manage for all other fields.