How to create and update ticket using REST API?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2014 03:52 AM
Hi All,
i'm trying to create a ticket and update the ticket using REST API.
i'm able to create a ticket in incident table using HttpPost class.
when i try to update the ticket using HttpPut class.
it throws an error saying that "PUT Method not supported for API".
How to update the ticket in incident table?
Please help me.
Thanks in advance,
Regards,
Rajesh
@
- Labels:
-
Service Mapping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2014 04:51 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2014 05:23 AM
Hi,
Please take a look at these if you haven't:
Running a REST query to populate a table
If these could help please let us know.
Regards,
Ayan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2014 05:24 AM
Hi,
I have seen Table API examples.
i'm using latest apache httpclient-4.3.6.jar in my project.
i cannot use any other httpclient.jar in my project.
The latest apache httpclient.jar doesn't have PUT,PATCH,Delete Classes.
so, i'm using HttpPost class to create a ticket and i'm trying to update ticket using HttpPut class.
when i try to update the ticket using HttpPut Class.im getting error like "PUT Method not supported for API"
will it be possible to integrate service now with latest apache httpclient-4.3.6.jar?
Please help me.
Regards,
Rajesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2016 01:02 AM
Hello Rajesh,
I want to do the same think, create and update ticket with REST API. Can you help me please if it work for you?