I'm filtering on entity type in an autocomplete API call. I was calling the API filtering on entity type = 16 to retrieve organizations. However the numbers just changed when DDS-Test was rebuilt. Can I rely on the code as a fixed number or will it change from time to time?
The entity types are liable to change and will be different between dds and dds-test. You should retrieve the entity types via the /entity/types API call and search for the name.