12-20-2021 05:14 AM
We have a requirement to get all records in a zone irespective of record type with some search criteria on names using regular expression.
We tried to explore from API document and found two API’s as below .
<WAPI_URL>/allrecords?zone=info.com – Retrieve all records in a zone
<wapi_url>/record:host?name~=info.com&_return_fields=name – It will return only host records with search of name, but no zone parameter here and it stick to only host record type
Is there any way on API front to combine both queries in a single API to get all records by passing input as zone info and search criteria without sticking to only one record type.