How to get lock information in .net-client?


Im working with .Net client and I need to get lock information from a document. Im requesting that info with an operation:

operation = client.Operation("Repository.Query")
                                .SetParameter("query", "SELECT * FROM PartItem WHERE item:PartName = '" + name + "'")
                                .SetSchemas(new string[] { "*" })
                                .AddHeader("X-NXDocumentProperties", "*")
                                .AddHeader("fetch.document", "lock");

The search works great, but there is no info about lock. In the properties list there is nothing about lock. type an image title

I try to make similar query with postman and the response has the lock info.

What is the way to retrieve lock info with .net-client?

Thank you!

0 votes

0 answers