API - Add integer duration field