REST api inbound request payload
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2016 09:11 PM
We are integrating with a vendor using OOTB REST API. We want to fetch the inbound request and change the values before incident is inserted . For example state,impact,priority. We want to loop the field and values into our mapping table and get the proper value for the field in our instance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2016 09:46 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2016 10:17 PM
No way to use OOTB rest api and play with the payload?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2016 10:33 PM
Only in business rules. In there you could check if the update is not from active user then it will be through some web service or transform maps.
if(!gs.isInteractive()){ //update is using web service call
// update values from mappings table
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2016 10:39 PM
in the business rule i need to do like
current.state="my state value";
is this rite?