Bitcoin Forum
June 28, 2024, 04:34:17 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Retrieving request information form ServiceNow via API  (Read 84 times)
elenakretova (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
March 02, 2018, 05:44:20 AM
 #1

Within our ServiceNow installation we have created a simple new Request form with two text input values. The form looks something like this:

+--------------------------------------------------------+
| Get new Computer-request                               |
+--------------------------------------------------------+
| model: <text input field>                              |
+--------------------------------------------------------+
| organization: <text input field>                       |
+--------------------------------------------------------+
At the point when another demand has been made utilizing this frame, we can recover all important data utilizing the ServiceNow table API, by questioning the accompanying tables:

sc_req_item

sc_item_option_mtm

sc_item_option

sc_cat_item

When issuing these REST calls we need to utilize a few channels to explore starting with one table then onto the next and to just get the latest things and just the demand things inside our administration inventory classification.

In a perfect world, we might want to spare the whole demand (timestamp, client, input esteems) as a JSON String inside a solitary table. Along these lines, we would just need to question this single table to recover all important data for a demand.

Does ServiceNow bolster producing/sparing a solitary JSON record from ask for frame?

Any assistance is very valued.
Sedocoindev
Copper Member
Member
**
Offline Offline

Activity: 252
Merit: 15


View Profile WWW
October 19, 2018, 07:15:10 AM
 #2

Within our ServiceNow installation we have created a simple new Request form with two text input values. The form looks something like this:

+--------------------------------------------------------+
| Get new Computer-request                               |
+--------------------------------------------------------+
| model: <text input field>                              |
+--------------------------------------------------------+
| organization: <text input field>                       |
+--------------------------------------------------------+
At the point when another demand has been made utilizing this frame, we can recover all important data utilizing the ServiceNow table API, by questioning the accompanying tables:

sc_req_item

sc_item_option_mtm

sc_item_option

sc_cat_item

When issuing these REST calls we need to utilize a few channels to explore starting with one table then onto the next and to just get the latest things and just the demand things inside our administration inventory classification.

In a perfect world, we might want to spare the whole demand (timestamp, client, input esteems) as a JSON String inside a solitary table. Along these lines, we would just need to question this single table to recover all important data for a demand.

Does ServiceNow bolster producing/sparing a solitary JSON record from ask for frame?

Any assistance is very valued.

Your question is not understandable. I would check the ServiceNow documentation which is excellent.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!