- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-28-2017 12:55 AM
Hi,
I am using REST API (from a SOAP UI tool) and want to update an incident using incident number only and not sys_id.Please help
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-28-2017 04:28 AM
Have you set number as coalesce on your transform map?
Can you please show how you have send the second request from REST API, How you passed the number?
Thanks
Please Hit like, Helpful or Correct depending on the impact of the response
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-28-2017 01:08 AM
Hi Neha,
You will have to use an import set table for this with coalesce as the number field. Once you setup import set table, the incident can be updated using number with the post method.
Thanks
Please Hit like, Helpful or Correct depending on the impact of the response
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-28-2017 01:50 AM
Can you please guide how should I do this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-28-2017 01:53 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-28-2017 01:56 AM
Create a new import set table from System Web Services -> Inbound -> New. Select you target table as Incident, check copy fields from target table, check create transform map and create your new import set web service. Open the related transform map and then select the number field as coalesce.
Once you have done so, go to REST API explorer and select Import set API instead of Table API and the new import table which you created. Use Post to create a new incident, Run Post second time by providing the number field to update the incident.
Try these steps and let me know if you are stuck anywhere.
Thanks
Please Hit like, Helpful or Correct depending on the impact of the response