My apologies for the delay in responding. To get the default TTL for a zone you can do a GET request for a URL like the following:
https://gm.example.com/wapi/v2.1/zone_auth?fqdn=hq.example.com&_return_fields=soa_default_ttl,use_grid_zone_timer
The corresponding curl command would be
curl --tlsv1 --insecure --user 'admin:infoblox' 'https://gm.example.com/wapi/v2.1/zone_auth?fqdn=hq.example.com&_return_fields=soa_default_ttl,use_grid_zone_timer'
The value of the soa_default_ttl field is the TTL value that will be used by default for records in the zone. If the value of use_grid_zone_timer is False then the TTL value is inherited from the grid default TTL setting; if the value of use_grid_zone_timer is True then the grid default TTL value has been overridden and a TTL value set specifically for that zone.
soa_default_ttl
use_grid_zone_timer
False
True
Unlike in the Perl API, in the RESTful API there is no way to directly retrieve (or set) the grid default TTL value. There is a grid:dns object that would be the obvious place to put a field for this, but there is no such field in the latest API version (2.1, for NIOS 7.1). If you'd like a way to do this, please work with your account manager and SE to have them submit a formal Request for Enhancement (RFE).
grid:dns