Checkout parameters

Anything concerning integration via the REST API
Post Reply
qra
50 Posts
50 Posts
Posts: 56
Joined: Fri Oct 25, 2019 9:08 pm
Location: Poland

Checkout parameters

Post by qra »

Hi. I have a question. Is it possible to add expiration_datetime parameter to API functions checkouts_checkout_info_read and checkouts_list. It would be great if you add the other parameters as well:
  • user_id,
    block_new_file,
    checkout_datetime.
Then I will be able to check until when the document was blocked and, if necessary, ask for an earlier unblocking.
User avatar
eriggs
Developer
Developer
Posts: 17
Joined: Fri Sep 07, 2018 3:32 am

Re: Checkout parameters

Post by eriggs »

Thanks for the heads up and another great request. I submitted a patch to add the fields and it was accepted. This will make into Mayan version 4.1.5.

Best, Eric.
qra
50 Posts
50 Posts
Posts: 56
Joined: Fri Oct 25, 2019 9:08 pm
Location: Poland

Re: Checkout parameters

Post by qra »

Great news. Thanks a lot.

BTW: In the future it would also be nice if there was a function to check checkout for a particular document. Then I wouldn't have to get list of checkouts and search for the document I am interested in.
Post Reply