최근 검색


최근 검색 없음

Bulk API call



2022년 4월 28일에 게시됨

How can I create bulk categories or articles using API?

I am able to create one category at a time but when I try below code for more than one categories then it fails. Do we have any other alternatives?

 

{
    "category": [ 
        {
            "position": 0,
            "name": "Agents2",
            "description": "",
            "locale": "en-us",
            "source_locale": "en-us",
            "outdated": false
        }

,
        {
            "position": 1,
            "name": "Agent3",
            "description": "",
            "locale": "en-us",
            "source_locale": "en-us",
            "outdated": false
        }
    ]
}
 

 


0

1

댓글 1개

image avatar

Eric Nelson

Zendesk Developer Advocacy

Hey Atul,

Unfortunately the api is only to create one category at a time. Though you could write a small script to loop through an array of category objects to create them all in one go. 

0


댓글을 남기려면 로그인하세요.

원하는 정보를 못 찾으셨나요?

새 게시물