Product Bookings (p:product-bookings)

http://profiles.goabout.com/product-bookings

The ProductBookings resources represents a list of Product booking (p:product-booking).

Such a list can be constructed by a multitude of filtering options; which are represented by the _self href. It is important to look at the self href to know the context of what the list contains.

Example

{
  "_embedded" : {
    "item" : [ {
      "available" : true,
      "description" : "Descripion for OV-Fiets abonnement",
      "isSubscription" : false,
      "logoHref" : "http://logo/OV-Fiets abonnement",
      "name" : "OV-Fiets abonnement",
      "properties" : {
        "cardnumber" : "123456789"
      },
      "propertySchema" : {
        "properties" : {
          "cardnumber" : {
            "description" : "Vul hier uw pasnummer voor de OV-Fiets in.",
            "minLength" : 1,
            "placeholder" : "123456789",
            "title" : "pasnummer",
            "type" : "string"
          }
        },
        "required" : [ "cardnumber" ],
        "title" : "OV-Fiets pasnummer",
        "type" : "object"
      },
      "recurringPayment" : false,
      "_links" : {
        "http://rels.goabout.com/booking-events" : {
          "href" : "http://localhost:9998/api/product-booking/654/events"
        },
        "http://rels.goabout.com/product" : {
          "href" : "http://localhost:9998/api/product/123"
        },
        "http://rels.goabout.com/user" : {
          "href" : "http://localhost:9998/api/user/1"
        },
        "self" : {
          "href" : "http://localhost:9998/api/product-booking/654"
        }
      }
    } ]
  },
  "_links": {
    "self": {
      "href": "https://api.goabout.com/product-bookings?productHref=https://api.goabout.com/product/123&start=2000-01-01T00:00:00Z&end=2001-01-01T00:00:00Z"
    }
  }
}

Reference

Embedded

item:A list of Product booking (p:product-booking).