Function to get and update Price Book discounts

Function to get and update Price Book discounts

I have setup a price book in Zoho CRM with flat model and two discount levels in pricing details.  There are some products associated with this price book.

I want to access the discount levels using the following function.  It shows the price book fields correctly, but doesn't show the discount info or the associated products info. 

PriceBookData = zoho.crm.getRecordById("PriceBooks", input.PriceBookID);
info PriceBookData;

How to read and write price book discounts using deluge script?

And how to read and write list price of products included in a price book using deluge script?

Thanks.