Hi,
I've created a custom connector to connect Power Automate (Flow) with NetSuite using OAuth2.0
According to NetSuite KB, to read, update, and delete a record, the record ID needs to be included in the URL.
For example:
- To get an employee record 107:
GET https://demo123.suitetalk.api.netsuite.com/services/rest/record/v1/employee/107
- To update an employee record 107's firstname with "John":
PATCH https://demo123.suitetalk.api.netsuite.com/services/rest/record/v1/employee/107
BODY { "firstname": "John" }
- To delete customer record 107:
DELETE https://demo123.suitetalk.api.netsuite.com/services/rest/record/v1/employee/107
As you can see, record 107 is included in the URL and not a POST/GET/PATCH parameter.
The question is, how can I create a custom connector definition that accepts the last path of the URL as the field/variable that can be entered during its usage as a parameter?