Code samples required

Hi,

Your documents contain Examples for Text and Flag. I need example to add other types of attributes as follows:

a) Cost1
b) Duration1
c) Start1
d) Number1
Also please provide sample by renaming above fields.