When I add Worknotes and comments using RestAPI which is not showing in SNow UI

Balakrishnan N
Kilo Contributor

Hi Team,

I could add comments or Worknotes using RestAPI. The below API url is used to add those things.

https://XXXXXXXX.service-now.com/api/now/v1/table/sys_journal_field?element_id=xxxxxxxxxxxxxxxxxx

The same I could see either added correct or not with the help of below mentioned API url.

https://XXXXXXXX.service-now.com/api/now/v2/table/sys_journal_field?sysparm_query=element=work_notes&element_id=36774415db959010a34fd18c68961960

My concern is when I wish to see these Comments or Work notes are not showing in SNow UI.  Could you plesae help me to sort it out this issue.

1 ACCEPTED SOLUTION

sachin_namjoshi
Kilo Patron
Kilo Patron

You need to use below api to add journal fields using REST API.

e.g Below is updating work notes of single incident

https://dev41006.service-now.com/api/now/table/incident/f0c01200d7002100b81145a3ce610330

 

Below is the payload

 

{"work_notes":"ttttbbbb"}


Regards,
SAchin

 

 

View solution in original post

1 REPLY 1

sachin_namjoshi
Kilo Patron
Kilo Patron

You need to use below api to add journal fields using REST API.

e.g Below is updating work notes of single incident

https://dev41006.service-now.com/api/now/table/incident/f0c01200d7002100b81145a3ce610330

 

Below is the payload

 

{"work_notes":"ttttbbbb"}


Regards,
SAchin