OpenPlatform

/Order

Consist of two subfunctions:

  1. /Order/Availability Can this item be ordered / made available for the currently logged in patron
  2. /Order/Order Order a copy OR remove an existing order.

Availability

availability?access_token=&pretty=&timings=&pid=

"holdingStatus": {
	"willLend": false
},

No copy available or patron can not lend copy

"holdingstatus": {
      "willLend": true,
      "expectedDelivery": "2016-04-15"
    },

Copy not available, but patron can lend after expectedDelivery

        "orderPossible": true

Patron can order title

Full example

{
    "statusCode": 200,
    "data": {
        "holdingStatus": {
            "willLend": false
        },
        "orderPossible": true
    },
    "timings": {
        "total": 306,
        "external": 301
    }
}

Order

Create new order

To create a new order a pid is required along with delivery branch and locally required information listed in the “orderParameters” in /libraries

            "orderParameters": [
                "cpr",
                "pincode",
                "email"
            ]

Usually Patron ID, pin and email.

Delete existing order