Questions tagged [servicenow-rest-api]

202 questions
0
votes
0 answers

Encrypting Password parameters in Powershell for GET request to ServiceNow

has anyone found a good solution to encrypting the password parameters in Powershell for ServiceNow API? This is the default version : `$user = "admin" $pass = "admin" # Build auth header $base64AuthInfo =…
0
votes
1 answer

How to get servicenow survey responses using api

How can we get the servicenow survey questions and responses using API? I need to get all the responses for a survey I created including the question, answer and the ticket number. I tried to get the responses from asmt_metric_result table, got the…
Bemgi
  • 1
  • 1
0
votes
0 answers

have no error info when call servicenow token api via logstash

have no error info but failed when call servicenow token api via logstash. It was working in postman.error info pic postman pic configuration file pic any dalao know how to fix it please?
Allen Wu
  • 1
  • 2
0
votes
0 answers

Rest API - GET request help - Need help in constructing a URI with parameters

I am new to constructing Rest API GET queries. Need help in GET request of Rest API by passing the fields in sysparm_fields. I trying to query a Table via Rest API URI by passing only a limited number of columns of the table using…
Sathya
  • 29
  • 1
  • 8
0
votes
1 answer

Servicenow requirement UI button

When I click on UI action button, it should pop-up a custom dialog box and it should show some fields getting from incident_task. After this by clicking a confirm UI action button, it should create a new record/task. how can this be done with…
0
votes
0 answers

How to copy attachment from Slack channel to ServiceNow

I am working on integration between ServiceNow and Slack. Can someone help how to copy files/attachment added in Slack channel to ServiceNow ? Is this possible using attachment api available in ServiceNow ?
0
votes
0 answers

ServiceNow - Is it possible to connect a single Email to two ServiceNow instances?

I have an inbound Email action setup in a ServiceNow instance, however not all Emails sent by users to that Email address should be handled by that ServiceNow instance. Is it possible to create an inbound Email action for the same Email address on a…
Mike-S122
  • 189
  • 3
  • 14
0
votes
0 answers

How to send attachments from ServiceNow to Slack using REST Api?

I am working on ServiceNow and Slack integration. I tried using https://api.slack.com/methods/files.upload and files.remote.add method but no luck. can someone help how we can post Attachment from ServiceNow to Slack and vice versa ? Thankyou I…
0
votes
0 answers

How to upload .txt file to server in service portal serviceNow?

I tried to upload the the .txt file using service Portal ServiceNow? can any one help with the same?? Null File get uploaded and it is not showing on u_table_name record also.
0
votes
1 answer

Create a GlideAjax call from a client script to a script include

I need assistance with a project task. I'm new to ServiceNow and I get a little confused. I'm supposed to use a GlideAjax script for the response below. The logic is When the due date on an Issue record changes, send that date to the server side…
0
votes
0 answers

How can you add an Approve/Reject button to User Manager Timecard Widget within a Dashboard of ServiceNow?

How do I add an approve/reject button to a timecard widget on a dashboard? The stakeholder would like to place it in its column before the "Week starts on." Only the manager of that user should see the approve or reject button. This is beyond my…
db_snow
  • 1
  • 1
0
votes
0 answers

Change state of a Change Request to Review state when Downtime is set to Yes

I want to change the state of a Change Request in ServiceNow from Implement to Review using an API call from a python script. This is working if the DownTime is No, but if it is yes I am not able to change the state as it requires us to update…
0
votes
1 answer

How to use scripted rest api in ServiceNow to import data from an external tool

I need to know how I can use scripted rest api to import data from an external tool into a serviceNow table and I need to know if it's an inbound or outbound integration . Thanks in advance.
AliDbouk98
  • 13
  • 3
0
votes
0 answers

Latest file import and move exiting to another folder by Powershell

I am using PS script to import file to servicenow and want your expect help with some tweak with below: Sample using currently in PS: # Specify endpoint uri $uri =…
0
votes
1 answer

how to get know user has access to particular table in servicenow instance using rest api request

I want verify supplied user has access to os_list, Core_manufacturer and CMDB_cI_Computers table in servicenow instance using rest api call.