I have successfully created a custom connector for business central and am able to run GET and POST requests without issue, however I receive the following error when attempting a PATCH request:
{ "error": { "code": "BadRequest_MethodNotAllowed", "message": "'PATCH' requests for 'JobTasks' of EdmType 'Collection' are not allowed within Dynamics 365 Business Central OData web services. CorrelationId: 54147e03-7d2f-4eb1-9b4a-acab95a233c3." } }
Here's a screenshot of what my definition looks like - as you can see the eTag for the record I am attempting to update is being passed in the header and has been formatted properly with \-escapes removed.
Additionally, if I change the If-Match etag to the improperly formatted value (W\/"JzQ0O3JaQjNzZFo0eGUyVVppV1lBdFg1QUpIOTRmS2g2NUE1UVlHYm82LzJ3czg9MTswMDsn\") I get a different error:
{ "error": { "code": "RequestDataInvalid", "message": "Request data is invalid." } }
Any advice? I've spent several hours sifting through similar issues but still seem to get the EdmType Collection error.