- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-09-2023 11:58 AM - edited ‎08-09-2023 12:03 PM
With ServiceNow REST API, its URLs' subdomain contains instanceId:
https://{instanceId}.service-now.com/api/now/table/{tableName}
Since I only have a developer instance account,
GET https://dev105877.service-now.com/api/now/table/{tableName}
Does supported (paid) accounts also have instanceId required for REST API URLs' subdomain
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-09-2023 01:44 PM
Hi, yes every instance is named for and accessed via it's 'sub-domain', and this is the unique identifier for the instance.
Both the production and sub-production instance(s) for a solution\enagement normally share the same base name, with sub-production being suffixed to identify them eg
myInstance, myInstancedev, myInstancetest
The instance name be accessed from a script via the system property 'instance_name'
gs.info(gs.getProperty('instance_name'));
or you can access the formatted url via
gs.info(gs.getProperty('glide.servlet.uri'));
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-09-2023 01:44 PM
Hi, yes every instance is named for and accessed via it's 'sub-domain', and this is the unique identifier for the instance.
Both the production and sub-production instance(s) for a solution\enagement normally share the same base name, with sub-production being suffixed to identify them eg
myInstance, myInstancedev, myInstancetest
The instance name be accessed from a script via the system property 'instance_name'
gs.info(gs.getProperty('instance_name'));
or you can access the formatted url via
gs.info(gs.getProperty('glide.servlet.uri'));