Custom scripted Rest API for record producer

GB14
Kilo Patron

I am wondering if someone can assist with script to post a record producer. 

We want this scripted rest API for just 1 record producer and only 5 fields. 

 

I have done for the incident but have no knowledge on how to create one for the record producer. How to call the record producer and variables etc. 

 

Any guidance will be appreciated. 

 

Thanks,
G

1 ACCEPTED SOLUTION

As an FYI, that sort of information is beneficial to include in your original question in future. 

 

Similar to the REST API, there is an js API you can use. CatItem | ServiceNow Developers. It can be combined with a scripted REST API.

View solution in original post

7 REPLIES 7

@Kieran Anson I have and it works perfectly. But we are going to use it for the public widget/page so we are trying to limit the access to certain fields and to only 1 record producer. 

As an FYI, that sort of information is beneficial to include in your original question in future. 

 

Similar to the REST API, there is an js API you can use. CatItem | ServiceNow Developers. It can be combined with a scripted REST API.

Thanks @Kieran Anson