You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,8 @@
1
-
## 2.8.2 (February 02, 2023)
1
+
## 2.8.3 (February 27, 2024)
2
+
* The component interface has not changed. This is a technical enhancement! Introduced baseURL parameter in the `Raw Request` Action's configuration of the axios library. Refer to the [Readme](README.md#raw-request) for the details.
3
+
It will not affect any of the existing integration. Instead, it gives more flexibility allowing to call other REST endpoints than the standard `/services/data`[(#82)](https://github.com/elasticio/salesforce-component-v2/issues/82)
4
+
5
+
## 2.8.2 (February 02, 2024)
2
6
* Fixed bug when component didn't use `replayId` after error in `Subscribe to PubSub` trigger
Copy file name to clipboardExpand all lines: README.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -358,8 +358,13 @@ Empty object will be returned, if query doesn't find any data.
358
358
359
359
### Raw Request
360
360
361
+
This function executes a custom REST API call request. By default, the service called is `/services/data`, which encompasses most of the services provided by Salesforce.
362
+
Alternatively, you can call any other services, such as `/services/apexrest`, by specifying the full URL instead of a relative one.
363
+
361
364
#### Input Metadata
362
365
* HTTP Verb - Allowed values GET, POST, PUT, PATCH, DELETE, HEAD, Required. HTTP verb to use in the request.
366
+
* To call services based on the `/services/data` endpoint, you can utilize a relative path, for instance, `query/?q=SELECT+Id,Name+FROM+Account`. This automatically constructs the URL as follows: `https://{your_instance}.salesforce.com/services/data/{SALESFORCE_API_VERSION}/query/?q=SELECT+Id,Name+FROM+Account`
367
+
* For calling other services like `/services/apexrest`, provide **the full URL**, such as `https://{your_instance}.salesforce.com/services/apexrest/myApexClass`
363
368
* Path - String, Required. Use a relative path to make a request (for a list of all types of objects - `sobjects`, e.g., to list the type of objects Account - `sobjects/account`). Since Salesforce sends the endpoint that must be called dynamically, there is no need to enter the base URL like this - `https://{INSTANCE_NAME}.salesforce.com/services/data/v{SALESFORCE_API_VERSION}/sobjects/{SALESFORCE_OBJECT}`. Instead, you should use a relative path - `sobjects/{SALESFORCE_OBJECT}`.
364
369
* Request Body - Object, Optional. Body to attach to the HTTP Request
0 commit comments