ICEMortgageTechnology / developerconnect-dotnet-bindings

43 stars 27 forks source link

DocumentsApi UpdateDocAttachmentsWithHttpInfo not serializing to localVarPostBody correctly #10

Open cvarro opened 6 years ago

cvarro commented 6 years ago

The UpdateDocAttachmentsWithHttpInfo method on the DocumentsApi is not serializing the input parameter into the localVarPostBody into a JSON string that the Encompass API expects. It is also missing the localVarQueryParams of "action=add" to get it to work correctly.

Per the PostMan collection from developer connect, the format should looks something like this in the body

[
  {
    "entityId" : "{{AttachmentId}}",
    "entityType" : "attachment"
  }
]

I modified my local version to follow the PostMan sample for the body format and also needed to add in the query params "action=add" and it is now working for me on my forked copy.