- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-07-2018 05:19 AM
Dear all,
Hello,
I simply need to place an order from Service Catalog by using SN REST Api,
The client is a chat bot
- the customer want to get its list of available assets in given category ( ex : computer).
- From the list of return assets, he will decide for instance to by a certain type of computer
- Then an order will be place and created for the item in order to place that Computer order with all details.
- The all information of created order should be send back to customer as part of web service response
Could you please describe more clearly :
- Which REST API tables will be used in order to complete the request and how many request should be send ?
( I have seen that order create a Request and Request Item in task table and then a link to sc_req_item table)
- How to return to client a formatted return response with collection of placed order information ? is it native or need to create custom web service to merge data in a single response ?
Thanks for help on this
Solved! Go to Solution.
- Labels:
-
Integrations
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-07-2018 08:00 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-07-2018 08:00 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-07-2018 07:11 AM
So you can use catalog api and chat api for this:
and then you can inject those values in your chat conversation. For that see this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-07-2018 07:18 AM
I could not see the catalog service API in REST API explorer, is it present ?
Next is that I have no issue to collect asset in a given category but the goal I am try to get at the end is the following :
1- Imagine user connect to chat and said " I would like to order a computer"
At this type I would like the REST API to look for items in catalog which are in category computer .
How do I know from the chat message that order is not a category but computer is ?
I try to create a full order path from a chat bot kind system
Ayn idea ?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-07-2018 07:22 AM
I guess you can do this by making a connect action but it would be a static option for some catalog items. In that, you can use catalog api and its different from rest api. You don't need to use rest api.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-07-2018 07:47 AM
sorry did not catch your idea.
I am new to this process and need to build a study pilot
can you clarify each steps if you do not mind, would be helpful to me
regards