•The first section in a response contains the context.
•The next part contains the potential actions
•From the URL and downwards you will find the ticket data
You can find details on each field in the section on Schema.parkeon.com
{ "@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?marker%5B%5D=1655146800000&marker%5B%5D=178394" } }, { "@type": "sc:SearchAction", "identifier": "Previous", "target": { "@type": "sc:EntryPoint", "httpMethod": "POST", "url": "/sit0/parking/tickets/v1/parkingTickets/_search?marker%5B%5D=1655146800000&marker%5B%5D=178394&paginationDirection=prev" } } ], "url": "/sit0/parking/tickets/v1/parkingTickets/_search", "members": [ { "@id": "sss:parking/tickets/parkingTickets/178394", "@type": "sp:ParkingTicket", "currency": "EUR", "endTime": "2022-06-13T19:00:00Z", "potentialActions": [ { "@type": "sc:UpdateAction", "identifier": "Update", "target": { "@type": "sc:EntryPoint", "httpMethod": "PATCH", "url": "/sit0/parking/tickets/v1/parkingTickets/178394" } }, { "@type": "sc:ViewAction", "identifier": "Get", "target": { "@type": "sc:EntryPoint", "httpMethod": "GET", "url": "/sit0/parking/tickets/v1/parkingTickets/178394" } }, { "@type": "sc:DeleteAction", "identifier": "Delete", "target": { "@type": "sc:EntryPoint", "httpMethod": "DELETE", "url": "/sit0/parking/tickets/v1/parkingTickets/178394" } }, { "@type": "sc:ReplaceAction", "identifier": "Replace", "target": { "@type": "sc:EntryPoint", "httpMethod": "PUT", "url": "/sit0/parking/tickets/v1/parkingTickets/178394" } } ], "startTime": "2022-06-13T09:00:00Z", "creationDate": "2022-06-13T07:14:28.869Z", "creator": "LDAP/[email protected]", "disambiguatingToken": "bc699c06b75b11ebacd0506b8d971f0003", "duration": "PT10H", "entityTag": "353366084", "freeDuration": "PT0S", "internalId": "178394", "internalUpdateId": "353366084", "isExtendable": false, "isStoppable": true, "lastUpdatedDate": "2022-06-13T07:14:28.869Z", "lastUpdater": "LDAP/[email protected]", "licensePlate": { "@type": "sp:LicensePlate", "plate": "LXD656" }, "paidAndFreeDuration": "PT10H", "paidDuration": "PT10H", "park": "sss:businesscustomer/parks/parks/123", "parkingAmount": 13.5, "parkingAudience": "sss:parking/tariffs/parkingAudiences/1643", "parkingTaxAmount": 0, "serviceFeeAmount": 0, "serviceFeeTaxAmount": 0, "tariffArea": "sss:businesscustomer/parks/areas/11903", "technicalStatus": "sp:TechnicalStatusActive", "ticketOperation": [ { "@type": "sp:ParkingTicketOperation", "operationTime": "2022-06-13T09:00:00Z", "serviceContext": { "@type": "sp:ServiceContext", "serviceChannel": { "@type": "sp:DeviceServiceChannel", "application": { "@type": "sc:SoftwareApplication", "author": { "name": { "en": "Parkeon" } }, "name": { "en": "Whoosh" }, "softwareVersion": "MAJOR.MINOR.PATCH" }, "operatingSystem": "Ubuntu", "channelType": "sp:SaleApplication", "deviceManufacturer": "flowbird", "deviceType": "sp:Smartphone" } }, "ticketProduct": { "@type": "sp:ParkingTicketProduct", "currency": "EUR", "endTime": "2022-06-13T19:00:00Z", "startTime": "2022-06-13T09:00:00Z", "duration": "PT10H", "freeDuration": "PT0S", "isExtendable": false, "isStoppable": true, "licensePlate": { "@type": "sp:LicensePlate", "plate": "LXD656" }, "paidAndFreeDuration": "PT10H", "paidDuration": "PT10H", "park": "sss:businesscustomer/parks/parks/8526", "parkingAmount": 13.5, "parkingAudience": "sss:parking/tariffs/parkingAudiences/1643", "parkingTaxAmount": 0, "serviceFeeAmount": 0, "serviceFeeTaxAmount": 0, "tariffArea": "sss:businesscustomer/parks/areas/11903", "validityArea": [ "sss:businesscustomer/parks/areas/11903" ] } } ], "validityArea": [ "sss:businesscustomer/parks/areas/11903" ] } ], "nextView": "/sit0/parking/tickets/v1/parkingTickets/_search?marker%5B%5D=1655146800000&marker%5B%5D=178394", "previousView": "/sit0/parking/tickets/v1/parkingTickets/_search?marker%5B%5D=1655146800000&marker%5B%5D=178394&paginationDirection=prev", "totalItems": 1 } |