Questions tagged [servicenow-rest-api]

202 questions
0
votes
1 answer

Unable to get response from GlideRecord servicenow-rest for ticket update

I am using Node.js and var GlideRecord = require('servicenow-rest').gliderecord; for creating and updating a ticket in ServiceNow. I am able to create a ticket through node code and getting the sys_id but I am not able to close the ticket. I am not…
0
votes
1 answer

How can I create a Change Request or Incidents in service now using Java or Xquery or any other script?

I want to create change request using scripts and not from the GUI page. How can I achieve that ? Also, there is a single sign on check of my organization too.
bosari
  • 1,922
  • 1
  • 19
  • 38
0
votes
1 answer

Update Cmdb_ci table of one instance with respect to update of another servicenow instance

We have a requirement in which we want to update the cmdb_ci table of one instance of ServiceNow with respect to the create or update in the cmdb_ci of another instance. If someone creates or updates the ci in instance 1 the same should get…
Amit Gujarathi
  • 1,090
  • 1
  • 12
  • 25
0
votes
1 answer

Extract Response Data from Invoke-RestMethod

I have this piece of code which creates a new ticket in ServiceNow $Response = Invoke-RestMethod -Uri $URI -Credential $SNowCreds -Method Post -Body $body -ContentType 'application/xml' Write-IntoLog $Response.result The output is stored in…
NottyHead
  • 181
  • 4
  • 18
0
votes
1 answer

Service now attachments are not showing up

I'm using service now api https://xyz.service-now.com/api/now/attachment/file api for attaching files to the incidents. Files are getting attached to the incident in activity section but not showing up in the Manage Attachments section. How do I…
Raju Vadnala
  • 70
  • 1
  • 12
0
votes
0 answers

Seeing Facebook page through a test user

I want to integrate a Facebook page to ServiceNow. I created a page with my personal account and an app on developers.facebook.com to extend my access token for 60 days. I made the REST connection successfully and was able to pull the posts and…
0
votes
1 answer

Pysnow - How to do an update record by based on something other than by only text-value?

I have the following problem. I've written a program on Python to be run on a web-page which enters records into ServiceNow. I work in a help desk and for example automating password resets would be a huge help. I can create these records through…
Ilmari Kumpula
  • 831
  • 1
  • 10
  • 18
0
votes
1 answer

Deserialize this JSON string

I always get the error: Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'System.Collections.Generic.List`1[Test.Form15+results[]]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly. To fix…
0
votes
1 answer

Exception while getting data from Service Now using Rest API (Table API)

I am using ServiceNow Table API - JAVA to fetch data (GET request). I am following the example provided in the below service now wiki link: URL: http://wiki.servicenow.com/index.php?title=Table_API_Java_Examples#gsc.tab=0 I am getting "…
Sachin
  • 2,087
  • 16
  • 22
-1
votes
1 answer

Can we pull data in servicenow ui from a external data source/api?

Can we pull data in servicenow ui from a different data source/api?
-1
votes
1 answer

Facing issue 401 unauthorized when getting the servicenow access token

i am getting an unauthorized issue while getting the access token from servicenow in eclipse java but it works fine in postman and the java code is works fine for the another servicenow credentials how to fix it can anyone help me on this
-1
votes
2 answers

Azure Integration with REST API servicenow

Guys in my previous attempt i have Integrated Servicenow with Azure DevOps, where based on the tickets generated in service now, work items are created in VSTS Board. For e.g. Incident(ticket in service now) is created with details, we would create…
-1
votes
1 answer

How to create servicenow request item through mail

create servicenow request through mail. I tried to create Incident from my mail box sending a mail to servicenow mail id but i need to know how we can create service-now request item ticket through mail? Below is the mail i used and incident created…
Jeyavel
  • 2,974
  • 10
  • 38
  • 48
-1
votes
1 answer

service-now configure ui action button with name service-now -I "Move to Next state"

service-now -I want to configure UI action with name Move to Next state so that i could change process flow with clicking on button "Move to next state"
Radhe
  • 1
-1
votes
1 answer

It is possible to send value as millisecond in DateandTime dataType fields

How do i send millisecond(1568895389) value for date and time Datatype field values using RestAPI in servicenow
Moni
  • 1
  • 1
1 2 3
13
14