How to create variables associated with a Standard Change request using API

Jeff Welch1
Kilo Contributor

I am trying to use the SN API to work with and create standard changes that have a Variable Set associated with them that stores variables/info about the request. 

I have been able to locate the variables I need from the question_answer table, however, there does not, so far, appear to be  a way to populate those variables using the SN APIs.  I can query the values but cannot populate them.  I tried submitting the variables in json as part of the request to create the CHG but they still do not get populated, even though the CHG is created successfully.  Any thoughts how to create those variables outside of the UI would be appreciated.  Thank you.

6 REPLIES 6

Jeff Welch1
Kilo Contributor

Thank you suvro, 

The KB article wasn't quite spot on because the term "submit producer" didn't appear in my developer tools logs.  However, I was able to get enough info from it to produce the request that I needed in order to submit the CHG via the API, so thank you again!

Jeff

Hi Jeff,

 

Glad to know that article helped you in resolving your issue. You can share what changes you did apart from what is mentioned in the article for everyone's knowledge.

 

Thanks and Regards,

Chandra