Questions tagged [servicenow-rest-api]
202 questions
0
votes
2 answers
Send data from Server script to Client script (and not the other way around)
I am working on a widget, and I use data/input variables to communicate between the Client script to Server script.
for ex., in the Client Script I use:
c.data.action= "removeEvent";
c.server.update().then(function(){ c.data.action =…

mrbangybang
- 683
- 1
- 9
- 22
0
votes
1 answer
Azure Price API
We are using Azue retail price api in ServiceNow to get the Azure services prices. It was working for us before and was giving all the results. Now it is giving us below error:
"Request not sent to uri= https://prices.azure.com/api/retail/prices :…

itspezi
- 1
0
votes
1 answer
How does GCP Cloud Function can execute or trigger it from ServiceNow?
Hi iam begineer level at GCP just started learning nd familiarizing myself and i have a requirement like- there are few Cloud Operate usecases like StopVM, StartVM, ResizeVM, Delete Orphan IP's etc.. should be execute it from ServiceNow end not from…

DSH
- 69
- 1
- 8
0
votes
1 answer
How to get all ticket's short description from virtual task board card with Table API in Service Now
I'm trying to build a virtual task board with Service Now table api, which contains lands, ticket number, and ticket short description
Using this api, I can retrieve ticket number, lands, but not ticket short…

Tien Dang
- 41
- 2
- 3
0
votes
3 answers
How to group by in service now?
I am new in service now and I don't know yet how to manipulate the data unlike in MySQL and SQL. I just want to know how can I group by the data.
Here is my code to show the data:
var group = new GlideRecord("table");
…

SE.Edward
- 201
- 3
- 12
0
votes
2 answers
Servicenow Rest API link broken after Upgrade to San Diego
I am pulling a report on sc_req_item table, this is the command:
curl --user username:password https://myurl.service-now.com/api/now/table/sc_req_item?sysparm_display_value=true&sysparm_exclude_reference_link=true&sysparm_limit=1
I am getting this…
0
votes
1 answer
how to get ServiceNow records by date in Python API request?
I'm running this Python script request to a ServiceNow API. How can I retrieve just the records updated in the last two days?
The script is running in production that gets all records, but the number of records is growing and I don't need all of…

Chuck
- 1,061
- 1
- 20
- 45
0
votes
1 answer
How to pass multiple variables for a multi select in a request
Basically I have a request that accepts multiple values and I want to send multiple via the API for now using rest api explorer. The Software is a multiselect as shown.

MystifiedSky
- 39
- 7
0
votes
2 answers
How to run a web url Query using PowerBI via servicenow REST API with Incident field opened_at between start and end date
Can anyone tell me how to run a web url Query in PowerBI using a web URL servicenow REST API on the Incident table using field opened_at between start and end date ?
For example I have the below…

Badjjl
- 1
0
votes
0 answers
httr POST error: object of type 'closure' is not subsettable
I'm trying to pass the following body to my POST request via httr:
{
"transactionId": "55",
"IncidentNumber": "",
"customerEmailAddress": "pbi_cqd@example.com",
"customerName": "Power BI CQD Notifications",
"customerPhoneNumber":…

Alienvolm
- 143
- 9
0
votes
3 answers
Is there a way to raise SNOW ticket as notification for query failures in snowflake?
I was going through the integration documents available for snowflake & service now. But, all documents are oddly focussed on sf consuming snow data for analytics. Didn't find anything related to creating tickets for failures at snowflake. Is it…

Sayantan Mandal
- 53
- 7
0
votes
2 answers
Pysnow Usage of sysparm_query_category
As I cannot see any reference on how to use properly the sysparm_query_category, may I confirm on how did you append the sysparm_query_category in get request?
Added below line of codes. I hope someone can help and guide me as I'm new to ServiceNow.…

Lyjen Lovendino
- 1
- 2
0
votes
1 answer
Azure Data Factory: Loading large table from Service now into Blob storage, why won't ADF pull all the records from the table into a json/orc file?
So, I'm pretty new to using Azure Data Factory and I've come across some strange behavior using ADF and Service Now as a source.
Preface: I'm working with a client that uses Service Now and Snowflake. The goal is to import "larger" tables (think…

MattyKluch
- 11
- 1
- 10
0
votes
1 answer
How to extract the problem id along with URL in Servicenow
I am using the below code to update the incident work notes when Problem is associated with the incident but it is not giving the deeplink/url of the Problem id to redirect to problem. It is just displaying the problem id number.
Code…

Sri
- 9
- 2
0
votes
1 answer
ServiceNow CMDB get CI Relationships data - API
API Question for CMDB ServiceNow,
Trying to GET data from the CI Relationships tab that is within a Business AP (as presented in the UI) that falls under a business owner.
Steps:
Getting the business owner ID:
GET…

Idan Taler
- 1
- 2