REST API PUT METHOD

shweta56
Kilo Contributor

I want to expose an put rest api endpoint on sc_task table to update the record. But the team who will be accessing this end point only has the task number eg - SCTASK0010988 , is there any way to update the record using the task number without passing the sys_id which is showing as a mandatory field  ???

5 REPLIES 5

Geeky
Kilo Guru
Pass number in the relative path of scripted rest API.

shweta56
Kilo Contributor

Sorry, but can you explain the solution with an example

Take a look at the below tutorial. The author explains it very well.

https://www.youtube.com/watch?v=HmuCXNT7YKE


Please mark my response as correct and helpful if it helped solved your question.
-Thanks

Thanks Prateek, solution helped 🙂