Modification of change data using API

Priyanuj Bortha
Kilo Contributor

Is it possible to Update the Work Notes in a Change using the ServiceNow API? If yes, could you show me an example? I have tried using the u_imp_change table to modify it, but wasn't successful.

1 ACCEPTED SOLUTION

Sai Kumar B
Mega Sage
Mega Sage

@Priyanuj Borthakur  

You can this API 

https://[Your Instance name]/api/now/table/change_request/c83c5e5347c12200e0ef563dbb9a7190 (PUT method)

Request Format

{"work_notes":"Give your worknotes"}

You can use REST API Explorer from the navigator and Test the API as per the below steps

find_real_file.png

 

find_real_file.png

 

find_real_file.png

 

find_real_file.png

 

View solution in original post

1 REPLY 1

Sai Kumar B
Mega Sage
Mega Sage

@Priyanuj Borthakur  

You can this API 

https://[Your Instance name]/api/now/table/change_request/c83c5e5347c12200e0ef563dbb9a7190 (PUT method)

Request Format

{"work_notes":"Give your worknotes"}

You can use REST API Explorer from the navigator and Test the API as per the below steps

find_real_file.png

 

find_real_file.png

 

find_real_file.png

 

find_real_file.png