Hi everyone,
I’m working in a MS Power App in Power Platform and I’m trying to update the status of a ticket via FreshDesk API connector, I used Freshdesk’s /api/v2/admin/ticket_fields to get the status with its options collection and with the status ID, then used the /api/v2/admin/ticket_fields/[status_id] to get the status object, below are the results:
- Open (ID: Open)
- Pending (ID: Pending)
- Resolved (ID: Resolved)
- Closed (ID: Closed)
- En preparacion (ID: En preparacion)
- En ruta (ID: En ruta)
- Entregado (ID: Entregado)
- Recojo realizado (ID: Recojo realizado)
- Llegada a oficina (ID: Llegada a oficina)
- En mesa de despacho (ID: En mesa de despacho)
Now when from a button I unleash the call to the API connector:
Freshdesk.UpdateTicket(varTicketId; {status:"STATUSID"})
where varTicketID is a valid ticket ID and STATUSID is a value like Open, Pending, Resolved or Closed, everything works fine. But when the values are one of this options that supposedly also valid:
- En preparacion (ID: En preparacion)
- En ruta (ID: En ruta)
- Entregado (ID: Entregado)
- Recojo realizado (ID: Recojo realizado)
- Llegada a oficina (ID: Llegada a oficina)
- En mesa de despacho (ID: En mesa de despacho)
I’m getting a validation failed error message.
It seems like the API is only accepting let’s call the “regular values” but not the custom values that the organization configured. I tried also using the number that corresponds to each status and also failed.
Any ideas?
Thanks in advance for your help.