Create Standard change through REST API?

ryancurrah
Kilo Contributor

Is it possible to create a Standard change through the REST API? If so can you post an example or point to a reference?

19 REPLIES 19

Thanks for the quick response. 

When we tested, it seemed like even the non-template fields are not being updated via the Table API rest call, I will do further testing on this. 

But, it would be great if we could update the non-template fields in the standard change when we make the first call via ServiceCatalog API, this would avoid overhead of making a second call. Maybe it is a limitation in the API, I am not sure how the data policy is set for standard changes. 

 

Yes you can. Anthony proposes a good starting point.



It looks like you found my favorite recommendation for third party integrations to ServiceNow - the REST API Explorer.


Rahul9
Kilo Contributor

Thank you for detailing the steps here. It looks like we would need two steps to create a change using standard change template, 1- Use the ServiceCatalog API to create the standard change & 2- Use the Table API to update the non template data required for that change. 

My question: Is it possible to override the template data while making the API call to ServiceCatalog API so that the second call to the Table API can be avoided?

In our case, we would still want to utilize the capabilities of the standard change template via ServiceCatalog API, but would want the capability to override the template data. 

Any suggestions or directions are appreciated!

nikhil_001
Tera Contributor

Hey Rahul,

We also have the same requirement and i am new to the integartion and working on the same request. Did you find any success in creating the rest api and further process.

Mohammed A Kha1
Tera Contributor

Can't we just use snc_change_rest - API available in Madrid and pass the standard change template sys_id there using the REST API? instead of Service Catalog API