0 vote
We need to retrieve the custom-fields of an entry via the REST-API. It seems that this is currently not possible.
Kind regards,
Kilian
grafik.png
HAL.PNG
Hello,
Thank you for your request. I'm creating a ticket in our backlog, it is something that could be done for sure. We will post back here once we have an update.
Best regards,
François Dubois
Is this feature still being worked on ?
This would help us immensely.
Best regards,
Kilian
Hello Kilian,
Sorry for the delay. Yes, it is still on our roadmap. Hopefully, we will be able to do it for our next major version planned in June.
Best regards,
François Dubois
Hey,
its actually already possible. If you just want to get the information, you have to request the Entry with its GUID. Thats how you do it in powershell.
You can find the GUID via this command:
$Entry = Get-DsEntry -Filterby "Name" -FilterMatch "ExactExpression" -FilterValue "Your Entry Displayname"
get-dsentry -entryiid $Entry.id
Example where the Custom Field 1 has something in it:
Now you can navigate to those information
Here are all the "Advanced" information, like the asset information, the custom fields and so on. But be carefull, just because you see some of the properties, doesn't mean that those are the only ones existing. You can also set other properties, if you know they are called.
For Example a Entry where no information is written:
I once made a list of how the attributes are called in the backend. I changed it in the GUI and checked afterwards, how the came out in Metainformationdata. All the basic information are in $Entry.data
But here is a list of possible attributes under $Entry.metainformationdata.metainformation:
"Contact",
"customField1Title",
"customField2Title",
"customField3Title",
"customField4Title",
"customField5Title",
"customField1Value",
"customField2Value",
"customField3Value",
"customField4Value",
"customField5Value",
"AssetType",
"Status",
"Owner",
"Team",
"Rechenzentrum",
"Rack",
"IPAdresse",
"MACAdress",
"Betriebssystem",
"Domain",
"isVirtualMachine",
"AssetTag"
I do have a function where you can change the attributes if you want to
Best Regards,
Sandro Widmann
b3a0be1a-a3ae-4092-a05d-cee633bdd0ab.png
9b5a7996-52b4-479a-9a39-7874f0d0ca24.png
259f6ed1-222d-4a31-bb3b-09a7e81b00be.png
Hello Sandro,
You're right, the information is available through our PowerShell module. However, as described in your comment, there are many properties and it's not always easy to work with them. This is why we would like to return that information in our public REST API. I think both could be useful for different use cases.
Best regards,
François Dubois
Hello,
Thank you for being so patient.
The Custom Fields properties are now available through the REST API, starting with DVLS version 2025.3.5.
We recommend that you follow the instructions on this online help page to perform the DVLS upgrade.
Best regards,
Érica Poirier