ServiceNow supports both SOAP and REST scripted web services:
- SOAP scripted web services have two related lists, which contain the input and output parameters. These are used to generate a WSDL with a single method. A single script field determines the processing. In it, the input parameters are represented with a variable called request, while the output parameters with a variable called response.
- REST scripted APIs are more sophisticated. They support functionality such as versioning and flexible security and can work with information supplied in headers, the body, parameters, and much more-make as many methods as you want! As before, the scripts use the request and response variables. Once created, the REST ...