Rest API and Variable Set

stevenm
Kilo Guru

I'm trying to reference a variable set variable in a Rest API call.   Is that possible and, if so, what's the syntax?

1 ACCEPTED SOLUTION

Chuck Tomasi
Tera Patron

Hi Steve,



I don't believe this is available with the standard table API. You will have to create your own scripted REST API to accomplish this.


View solution in original post

5 REPLIES 5

Chuck Tomasi
Tera Patron

Hi Steve,



I don't believe this is available with the standard table API. You will have to create your own scripted REST API to accomplish this.


Okay, thanks.   I'll find a different way, maybe with Scripting.


Actually, it's possible but when you refer variables set only the first result on the response body will show you the values and variables set. Through the  Retrieve records from a table  (GET) you will get only the first result in the response body. If you go through the Retrieve a record (GET) you can place the sys_id at the end of the URL .

Actually, it's possible but when you refer variables set of a catalog only the first result on the response body will show you the values and variables set. Through the  Retrieve records from a table  (GET) you will get only the first result in the response body. If you go through the Retrieve a record (GET) you can place the sys_id at the end of the URL .