Developer forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Forum Posts

Resolved! Scoped Application Scripted REST API getCookies() returning null

Good day raiders of the lost ark,- I've created a Scripted REST API within a Scoped application (geneva developer instance). - This API has 2 resources.- Resource #1 calls Resource #2 and tries getCookies() with the response from #2.   - In the logs ...

mrgj by Mega Contributor
  • 2849 Views
  • 8 replies
  • 0 helpfuls

Scripted REST API or OOTB API

We have a requirement to allow an external system to submit an item out on our service catalog.   Here's what we are doing using the 'Buy Item' resource using the 'SN_SC' api:1. Peoplesoft initiates a REST call to begin an onboarding catalog item onc...

Resolved! Is there a way to know who use a Scripted REST API ?

Hi, I've created a Scripted REST API beacause of a user need to get some records from a table. I whould like to know if there is a way to know when this user use the Scripted REST API resource (GET). I saw the sys_api_stats table, but I whould like t...

Resolved! scripted rest api output creation

New to using the Scripted REST API. I basically want to do a GET to the sys_user_grmember table to list the records of user within a group. However, using REST Explorer API a simple GET to the table provides sys_ids for the User and Group instead of ...

sherard by Mega Expert
  • 3291 Views
  • 5 replies
  • 1 helpfuls

Resolved! Scripted rest API is not working on another developer instance

Hi,I developed scripted rest API on one instance, tested, and it worked. After Export to XML and upload to different developer instance I got an error:{   "error": {   "detail": "TypeError: undefined is not a function. (sys_ws_operation.81ccc7210feb2...

2016-12-08 14_25_38-Log _ ServiceNow.png find_real_file.png find_real_file.png
mareks_p by Giga Contributor
  • 3605 Views
  • 4 replies
  • 0 helpfuls

Resolved! Scripted REST API for inbound integration

Hi,I have a requirement like, when user update state, Comments, Priority etc.. in third party application, then it should be updated in servicenowI am using the scripted rest api PUT method to update the fields in servicenow.Could you please help,Scr...

find_real_file.png find_real_file.png

Resolved! difference between REST message and scripted RESTAPI?

Hi Friends,What is the difference between REST message and scripted REST API?When should we use REST message and when should we use scripted REST API?Please help me by giving suitable examples.Thanks and Regards,Chandra Suvro Bose

suvro by Mega Sage
  • 13208 Views
  • 5 replies
  • 27 helpfuls

Resolved! Cloning Prod to DEV

We have never cloned our PROD instance to DEV since we went live a year ago. I asked HI about this process and they sent me a link and told me to do it myself. Anything I need to be aware of for this 1st time cloning process? Pitfalls? Known issues? ...

markalpine by Kilo Expert
  • 7498 Views
  • 4 replies
  • 9 helpfuls