REST API to send records details
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2019 12:15 AM
Hi All,
I need help with REST API . i'm trying to establish communication with monitoring tool.
when state of change request changes to "implement", i need to send that record information via REST to monitoring tool.
i need to send variables in this format.
<Task_type>, <CHG Ticket number>,<Start time in UTC>,<End time in UTC>,<CHG short description>,<CHG requestor (firstname.lastname)>,<CI list separated with a delimiter>
i tried with REST API Explorer using POST and getting result as below. But what i actually need is
1.The <task_type> i need to add values manually like "ADD" or "DELETE"
2. Add CI list separated with a delimiter <CI list separated with a delimiter> , we have related list called "affected CIs" for change_request, i need to get the values from this related list to populate in the response , separate with delimiter.
response example : 'ADD,CHG0123456,20190607152055,20190607162055,system down,nisha.rahul,host1;host2;host3'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2019 11:40 PM
Hi Harshvardhan,
i need to provide values to other system , which is suitable method in this case post or get?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2019 01:58 AM
are you consuming scripted rest API in other system ? if yes then you can use get method here.