최근 검색


최근 검색 없음

Ticket not updating using Requests API



2022년 10월 06일에 게시됨

I am attempting to update a ticket using the Requests API. I have created the ticket myself and I am trying to update the ticket as myself.

Here is my payload
{"request":{"comment":{"body":"Sent from within the platform"}}}

Here is my response

Here is my code


0

8

댓글 8개

The number of times that something won't work and then I resolve it by creating again exactly as it was when it wasn't working...it's too many to be counted. It's just dev gremlins, glad it's working now though!

0


Using RequestBin I was able to debug my program to get it working. I have no clue what was going wrong, all I did was regenerate my models piece by piece and ended with the same result except now it works.

Thank you!

0


Could you point this request at something like https://requestbin.io/ to see what is being sent? It's difficult to get the full picture from that screenshot, but the payload is definitely not getting to us, so something has to be wrong there. It's not being stripped out or part of an unpermitted key issue...it's just not hitting our servers at all with that payload.

0


Debugging with Visual Studio it appears that the JSON parameter request is attached properly in my response. I swapped to the Tickets API instead of Requests and it still fails to update.

0


Thanks for that info. I checked our logs and the reason that nothing is being updated is because we aren't receiving anything in the payload. Can you check the response that's being sent to ensure that your payload is being configured correctly?

0


Yes, my ticked did not update. It says the response was successful but when I look at my ticket on Zendesk there is no new comment posted.

0


Hi Jarrett! Is there a question that you have about any of this? It looks like you received a successful response, so could you let us know what it is you're looking for help with here?

0


Here are my models

0


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

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

새 게시물