Questions tagged [servicenow-rest-api]
140 questions
1
vote
1 answer
curl authentication with ldap credentials
I am trying to connect to servicenow server with curl which uses ldap authentication.
my command:
curl -ntlm -u user https://my.service-now.com/api/now/table/incident
Then I got:
Enter host password for user 'user':
{"error":{"message":"User Not…
![](../../users/profiles/1125996.webp)
Roman Kaganovich
- 605
- 1
- 6
- 24
1
vote
1 answer
ServiceNow Rest API Call Using Chrome Extension
How is it possible to perform the below query with 'user B' while being logged in as 'user A' and not exiting 'user A' session?
var settings = {
"async": true,
"crossDomain": true,
"url": "www.url.com",
"method": "GET",
…
![](../../users/profiles/10894842.webp)
AntonJ
- 11
- 1
1
vote
0 answers
ServiceNow integration with C# and dotnet core application
protected void Button1_Click(object sender, EventArgs e)
{
//Incident Service
IncidentService.ServiceNowSoapClient soapClient = new IncidentService.ServiceNowSoapClient();
soapClient.ClientCredentials.UserName.UserName =…
![](../../users/profiles/2197134.webp)
MAK
- 21
- 7
1
vote
0 answers
Integrating servicenow with onedrive.while try to get OAuth token for onedrive getting invalid scope error
I did the Microsoft app registration to get the client id and secret key.
Then I created the OAUth application registry in ServiceNow. Then I try to get the OneDrive access token in ServiceNow it throws me a invalid scope error.
How could I go…
![](../../users/profiles/10491410.webp)
RAMESH RAJAN
- 11
- 1
1
vote
3 answers
Service now announcement 500 (Internal Server Error)
In service now I'm getting this error on the console for each request can anyone tell me what exactly the problem is and how can I get rid of this...
here is the error:
https://ven01234.service-now.com/api/now/sp/announcement 500 (Internal
Server…
![](../../users/profiles/6382509.webp)
Mr world wide
- 3,879
- 6
- 34
- 77
1
vote
1 answer
Dialogflow actions-on-google: Unable to make Rest api calls before setting the response
Using nodejs I am trying to make a external Rest API call. I have to first make a call and then set the response for the intent.
But when I am trying to do that it expects a Response to be set before i get the response from my API.
Using the V2…
![](../../users/profiles/9332127.webp)
Rahil B Rasheed
- 129
- 1
- 7
1
vote
1 answer
Is it possible to make ServiceNow REST calls using SSO?
I am using ServiceNow REST API calls to get ServiceNow records inside my application. My application takes username,password and domain url of their servicenow account from the user to do this. I have this situation where one of my client uses…
![](../../users/profiles/3778710.webp)
Jerry
- 840
- 1
- 13
- 36
1
vote
1 answer
ServiceNow Rest API call
I am trying to use a between operator as below,
curl -k…
![](../../users/profiles/9362137.webp)
Pavan_Obj
- 829
- 7
- 18
1
vote
1 answer
Servicenow Rest API call to check if credentials are valid
I am calling ServiceNow Rest API for tables in my application. I allow the user to enter their servicenow instance credentials and domain url in my application.
I want to know if there is a Simple API call which I can make to ensure that the…
![](../../users/profiles/3778710.webp)
Jerry
- 840
- 1
- 13
- 36
1
vote
1 answer
Getting Display value of cmdb ci ServiceNow using Python
I have a code where I need to fetch CMDB Details from servicenow using python
import pysnow
import subprocess
import os
s = pysnow.Client(instance='test', user='admin',
password='test',request_params={'sysparm_display_value': 'true'})
r =…
![](../../users/profiles/5656467.webp)
Anti21
- 686
- 1
- 5
- 13
1
vote
1 answer
2 Business Rules calling at the same time when incident created
I am facing an issue in servicenow Business rules. I have 2 business rules which has to trigger when
When an incident created
When specific fields of an incident updated
While creating an incident I'm setting some default values say State -…
![](../../users/profiles/3415862.webp)
ImGenie
- 293
- 1
- 14
1
vote
1 answer
How to download CSV using REST API?
Here's a REST API that I am trying for downloading data as CSV file.
(function process(/*RESTAPIRequest*/ request, /*RESTAPIResponse*/ response) {
var data = '\n'; // workaround to separate start tag on first line
data +=…
![](../../users/profiles/1440057.webp)
Nikhil Vartak
- 4,510
- 3
- 21
- 29
0
votes
0 answers
Service Now upload attachment using java httpUrlConnection rejected large rest payload error
I am getting the below error while uploading attachment for an incident in service now.
"error":{"detail":"Rejected large REST payload with content-length = 13011091 bytes. Max allowed: 10485760 bytes.","message":"Exception while reading…
![](../../users/profiles/11761090.webp)
microgu
- 1
- 1
0
votes
1 answer
Unable to capture http result request headers
good afternoon,
I’m working on an integration of UiPath with ServiceNow and I would like to know how I can use the result of the HTTP request:
“{“result”:[{“u_bot_ip_name”:“teste…
![](../../users/profiles/9688044.webp)
Rafa3lOneiL
- 87
- 10
0
votes
0 answers
Is it possible to modify the response of ServiceNow Virtual Agent Rest API?
I'm using Rest API (/bot/integration) to interact with Servicenow Virtual Agent. I'm getting the response on the configured URL, but I want to include the intent/model name in the response. Is it possible to do so?
![](../../users/profiles/15525199.webp)
Damon
- 5
- 1