web
Modalità offline. Versione di sola lettura della pagina.
close


Registrato Fri, 11 Jul 2025 11:40:34 GMT di Chema Lopez Developer
Hi.

I would like to see a fully working CheckInFromFileSystem example in REST API.

I am using Spring Boot with a RestTemplate. I convert CheckInActionParameters to JSON but I haven't been successfull. I have tried to conver to XML with any luck either.

This is the JSON I send:
{"$type":"CheckInParameters","DocumentVersion":{"Major":1,"Minor":10},"Comments":"New Version","CheckInReturnDocument":"CheckedIn"}

This is the response I get:
The checkInModel field is required.

Thank you in advance.
 
Registrato Fri, 11 Jul 2025 11:43:21 GMT di Chema Lopez Developer

The Postman collection refers to some files that are not available:

Registrato Fri, 11 Jul 2025 11:43:54 GMT di Chema Lopez Developer
Registrato Fri, 11 Jul 2025 12:14:57 GMT di Chema Lopez Developer

I finally did.

It seems that I forgot to set the Content-type of the JSON part.

You must be signed in to post in this forum.