Questions tagged [servicenow-rest-api]

202 questions
2
votes
1 answer

Powershell Rest API to ServiceNow Failing to Create Request

This is my first post on Stackoverflow, please let me know if my post is not formatted or submitted correctly, etc. I am attempting to use powershell to connect to my ServiceNow instance and POST a service catalog request. However, I am receiving…
2
votes
1 answer

ServiceNow Rest API Timefield

I am trying to write a Rest API client where ServiceNow Database will be polled every 10 minutes to get the Data. Below is the Url that I…
Pavan_Obj
  • 1,071
  • 1
  • 12
  • 26
1
vote
0 answers

Configuration name from SNOW - Uipath Windows

I am trying to collect the data from Service now using Uipath application. Since windows legacy is moving away, I am trying to get the data in snow in Windows. I am trying to filter the Change request number with the configuration item. Say if…
1
vote
0 answers

Publishing ServiceNow knowledge articles through the API

I am looking for a way to either create articles in a "published" state, or trigger the "publish" workflow through the REST API. I wrote a little PowerShell snippet that is creating the articles in "draft": $serviceNowCredential =…
StackExchangeGuy
  • 741
  • 16
  • 36
1
vote
0 answers

Is there a way to change the field name in the returned JSON?

I am returning a JSON payload from the ServiceNow API via a query using Postman. Currently, the name of the fields in the result are the field names from the ServiceNow table. Is there a way to "rename" the field to something different. For…
Count Boxer
  • 673
  • 3
  • 11
  • 25
1
vote
1 answer

How to get all data from table using scripted rest api servicenow?

I am new to servicenow and trying to get all the data using scripted rest api but getting blank result. Code: (function process(/*RESTAPIRequest*/ request, /*RESTAPIResponse*/ response) { //var data = []; var records = new…
Naveen Kumar
  • 1,266
  • 1
  • 21
  • 50
1
vote
2 answers

How to mock client object

I am working on writing unittest for my fastapi project. One endpoint includes getting a serviceNow ticket. Here is the code i want to test: from aiosnow.models.table.declared import IncidentModel as Incident from fastapi import APIRouter router =…
Showertime
  • 61
  • 5
1
vote
0 answers

Pull data from ServiceNow API into Snowflake

I need some reference to pull the data from Service Now API End Point to Snowflake Cloud Datawarehouse! All that I am looking for a step by step guide to Extract data from Servicenow API end point (Based on authorized API ID and Password) into…
1
vote
0 answers

SAP solution manager integration with ServiceNow

Is there a way to integrate SAP solution manager alerts with ServiceNow to create Incidents and automate this process using python? any python package/library/module which will help to automate SAP solution manager with ServiceNow?
1
vote
2 answers

REST Call to Sharepoint Online to add user to a site group not working. Either user not unique or Value not in range

I got a REST API call to our SP Online Instance that is not working in any way: Method: POST Endpoint: https://xyz.sharepoint.com/sites/ATestSite/_api/web/sitegroups(5)/users Header: Accept application/json;odata.metadata=none Content-type…
Bejay
  • 11
  • 5
1
vote
0 answers

Azure Devops Service Now - how to get CHANGE_REQUEST_NUMBER/CHANGE_CORRELATION_ID for YAML pipeline

Following the MS documentation here: https://learn.microsoft.com/en-us/azure/devops/pipelines/release/approvals/servicenow?view=azure-devops I've set up an Azure DevOps environment with the Service Now Pre-deployment check and can successfully…
1
vote
1 answer

ServiceNow data (API) to Google Cloud Platform

First of all, sorry if I don't explain everything super technical, I am doing my best. I have ServiceNow REST API (a link with credentials that pulls data daily in a JSON format). I want to use a product in Google Cloud Platform (GCP) that pulls the…
1
vote
0 answers

ServiceNow - RestApi search or filter server or CI in CMDB class

Using ServiceNow API I am trying to filter/search CI based on server name. My code is partially working but not fully. Any help would be greatly appreciated. Issue 1: I have more than 15000 server data but pagination seems not correct in my code. So…
Rio
  • 595
  • 1
  • 6
  • 27
1
vote
1 answer

ServiceNow KB in Azure cognitive services

Is there a way to integrate the ServiceNow KB in azure cognitive services? We want to use the ServiceNow KB as a knowledge base for Azure Cognitive.
1
vote
1 answer

ServiceNow table name for Asset

We are working on ServiceNow integration with our inhouse component, the need is to integrate Nuvolo Asset into the system. But from the documentation, it looks like Nuvolo is hosted in the ServiceNow platform. The ServiceNow has Table API but I…
Shankar Ganesh Jayaraman
  • 1,401
  • 1
  • 16
  • 22
1
2
3
13 14