- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-03-2015 02:44 AM
Hi All,
Am new to ServiceNow and in the process valuating it.
Here my requirement is I need to create a new incident with the Java code.
Can anyone help me with the API Java code to create new incident on ServiceNow?
Thanks in advance
Chitra
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-03-2015 03:02 AM
Hi Chitra,
There is example java code here:
Table API Java Examples - ServiceNow Wiki
3.2 POST
..
Does that help answer your question?
Best Regards
Tony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-05-2015 05:33 AM
Hi Tony,
As we are able to access the URL https://dev13051.service-now.com/ from browser but when I am trying to access the complete URL from HTTP Client then its giving me the connection time out error.
I think already 443 is open for browser.
Could you please suggest on this.
Thanks
09890023363
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-05-2015 05:38 AM
Hi Shiv,
It could be a proxy is defined for your browser that allows access to the Internet.
In any case you should explain to your IT department that you require that non-browser traffic, in this case a java app, can access host dev13051.service-now.com on port 443 - and perhaps other hosts too.
Best Regards
Tony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-10-2021 08:32 PM
The link provided by you is not functioning,, please can you share the code snippet to create the incident. Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-03-2015 03:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-09-2015 07:35 AM
Hi Tony,
Now I am able to create/delete incident through API code.
Is there a provision to assign this incident to a particular user/user group through API code?
Is it possible to add some mandatory/necessary field value to a particular incident while creating it through API code ?
Thanks in advance
Chitra