Closed adammcdonagh closed 4 years ago
Investigating further, it looks like Jersey 2 doesn't allow entities in the request body anyway....
@adammcdonagh thank you for trying out this beta version! You're right Jersey2
Invocation.Builder
doesn't support request body in delete methods and unfortunately this DocuSign API requires it.
I'm working on a fix that should go out as part of 3.8.0-BETA release that is coming out in the next days.
Until then if you wan more details about the bug you can look at Swagger Codegen Jersey2 template.
c.c. @gsnavin
@adammcdonagh I fixed this issue in 3.8.0-BETA and added a real test case for that. Is it possible to upgrade to it and double-check on your end?
Version 3.8.0 has been just released. Please upgrade to get the fix.
Hi, It appears that any calls to DELETE endpoints do not pass any body in the request. This causes issues with the
SigningGroups::deleteUsers
endpoint for example, where the body of the request needs to be the list of users that are being deleted. - As detailed here: https://developers.docusign.com/esign-rest-api/reference/SigningGroups/SigningGroupUsers/delete#exampleshttps://github.com/docusign/docusign-java-client/blob/f3bd647f29984f28bb92bd8335ae1f10fc56cc6b/src/main/java/com/docusign/esign/client/ApiClient.java#L1362
As is, this call to the API produces the following output:
As you can see, there is no content being sent.