Please enable JavaScript to view this site.

PRD_SIS_004_Developer's Guide 2.6

The response returned when no ticket for this vehicle and park was found:

{

   "@context": "https://streetsmart.parkeon.com/sit0/contexts/v1/contexts/c902d535ed50c9ecaca8fd24eb56dd3081701ca7130cdc874f4d22ac3904d1c7",

   "@type": "sp:PartialCollectionView",

   "potentialActions": [

       {

           "@type": "sc:CreateAction",

           "identifier": "Create",

           "target": {

               "@type": "sc:EntryPoint",

               "httpMethod": "POST",

               "url": "/sit0/parking/tickets/v1/parkingTickets"

           }

       },

       {

           "@type": "sc:AddAction",

           "identifier": "Add",

           "target": {

               "@type": "sc:EntryPoint",

               "httpMethod": "PUT",

               "url": "/sit0/parking/tickets/v1/parkingTickets"

           }

       },

       {

           "@type": "sc:SearchAction",

           "identifier": "Get",

           "target": {

               "@type": "sc:EntryPoint",

               "httpMethod": "GET",

               "url": "/sit0/parking/tickets/v1/parkingTickets"

           }

       },

       {

           "@type": "sc:PurgeAction",

           "identifier": "Purge",

           "target": {

               "@type": "sc:EntryPoint",

               "httpMethod": "POST",

               "url": "/sit0/parking/tickets/v1/jobs"

           }

       },

       {

           "@type": "sc:SearchAction",

           "identifier": "Next",

           "target": {

               "@type": "sc:EntryPoint",

               "httpMethod": "POST",

               "url": "/sit0/parking/tickets/v1/parkingTickets/_search"

           }

       },

       {

           "@type": "sc:SearchAction",

           "identifier": "Previous",

           "target": {

               "@type": "sc:EntryPoint",

               "httpMethod": "POST",

               "url": "/sit0/parking/tickets/v1/parkingTickets/_search?paginationDirection=prev"

           }

       }

   ],

   "url": "/sit0/parking/tickets/v1/parkingTickets/_search",

   "members": [],

   "nextView": "/sit0/parking/tickets/v1/parkingTickets/_search",

   "previousView": "/sit0/parking/tickets/v1/parkingTickets/_search?paginationDirection=prev",

  "totalItems": 0

}

At the end of the response, you will see the totalItems which is zero. I.e., no tickets found.