In my case, I'm inserting a case into API, but I need to respect the configurations for Folder Number field, like respect the mask "Proc - DDDDDDD". Any idea?
In my case, I'm inserting a case into API, but I need to respect the configurations for Folder Number field, like respect the mask "Proc - DDDDDDD". Any idea?
Hello @adriano.mendes,
Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?
If yes please click the 'Accept' text next to the reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.
Thanks,
AHS
Please be informed that a reply has been verified as correct in answering the question, and has been marked as such. Thanks, AHS
Unfortunately, we don't have an endpoint for suggesting the next folder name like in the Web Application. It should be requested to "Legal One Product Team" so that they can analyze that and hopefully include it on the roadmap.
As an alternative you could make a request for getting the last folder by applying the following constraints:
The request would look like this:
https://api.thomsonreuters.com/legalone/v1/api/rest/lawsuits?$filter=startswith(folder,'Proc - ')&$orderby=id desc&$select=folder&$top=1
Reference: http://www.odata.org/getting-started/basic-tutorial