Sideloading related records Follow

Comments

3 comments

  • Avatar
    Miguel Leite

    Hi there Charles,

    first of all, thank you for the great article, I think it's pretty much relevant to have such information about Sideloading in Zendesk.

    I went through an issue related with the sideload of the users list along with a request of all articles from a single category. I'm using the following URL to make that request:

    */api/v2/help_center/categories//articles.json?include=users,sections*

    As a response, I get a listing of all articles, as well as the listing of all the sections specified in the list of articles. However, there's no list of users specified in the articles in the response.

    Am I possibly doing anything wrong?

    Thanks in advance,
    Miguel Leite

  • Avatar
    Charles Nadeau

    Hi Miguel, sorry for the late response. Just got back from vacation. I suspect it's either a bug or some kind of limitation with the category-level article listing endpoint, `/api/v2/help_center/categories/{id}/articles.json`. In my tests I can confirm that it sideloads sections and ignores users. However, with the section-level endpoint, `/api/v2/help_center/sections/{id}/articles.json`, it sideloads both sections and users. I'll follow up with our HC developer team.

    Charles

  • Avatar
    Charles Wood

    Hi Charles,


    It doesn't look like Ticket custom fields can be sideloaded at this time. Do you know if there's any plan to add that capability?


    Thanks,
    Charles Wood

Please sign in to leave a comment.

Powered by Zendesk