Publicado Thu, 22 Feb 2018 09:50:48 GMT por Jerome Minot Consultant

Hello,

Sorry for my English.

I am a beginner in programming, I tried to call a web service for the validation (see attachment) of the fields during storage in C #. I created a project "MVC Web Application" as on the link "http://www.c-sharpcorner.com/UploadFile/0c1bb2/creating-Asp-Net-web-api-....

From the browser or the "postman" extension, the web service is working properly. On the other hand since Docuware, I have a 400 error (bad request) that I can not correct.

Can you help me please?

my tests are on a virtual machine with a windows server 2016 and DW12

 

Thanks

 

https://www.docuware.com/sites/default/files/forums-images/2018-02-22%2011_48_01-Configurations.png

Publicado Thu, 22 Feb 2018 14:52:14 GMT por Joe Kaufman Bell Laboratories Inc Senior System Architect

Jerome,

If you are using C#, have you tried using the NuGet DocuWare API packages "DocuWarePlatformAPI"? More on that can be found here:

http://help.docuware.com/sdk/platform/html/66b2ed1e-2aef-452a-97cd-5014bbf0242b.htm

Using that package in .NET is by far the easiest way to utilize the RESTful API (Platform SDK).

Can you try that methodology and see if you can get connected and get a list of file cabinets back? That would mean you are up and running and just need to explore the DocuWare objects presented in the API package until you find how to do whatever you need doing.

 

Thanks,

Joe Kaufman

You must be signed in to post in this forum.