The CreatorCon Call for Content is officially open! Get started here.

How to check ServiceNow instance version through REST API

ydai
Mega Contributor

Hi, I'm using table API to communicate with ServiceNow instance. Is there anyway I can get the ServiceNow instance version through table API please?

Thanks.

8 REPLIES 8

Chuck Tomasi
Tera Patron

Hi Yi,



Not through a REST API that I'm aware of. You can get the information from



https://INSTANCENAME.service-now.com/xmlstats.do



in an XML format (change INSTANCENAME) to your instance name.)



find_real_file.png


Matthew Glenn
Kilo Sage

I don't think this is 100% guaranteed to be accurate (version mismatches), but you could check the mid.version property and get an idea from there:



api/now/table/sys_properties/8bc10c8f13302200734530128144b0a7



Screen Shot 2017-02-02 at 11.27.42 AM.png


Thanks. Unfortunately I don't use MID server. There is no such a record in my sys_properties table.


Apparently there are a few additional properties that may give you what you need. Do you have any of the following?



You could use the same api, just swap out the sys_id. Should get you the same general info.




Screen Shot 2017-02-02 at 1.19.35 PM.png