This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

WHD - Adding a note via API

We have an API that runs through a table of tickets and changes the Status Type ID. I would like to add a note at the same time but am having trouble making the syntax work.

The table is identified from a SQL query and the syntax to change the status is:

{"statustype":{"type":"StatusType","id":3}}

I am assuming I can add to this syntax string, or create a separate one, that will add a note but so far I am not having any success.

I have tried variations of:

{"noteText":"Reinstalled the printer driver. Seems to be working fine now.","statustype":{"type":"StatusType","id":3}

What am I missing?