Technical Blog Post
How to use the REST API Get method paramaters: _includecols and _excludecols in the REST API URL?
Why I am not able to use the REST API Get method paramaters: _includecols and _excludecols in the REST API URL?
You might have tried to use the GET method of REST API parameter below. But, you are not able to achieve the desired result using them:
_includecols and _excludecols
The URL used similar with the below one.
It returns all the attributes.
Please be aware that the _includecols and _excludecols parameters of the GET Method of the REST API are ONLY valid for a business object resource
That is, these parameters can not be used for Maximo Integration Framework (MIF) object structure (maxrest/rest/os/).
As you use these parameters with the MIF object structure, that is why it does not work for you.
If you use the below URL, it should work for you:
Please read the document in the below link for details and samples.