Java Code to create a Standard Change Ticket?

hemantdindi
Kilo Contributor

Hello Community,

I have a requirement where I have to create a standard change from a Java Program.

Can someone help me here?

Thanks,

Hemant

3 REPLIES 3

SanjivMeher
Kilo Patron
Kilo Patron

Where do you want to write the Java Code?



If it is external, you may need to expose a web service from ServiceNow and Send request to that web service API from your Java Code with values you want to populate.



Please mark this response as correct or helpful if it assisted you with your question.

Chuck Tomasi
Tera Patron

HI Hemant,



The easiest way is going to be to use a REST API call. I recommend starting here.



Docs: Outbound REST web service


Docs: REST API Explorer


Docs: REST API



The REST API explorer will help you build the proper end points and headers.


varunp
Tera Guru

I am in the same situation. Do you have any sample code to create standard change through record producer from outside?