web
オフライン状態です。これはページの読み取り専用バージョンです。
close


投稿済み Fri, 11 Jul 2025 11:40:34 GMT 、投稿者 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.
 
投稿済み Fri, 11 Jul 2025 11:43:21 GMT 、投稿者 Chema Lopez Developer

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

投稿済み Fri, 11 Jul 2025 11:43:54 GMT 、投稿者 Chema Lopez Developer
投稿済み Fri, 11 Jul 2025 12:14:57 GMT 、投稿者 Chema Lopez Developer

I finally did.

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

フォーラムに投稿するためにはログインが必要です。