pub struct ServiceCreate {Show 19 fields
pub allow_chat: Option<bool>,
pub allow_comment_on_confirmation: Option<bool>,
pub allow_control_live_agenda: Option<bool>,
pub allow_decline: Option<bool>,
pub allow_exchange: Option<bool>,
pub cal_text_template: Option<Option<String>>,
pub comment: Option<Option<String>>,
pub description: Option<Option<String>>,
pub group_ids: Option<Vec<i64>>,
pub hide_person_name: Option<bool>,
pub name: String,
pub only_assign_from_groups: Option<bool>,
pub send_reminder_mails: Option<bool>,
pub send_service_request_emails: Option<bool>,
pub service_group_id: i64,
pub sort_key: Option<i64>,
pub standard: Option<bool>,
pub tag_ids: Option<Vec<i64>>,
pub extra: Map<String, Value>,
}Expand description
Fields for creating a reusable service role. Free-text fields are not restricted to predefined values.
Fields§
§allow_chat: Option<bool>Enable chat for this service.
allow_comment_on_confirmation: Option<bool>Allow a comment when confirming a service request.
allow_control_live_agenda: Option<bool>Allow persons assigned to this service to control the live agenda.
allow_decline: Option<bool>Allow assigned persons to decline service requests.
allow_exchange: Option<bool>Allow assigned persons to request an exchange of their service assignment.
cal_text_template: Option<Option<String>>Template for the calendar text of this service.
None leaves the field out, Some(None) sends null.
comment: Option<Option<String>>Use description for new integrations.
Deprecated input alias for description. Use description for new integrations.
None leaves the field out, Some(None) sends null.
description: Option<Option<String>>Description of the role.
None leaves the field out, Some(None) sends null.
group_ids: Option<Vec<i64>>IDs of connected person groups used for service planning. Nonexistent IDs are silently removed. Duplicates are retained. An empty list clears the connections.
hide_person_name: Option<bool>Hide assigned persons from viewers without the service or service-group permissions needed to see them.
name: StringName of the planning role, for example Lead vocals. A service is reusable master data; the assignment of a person to this role belongs to an event.
only_assign_from_groups: Option<bool>Restrict assignment candidates to the connected person groups.
send_reminder_mails: Option<bool>Enable reminder emails for service assignments.
send_service_request_emails: Option<bool>Enable emails for service requests.
service_group_id: i64ID of the existing service group that organizes this role, for example Music or Technical team. This is not a person group.
sort_key: Option<i64>Display order. Lists are sorted by sortKey and then name, both ascending.
standard: Option<bool>Whether this service is marked as a standard service for event planning.
tag_ids: Option<Vec<i64>>IDs of connected tags used for service planning. Nonexistent IDs are silently removed. Duplicates are retained. An empty list clears the connections.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.