Webhook Receiver Service - Fail to perform Administration API Configuration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
19-12-22 07:56 PM
Hello everyone!
I've recently followed the user guide to configure the Webhook Receiver Service available on DX (Webhook Receiver Service)
However, I'm unable to perform API calls to the Administration API exposed by the business object.
I've tried using Postman (using the collection and environment provided alongisde the utility on DX) and I keep getting this error:
I updated the host variable to the following value: http://USAZLODVW1:8181/ws/WebhookReceiver which is the Base URL for the Webservice, but it's not working.
I also tried using BP's Web API Service feature but ended up with an error as well.
Can someone please assist?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
19-12-22 11:04 PM
The host variable, in the Postman Collection, is supposed to be set to the URI of the Webhook Receiver REST API exposed via IIS. The URL you've shown above looks like a Blue Prism URI for an exposed VBO/process. The Postman Collection, and any SaaS service, will communicate with the Webhook Receiver Service REST API. The Webhook Receiver Service will then communicate with the backend Blue Prism environment via the exposed WebhookReceiver VBO.
Cheers,
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
20-12-22 04:55 PM
However, I'm only able to do so inside the machine that currently hosts the Server (it's the Management Server on BP Cloud), if I try to do it from an external computer I'm unable to.
I'm currently using Blue Prism Cloud, do you happen to know if I need to request an additional Inbound Security Rule for Port 443 in order to allow external calls to the Webhook?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
20-12-22 05:07 PM
BPC is typically pretty locked down, so you may have to request that.
Cheers,
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
20-12-22 09:13 PM
On a side note, do you happen to have a more detailed documentation for the Administration API?
I'm trying to run the endpoint /api/v1/admin/queues to create a Work Queue but I'm not sure how to provide the correct BP Environment where the Queue should be created.
Should I just run the API calls inside the Run Time Resource?
Thanks!
BEst Regards,
Guilherme
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
20-12-22 11:57 PM
The POST /api/v1/admin/queues endpoint doesn't create work queues within Blue Prism. It's just there to provide a simple mapping of existing BP work queues to unique IDs the Webhook service creates for use in the URIs. The expectation is that you will create your queue(s) using the Blue Prism Interactive Client and then use the queues endpoint to notify the Webhook service about the specific queue(s). That's why the payload for that endpoint is just:
{
"name": "[YOUR WORK QUEUE NAME]"
}
As for documentation, there's the user guide and then the Postman collection includes embedded documentation. Have you looked at that?
Cheers,
Eric
