We are trying to use the new RESTClient object to call some internally developed REST services (Appeon Powerbuilder 2019 R2 Build 2328)
This REST service requires several parameters that acts as filters for the actual data retrieval. Because of this, we have to pass a JSON string as part of the REQUEST BODY to the "GET" REST service.
For example, the REQUEST BODY would contain something like this:
[
{
"soldToCustomers": [
{
"customerID": "000001"
}
],
"documentDateFrom": "2019-01-23",
"documentDateTo": "2019-05-25",
"salesOrderStatus": "ALL"
}
]
Does the RESTClient object allow us to attach a REQUEST BODY to the GET function (either the Retrieve method or the SendGetRequest method).
Or does the RESTClient only accept "Path Parameters" right now?