Users can conveniently construct CDS API scripts by using the web interface of the relevant dataset and using the 'Show API request' button to get the code.

Please make sure that you select all the mandatory fields before use the CDS API script.