I sort of gave up trying to get this to work but would like to see some code examples on how to do it using the API please as this would be great to help learn more.
@simonhenke Excellent thankyou.
What would be nice is if the Docs showed examples like the one you have shown as is would help us novices learn quicker with less frustration