API release notes
Summarize
Summary of API release notes - Xanadu
The Xanadu release enhances and updates ServiceNow® APIs, enabling customers to build custom applications and experiences more effectively. These updates include new and expanded server-side JavaScript APIs, client APIs, inbound REST APIs, and scoped/global classes with additional methods. The release also introduces new REST APIs across various ServiceNow applications and updates existing ones for improved functionality.
Show less
Key Features
- Server-side and Client APIs: Enhanced scripting capabilities with new and extended methods in scoped and global classes like
CMDBQBScopedScriptableAPI,HistoryWalker,GlideAggregate,GlideRecord, and client-side classes such asmformandMobileScriptIncludeCaller. - New REST APIs: Added APIs for Cloud Services Catalog, Proactive Engagement, Accounts Payable Invoice Processing, Telecommunication Open APIs, Service Test Management, Threat Intelligence Security Center, and more.
- Expanded ServiceNow Store APIs: New classes and methods for client and scoped applications, including OpenFrameAPI enhancements and Lead to Cash Core improvements.
- Dynamic Schema Support: GlideAggregate and GlideRecord now support dynamic schema operations, enhancing data querying and manipulation flexibility.
- API Enhancements: Updates include additional parameters, support for new data types, improved sorting behaviors, and extended functionality such as asynchronous transaction status returns and context-aware methods.
Key Outcomes
- Developers can leverage expanded APIs to customize application behavior, automate processes, and integrate with external systems more effectively.
- Clients benefit from improved event-driven client APIs that respond to form loads, submissions, and field changes, enhancing user experience.
- Enhanced REST APIs provide broader capabilities for managing cloud services, telecommunication resources, proactive engagements, and workplace reservations.
- Activation of specific plugins is required to access certain APIs, ensuring customers enable only necessary features for their use case.
- Support for dynamic schemas and asynchronous operations improves data handling and transaction processing within ServiceNow applications.
Activation and Plugin Requirements
Several APIs are available by default, including Cloud Services Catalog API, DynamicSchemaAPI, GlideAggregate, GlideDate, GlideRecord, and others. However, some APIs require activation of specific plugins, such as:
- Appointment Open API: Requires Appointment Booking, Field Service Management, and Field Service Management for Telecommunications plugins.
- AWA Manual Assignment API: Requires Advanced Work Assignment plugin.
- LeadtoCashCore script include: Requires Lead to Cash Core plugin.
- PersonalAuthAPI: Requires Personal Authentication plugin.
- Proactive Engagement API: Requires Proactive Engagement plugin.
- Resource Inventory Open API: Requires Customer Network Inventory Core plugin.
- Service Contract API: Requires Customer Contracts and Entitlements, Customer Service Install Base Management, and Product Catalog Management Core plugins.
- Service Test Management Open API: Requires Customer Service Problem Management plugin.
- Verify Entitlements API: Requires Entitlement Verification plugin.
- Workplace Reservation APIs: Require Workplace Reservation Management plugin.
Customers should ensure these plugins are activated to access the corresponding APIs and features.
ServiceNow® APIs let you build custom applications and experiences. APIs were enhanced and updated in the Xanadu release.
API highlights for the Xanadu 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 Xanadu release
| Class | Methods |
|---|---|
| CMDBQBScopedScriptableAPI - Scoped |
|
| HistoryWalker - Scoped, Global | walkTo(checkpoint) |
| NumberFormatter - Scoped, Global |
|
| PDAutomationProvider - Scoped, Global |
|
| PDFGenerationAPI - Scoped, Global | redact() |
| PersonalAuthAPI - Scoped |
|
| PlaybookExperience - Scoped | restartPlaybook() |
| Class | Methods |
|---|---|
| CMDBQueryBuilderAPI - Global |
|
| DynamicSchemaAPI - Global |
|
| GlideAggregate - Global |
|
| GlideDate - Global | parseDate() |
| GlideDynamicAttributeStore - Global |
|
| GlideElementDynamicAttributeStore - Global |
|
| GlideRecord - Global |
|
| HistoryWalker - Scoped, Global | walkTo(checkpoint) |
| NumberFormatter - Scoped, Global |
|
| PDFGenerationAPI - Scoped, Global | redact() |
| Class | Methods |
|---|---|
| m_form - Client |
|
| MobileScriptIncludeCaller - Client |
|
| Class | Methods |
|---|---|
| Cloud Services Catalog API |
|
| Proactive Engagement API | CREATE /api/sn_pren/self_remediation/experience_issue/create |
| Application | App version | Class | Methods |
|---|---|---|---|
| openFrameAPI - Client | getAWAAgentPresence() |
| Application | App version | Class | Methods |
|---|---|---|---|
| sb - Scoped, Global |
|
| Application | App version | Class | Methods |
|---|---|---|---|
| sb - Scoped, Global |
|
| Application | App version | Class | Methods |
|---|---|---|---|
| Accounts Payable Invoice Processing | V9.03 | AP Invoice API |
|
| Telecommunication Open APIs | V3.0.0 | Appointment Open API |
|
| Proactive Engagement | V1.0 | Proactive Engagement API | CREATE /sn_pren/self_remediation/experience_issue/create |
| Telecommunication Open APIs | V2.1.0 | Product Catalog Open API |
|
| Telecommunication Open APIs | V2.1.0 | Resource Inventory Open API | Added support for Cable, Strand, and Topology tables. This change is reflected in the @type, id, and resourceRelationship.resource property descriptions.
|
| Telecommunication Open APIs | V2.1.0 | Service Test Management Open API |
|
| Threat Intelligence Security Center for Security Operations | V3.5.0 | TISC API | POST /sn_sec_tisc/threat_intel_data/add_observables |
Changed in this release
| Class | Methods |
|---|---|
| HistoryWalker - Scoped, Global | Added parameter for specifying the type of history walker implementation to use. HistoryWalker() |
| Class | Methods |
|---|---|
| GlideAggregate - Global | Added support for dynamic schema.
|
| GlideRecord - Global | Added support for dynamic schema.
|
| HistoryWalker - Scoped, Global | Added parameter for specifying the type of history walker implementation to use. HistoryWalker() |
| Class | Methods |
|---|---|
| AWA Manual Assignment API | Added new request body parameters. POST /awa/workitems/{work_item_sys_id}/assignments |
| Continuous Integration/Continuous Delivery (CICD) API | Added new optional query parameters for specifying whether to run a test suite as a performance test and in Cloud Runner. POST /sn_cicd/testsuite/run |
| Application | App version | Class | Methods |
|---|---|---|---|
| Lead to Cash Core | V1.3.1 | LeadtoCashCore - Scoped | The LeadtoCashCore script include is enhanced to support reconfiguration use cases:
|
| Lead to Cash Core | V2.0.0 | LeadtoCashCore - Scoped | commitInstance() now returns the dataObject object which displays the status of an asynchronous transaction for users to review and submit the transaction for further fulfillment. |
| Class | Methods | ||
|---|---|---|---|
| CSM Openframe | V1.0 | openFrameAPI - Client | Added workitem_rejected and workitem_accepted response payloads. subscribe() |
| CSM Openframe | V1.1 | openFrameAPI - Client | Added isAutoAccepted flag in response payloads. subscribe() |
| Application | App version | Class | Methods |
|---|---|---|---|
| Customer Contracts and Entitlements | V4.0 | Service Contract API | Product specification information and automatically generated identification number were added to the following endpoints:
|
| Entitlements Verification | V2.0 | Verify Entitlements API | Product specification information and automatically generated identification number were added to the following endpoints:
|
| Telecommunication Open APIs | V2.1.0 | Service Order Open API |
|
| Telecommunication Open APIs | V2.1.0 | Product Catalog Open API |
|
| Threat Intelligence Security Center for Security Operations | V3.5.0 | TISC API | The sort_by and sort_direction request body parameters are no longer supported. Observables returned in the response are sorted by sys_id in ascending
order. POST /sn_sec_tisc/threat_intel_data/observables |
| Workplace Reservation Management | WSD Extra Service Request API | Added new request body parameter, reservationDateTimeChanged. GET /sn_wsd_rsv/reservable/list_reservables/{sys_ids} |
|
| Workplace Reservation Management | V2.11.0 | WSD Reservable API | Added new query parameter, reservation_start_time. GET /sn_wsd_rsv/reservable/list_reservables/{sys_ids} |
| Workplace Reservation Management | V2.11.0 | WSD Reservable V2 API | Added new query parameter, reservation_start_time. POST /sn_wsd_rsv/v2/reservable/list_reservables |
Activation information
- Cloud Services Catalog API
- DynamicSchemaAPI
- GlideAggregate
- GlideDate
- GlideDynamicAttributeStore
- GlideElementAttributeStore
- GlideRecord
- HistoryWalker
- NumberFormatter
- openFrameAPI
- PDAutomationProvider
- PDFGenerationAPI
- PlaybookExperience
- Product Catalog Open API
- Service Order Open API
- The Appointment Open API requires the following plugins to be activated:
- Appointment Booking (com.snc.appointment_booking)
- Field Service Management (com.snc.work_management)
- Field Service Management for Telecommunications (com.sn_fsmt)
- Telecommunication Open APIs (com.sn_tmf_api)
- The AWA Manual Assignment API requires the Advanced Work Assignment (com.glide.awa) plugin to be activated.
- The LeadtoCashCore script include requires the Lead to Cash Core (com.snd.l2c.core) plugin to be activated.
- The PersonalAuthAPI requires the Personal Authentication (com.snc.sn_ihub_personal_auth) plugin to be activated.
- The Proactive Engagement API requires the Proactive Engagement (proactive-engagement) plugin to be activated.
- The PSBPublicAPIUtil requires the Service Exchange for Providers application (sn_sb_pro) and the Service Exchange Base (sn_sb) plugins to be activated.
- The Resource Inventory Open API requires the Customer Network Inventory Core application (com.app-ni-core) plugin to be activated.
- The Service Contract API requires the following plugins to be activated:
- Customer Contracts and Entitlements (com.sn_pss_core)
- Customer Service Install Base Management (com.snc.install)
- Product Catalog Management Core (com.sn_prd)
- The Service Test Management Open API requires the Customer Service Problem Management (com.sn_sprb_mgmt) plugin to be activated.
- The Verify Entitlements API requires the Entitlement Verification (sn_ent_verify) plugin to be activated.
- The WSD Extra Service Request API requires the Workplace Reservation Management (com.sn_wsd_rsv) plugin to be activated.
- The WSD Reservable API requires the Workplace Reservation Management (com.sn_wsd_rsv) plugin to be activated.
- The WSD Reservable V2 API requires the Workplace Reservation Management (com.sn_wsd_rsv) plugin to be activated.