Questions tagged [servicenow-rest-api]

202 questions
1
vote
1 answer

Get the primary on-call person details through service now rest api

Fairly new to the service now and looking for a way where we could get the primary on call person details for that day from the rest api Looked through service now documentationwe couldn't find the endpoint details and what parameters it…
user2359997
  • 561
  • 1
  • 16
  • 40
1
vote
1 answer

Business Rule Cut out "To" and "CC" into "BCC" when send Email in Servicenow

i want to add a Business Rule in ServiceNow. When i add a new record to the sys_email table with "To"(direct) or "CC"(copied) i want before insert into the table a rule who copy the "to" or "cc" filled fields into the "bcc" filed after the submit…
1
vote
1 answer

Rest API to get selected layout/view

In CSM Contacts having views ( like Case, Customer Self Service etc ). How to identify user currently selected view in Contacts through Rest API ( for example, if user currently using the "Customer Self Service". I need to know the customer exact…
Raja C
  • 139
  • 1
  • 12
1
vote
1 answer

Get the user sys_id using REST API in ServiceNow?

I am trying to get the user sys_id by username using the SNOW REST API. But I couldn't find a way of doing it in the SNOW API doc. Is it impossible to do so or any other alternative way of doing it?
Cyclops
  • 649
  • 3
  • 8
  • 33
1
vote
2 answers

Unable to fetch service now tickets using assignment_group

I am unable to retrieve tickets from service now by matching assignment_group. I am using pysnow and using table api to retrieve ticket from service now. Below is my code : import pysnow c = pysnow.Client(instance='myinstance', user='username',…
1
vote
2 answers

Azure Data Factory REST API to Service Now - Pagination Issue

We are trying to use Azure Data Factory to pull data from ServiceNow using the REST API Connector. We have tried working with the specific ServiceNow connector in ADF but this does not perform adequately well for our purposes - we need to use…
JamesAD
  • 13
  • 1
  • 4
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
  • 618
  • 2
  • 6
  • 27
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

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
2 answers

How do I use password reset REST APIs on service now?

I want to simulate the password reset service for service now users from an external application and I have installed Password Reset - Orchestration Add-on plugin on my servicenow developer instance. Along with this I can see a list of Pwd Reset…
Rakhi Oza
  • 75
  • 1
  • 8
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

ServiceNow Rest API call

I am trying to use a between operator as below, curl -k…
Pavan_Obj
  • 1,071
  • 1
  • 12
  • 26
1
vote
1 answer

How to get latest updated record from sys_user table which is modified at or after certain time stamp in ServiceNow

I want to fetch record from the sys_user table which is updated at or after certain time stamp. for that I have created rest request…
Anand Dhage
  • 109
  • 17
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
  • 987
  • 4
  • 16
  • 46