Whenever the API server is unable to find any object that matches incoming request, it returns empty result set as a NotFound object. This object can be returned instead of single objects and instead of lists if there are no items available.

Single division item was not found

{
   "Type": "Division",
   "Message": "No result found."
 }					

Multiple terminals items were not found

{
   "Type": "Terminals",
   "Message": "No result found."
 }					

NotFound object can be returned as XML if specified in request

<?xml version="1.0" encoding="utf-8"?>
 <NotFound xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Trakopolis.Api.Entities">
   <Message>StringValue</Message>
   <Type>StringValue</Type>
 </NotFound>