Rest Service to update ticket is not setting 'To'

Moderator: crythias

Post Reply
amathew
Znuny newbie
Posts: 2
Joined: 12 Jul 2016, 18:03
Znuny Version: 5.0.10
Real Name: Ann Mathew

Rest Service to update ticket is not setting 'To'

Post by amathew »

Hi,

When the user creates a new ticket using REST service, it allows to populate the 'To' field in the article. But while updating the ticket, its not allowing 'To' field to be updated in the new Article

Please find the curl which I was trying

curl "http://local.test.com/otrs/nph-generici ... d=password" -H "Content-Type: application/json" -d "{\"Article\":{\"Subject\":\"Re:Rest Create Test\",\"Body\":\"This is only a reply test\",\"From\":\"test@test.com\",\"Queue\":\"TestQueue\",\"To\":\"test1@test.com\",\"ContentType\":\"text/plain; charset=utf8\"}}" -X PATCH

Also, when I am doing a reply from OTRS for ticket created through web service, it's not populating the email in 'To'.

Please let me what changes need to be done

Regards
Ann Mathew
Post Reply