srnsw / State-Records-Search

Java version of api.records.nsw.gov.au
3 stars 1 forks source link

Inconsistent no results response #30

Closed Bockit closed 8 years ago

Bockit commented 11 years ago

Sometimes if a relationship has no results, you get the usual header XML with an empty result set. E.g.:

http://search.records.nsw.gov.au/agencies/298/subordinate.xml?page=1&size=200

Other times, you get 404 errors:

http://search.records.nsw.gov.au/agencies/1/persons.xml

Not sure if this relates to the agencies -> persons issue or if it's just inconsistent.