feegow_appointment_write_create
Create, cancel, reschedule, or update status of appointments in Feegow. Actions:
create: new appointment. Requires local_id, paciente_id, profissional_id, especialidade_id, procedimento_id, data (DD-MM-YYYY), horario (HH:MM:SS 24h), valor (centavos), plano (0=no insurance, 1=insurance). Optional: convenio_id, convenio_plano_id, canal_id, tabela_id, notas, celular, telefone, email, retorno, sys_user.
cancel: requires agendamento_id, motivo_id. Optional: obs. (reversible status flip — not a hard delete).
reschedule: requires agendamento_id, motivo_id, data (DD-MM-YYYY), horario (HH:MM:SS). Optional: obs.
update_status: requires AgendamentoID, StatusID. Optional: Obs, HoraChegada (HH:MM for waiting status).
[Flattened action: create]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| account | No |