Response object
[ { "object_name":"leave_type_id", "type":"Int32", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"name", "type":"String", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"code", "type":"String", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"colour", "type":"String", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"deduct_allowance_id", "type":"custom", "is_nullable":false, "nest":null, "custom":[ { "name":"no", "value":"0" }, { "name":"yes", "value":"1" }, { "name":"no hours only", "value":"2" }] "note": }, { "object_name":"requires_approval", "type":"Boolean", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"consecutive_duration", "type":"minute(int32)", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"notes_visible_to_id", "type":"custom", "is_nullable":false, "nest":null, "custom":[ { "name":"staff", "value":"100" }, { "name":"approver", "value":"200" }, { "name":"super user", "value":"300" }, { "name":"super user with staff hub", "value":"310" }] "note": }, { "object_name":"available_to_id", "type":"custom", "is_nullable":false, "nest":null, "custom":[ { "name":"staff", "value":"100" }, { "name":"approver", "value":"200" }, { "name":"super user", "value":"300" }, { "name":"super user with staff hub", "value":"310" }] "note": }, { "object_name":"seen_by_id", "type":"custom", "is_nullable":false, "nest":null, "custom":[ { "name":"staff", "value":"100" }, { "name":"approver", "value":"200" }, { "name":"super user", "value":"300" }, { "name":"super user with staff hub", "value":"310" }] "note": }, { "object_name":"min_notice_period", "type":"minute(int32)", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"cancellation_period", "type":"minute(int32)", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"include_department_level", "type":"Boolean", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"note_required", "type":"Boolean", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"email_request_id", "type":"custom", "is_nullable":false, "nest":null, "custom":[ { "name":"none", "value":"0" }, { "name":"staff approver notifier", "value":"1" }, { "name":"staff only", "value":"2" }, { "name":"staff approver", "value":"3" }, { "name":"approver only", "value":"4" }] "note": }, { "object_name":"email_approve_id", "type":"custom", "is_nullable":false, "nest":null, "custom":[ { "name":"none", "value":"0" }, { "name":"staff approver notifier", "value":"1" }, { "name":"staff only", "value":"2" }, { "name":"staff approver", "value":"3" }, { "name":"approver only", "value":"4" }] "note": }, { "object_name":"email_cancel_id", "type":"custom", "is_nullable":false, "nest":null, "custom":[ { "name":"none", "value":"0" }, { "name":"staff approver notifier", "value":"1" }, { "name":"staff only", "value":"2" }, { "name":"staff approver", "value":"3" }, { "name":"approver only", "value":"4" }] "note": }, { "object_name":"status_id", "type":"custom", "is_nullable":false, "nest":null, "custom":[ { "name":"disabled", "value":"0" }, { "name":"active", "value":"1" }] "note": }, { "object_name":"staff_url", "type":"String", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"staff_note", "type":"String", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"approver_url", "type":"String", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"approver_note", "type":"String", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"message", "type":"String", "is_nullable":false, "nest":null, "custom":null "note": } ]