TechNow Ep 49 | Faster Integrations with the REST API Explorer

Chuck Tomasi
Tera Patron

expert-logo-2.png

Find out how the REST API Explorer can speed up your integrations development. While we've used the REST API Explorer as a debugging tool in several previous episodes, we've never really sat down and shown you what it can do.

Quick tip: Preparing your scripts for multiple languages

 
(Be sure to change your YouTube Setting to 720HD)

Ask your questions below on this discussion page.

And Please Let our Experts know how they've helped! Comment Below!

GitHub repository used in the quick tip: https://github.com/chucktomasi/TN49-QT.git

Originally aired April 26, 2018


Featured Experts

find_real_file.pngChuck Tomasi is a Sr. Technical Program Marketing Manager for ServiceNow.   He is a computer science major with over 35 years of IT experience. As a former ServiceNow customer, Chuck won the first Innovation of the Year Award at Knowledge 10. Since joining ServiceNow in 2010 as a Technical Consultant, he has done many large scale ITSM implementations and custom applications, acted as an adjunct instructor for Education Services, created and lead the Technical Best Practices program, makes appearances on Live Coding Happy Hour, created dozens of fit for purpose custom applications, and co-hosts the ServiceNow series "TechNow".

find_real_file.pngDave Slusher has been developing software for 20 years for companies such as Intel, Orbitz, Dell Secureworks and many startups lost to history. He has been with ServiceNow for two years, first in Expert Services and now as the Developer Evangelist for the developer community and portal. He earned his BS from Georgia Tech and his MS in Computer Science from the University of Louisiana - Lafayette.

find_real_file.pngKreg Steppe is a Senior Curriculum Developer within ServiceNow developing and supporting cloud training infrastructure. He specializes in developing integration solutions, automating repeatable processes and Cloud Management in ITOM. Kreg's prior experience includes operating his own ISP, developing web applications in PHP, network integration, managing network support, Application Development on cloud based networks, DNS and email server maintenance. He is a Linux enthusiast and enjoys Photography.


10 REPLIES 10

jboiteux
Kilo Expert

Is it possible to do a REST GET and obtain the response in a different language?

I don't think so.  You could make a scripted rest api that looks for a translation of the value but nothing oob that I know of.

Interesting question. Have you tried using the REST API Explorer while impersonating someone with a non-English language. Theoretically, it's honoring the ACLs of the authenticated user, so it may grab the language on the returned results (assuming you are returning display values). See the sysparm_display_value setting in the REST API Explorer and set it to true or all.

I just impersonated someone with Spanish as their language setting and the REST API Explorer brought up translated labels when I used sysparm_display_value=all (or true).

 

   "active": {
      "display_value": "FALSO",
      "value": "false"
    },

I'd be interested in this one too. Does anyone have an answer maybe?