최근 검색


최근 검색 없음

Zachary Spence's Avatar

Zachary Spence

가입한 날짜: 2024년 8월 15일

·

마지막 활동: 2025년 1월 06일

팔로잉

0

팔로워

0

총 활동 수

4

투표

1

가입 플랜

1

활동 개요

님의 최근 활동 Zachary Spence

Zachary Spence님이 에 댓글을 입력함

커뮤니티 댓글 Developer - Zendesk APIs

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

댓글 보기 · 2025년 1월 06일에 게시됨 · Zachary Spence

0

팔로워

0

투표 수

0

댓글


Zachary Spence님이 에 게시물을 만듦

게시물 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"
               }
           ]
       }
   ]
}

 

 

2024년 8월 15일에 게시됨 · Zachary Spence

0

팔로워

1

투표

1

댓글