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…
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", …
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 =…
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…
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…
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…
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…
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…
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…
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 =…
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 -…
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 +=…
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…
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…
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?
Damon
  • 5
  • 1
1 2
3
9 10