How do I get the Description data from a Project form via REST
As an example, I can use /project/active to get a list of all of the active projects which does not include the description for each project. How do I include it? Are there any additional complexities to consider being that it allows HTML data in the description?
-
Official comment
Using [url]/api/project/active contains a limited set of data fields, but you can get more by appending ?modelProperties=Description. So you use [url]/api/project/active?modelProperties=Description and it will include the description field. When using modelProperties you will specifically call all data fields to retrieve separated by a comma, so if you wanted both the description and the project name your modelProperties would be modelProperties=Description,Name
A reference to this is on the following page.
Getting Specific Properties
Please sign in to leave a comment.
Comments
1 comment