29-09-22 10:50 AM
https://website.api/[ITEM_NAME]/
Examples:
https://website.api/blue-item/
https://website.api/red-item/
https://website.api/green-item/
I'd like to have a data item in the Blue Prism object or process that can be overwritten to replace [ITEM_NAME] in the URL format. Is this possible? I have been able to do this for parameters and headers after configuring the API (in System > Web API Services), but haven't found a solution for the base URL path changing itself.
Apologies if I have misunderstood something here, thanks.
30-09-22 10:21 AM
Hi Joe,
I am perhaps missing the point, but isn't this as simple as a Calculation stage doing this:
Replace("https://website.api/MyItemName/", "MyItemName", [Current Item])
...where [Current Item] contains "blue-item" or any of the other varieties?
Or perhaps simply:
Replace([URL], "MyItemName", [Current Item])
...where [URL] contains "https://website.api/MyItemName/", and [Current Item] contains "blue-item" or any of the other varieties?
06-10-22 02:22 AM
06-10-22 11:01 AM
07-10-22 07:08 AM