Búsquedas recientes


No hay búsquedas recientes

Zachary Spence's Avatar

Zachary Spence

Incorporación 15 ago 2024

·

Última actividad 06 ene 2025

Seguimientos

0

Seguidores

0

Actividad total

4

Voto

1

Suscripción

1

RESUMEN DE LA ACTIVIDAD

Última actividad de Zachary Spence

Zachary Spence hizo un comentario,

Comentario de la comunidad Developer - Zendesk APIs

In case anyone else stumbles upon this issue, I ended up stringing single API calls together with &&.

Ver comentario · Publicado 06 ene 2025 · Zachary Spence

0

Seguidores

0

Votos

0

Comentarios


Zachary Spence creó una publicación,

Publicación Developer - Zendesk APIs

Hi team,

 

Could someone please help me figure out how to format the json to set actions (i.e., update fields) for many macros at once? I'm looking here, but it only shows me how to update the active status for the macro or the macro position. But I need to update other fields (like, all of them: priority, type, comment text, category, etc) for ~500 macros, so I'm desperately hoping I'm just formatting my json incorrectly and it's not the case that you can only use this endpoint for updating active status and position :x.

 

This is the json I used to test, and the active status changed properly but the actions didn't stick. Am I formatting incorrectly?

 

{
   "macros":
   [
       {
           "id": 1234,
           "active": false,
           "actions":
           [
               {
                   "field": "subject",
                   "value": "New, many-update subject."
               },
               {
                   "field": "status",
                   "value": "pending"
               }
           ]
       },
       {
           "id": 12345,
           "active": false,
           "actions":
           [
               {
                   "field": "subject",
                   "value": "New, many-update subject."
               },
               {
                   "field": "status",
                   "value": "pending"
               }
           ]
       }
   ]
}

 

 

Publicado 15 ago 2024 · Zachary Spence

0

Seguidores

1

Voto

1

Comentario