I am new to zendesk. I have created app to fetch & display ticket and requester details and I have created app to show details from 3rd party website too.
Currently, I am working on Sunshine API and I created a zendesk app to expose the Sunshine objects values but could not find success. Need help if anyone can.
I have created Sunshine custom object 'pc' with 3 attributes 'id', 'model' & 'is_laptop'. Also, I have created the relation 'pc_has_many_tickets' with "source": "pc"
and "target": ["zen:ticket"]. Then, using curl I have also filled in attributes values for my ticket# 7. Now I wanted to expose these values on my newly created zendesk app. I am not able to achieve even after providing api setting and retrieve values.
I tried to test the retrieval code using v2 REPL where zafClient.get('ticket.id') --> getting value and,
zafClient.get('pc.id') --> not getting value but getting error.
I have raised a ticket and attached my js & html file in the same. Please click below link to get attachments.
ANy quick help would be appreciated.
Please sign in to leave a comment.