I have tried a number of things to handle this but none have worked. In the attached example I simply have a tXMLMap that pushes the response body and code to the tRESTResponse. If a record is present it works and returns the correct response and code. If no records it always returns a 404 not found. Is this how it is supposed to behave? Mike
Re: tRESTResponse returning 404 when no records found
Yes it is. Please keep in mind a RESTful web service delivers a document representation of an object and if you try to read an none existing object, this is the right answer of the service for this request. You need to know which object exists. Please try to get a list of all objects and iterate through this list.