ServiceNow® APIs let you build custom applications and experiences. APIs were enhanced and updated in the Vancouver release.

API highlights for the Vancouver release

  • Use server-side JavaScript APIs in scripts to change the application functionality.
  • Run client APIs whenever a client-based event occurs, such as when a form loads, a form is submitted, or a field value changes.
  • Use inbound REST APIs to interact with various ServiceNow functionalities within your application.

See API implementation and reference for more information.

New in the Vancouver release

Table 3. New client mobile APIs and additional methods to existing client mobile APIs
Class Methods
cabrillo.attachments - Client addFiles()
cabrillo.nowapp - Client
  • openLauncherScreen()
  • openScreen()
  • openScreenWithRecordContext()
  • performFunction()
  • refresh()
Table 4. New REST APIs and additional endpoints to existing REST APIs
API Endpoints
Install Base Item API
  • DELETE /sn_install_base/integrations/installbaseitems/{id}/relatedparties/{related_party_sys_id}
  • GET /sn_install_base/integrations/installbaseitems
  • GET /sn_install_base/integrations/installbaseitem/{id}
  • GET /sn_install_base/integrations/installbaseitems/{id}/cases
  • GET /sn_install_base/integrations/installbaseitems/{id}/childinstallbaseitems
  • GET /sn_install_base/integrations/installbaseitems/{id}/contracts
  • GET /sn_install_base/integrations/installbaseitems/{id}/entitlements
  • GET /sn_install_base/integrations/installbaseitems/{id}/maintenanceplans
  • GET /sn_install_base/integrations/installbaseitems/{id}/relatedparties
  • GET /sn_install_base/integrations/installbaseitems/{id}/soldproducts
  • GET /sn_install_base/integrations/installbaseitems/{id}/workorders
  • PATCH /sn_install_base/integrations/installbaseitems/{id}
  • PATCH /sn_install_base/integrations/installbaseitems/{id}/relatedparties/{related_party_sys_id}
  • PATCH /sn_install_base/integrations/installbaseitems/{id}/uninstall
  • POST /sn_install_base/integrations/installbaseitems
  • POST /sn_install_base/integrations/installbaseitems/{id}/relatedparties

Changed in this release

Table 5. Changed scoped classes
Class Methods
GlideAggregate - Scoped The orderBy() method now accepts arguments that are glidefunctions.
Table 6. Changed global classes
Class Methods
GlideAggregate - Global The orderBy() method now accepts arguments that are glidefunctions.

Deprecations

Activation information

The following APIs are available by default:
  • Cabrillo.Attachments
  • CMDBDuplicateTemplateUtils
  • DuplicateTemplate
  • GlideAggregate
  • GlideElement
  • GlideJsonPath
  • GlideNumberFormatter
  • GlideDBFunctionCaseBuilder
  • GlideSPScriptable
  • ProactiveTriggerAPI
The following APIs require plugin activation:
  • The Install Base Item API requires the Customer Service Install Base Management (com.snc.install_base) plugin to be activated.
  • The OnCallContactPrefTemplate and OnCallEscalationTemplateSNC APIs require the On-Call Scheduling (com.snc.on_call_rotation) plugin to be activated.
  • The TransformerDefinition API requires the Transformation Service (com.glide.transform) plugin to be activated.