Api  >  Magazine Checkout Service


Magazine Checkout Service

Service URL /v1/libraries/{libraryId}/patrons/{patronId}/patron-magazines

Service Endpoints


Magazine: Checkout

Endpoint URL /v1/libraries/{libraryId}/patrons/{patronId}/patron-magazines/{issueId}
Description
Checks out a magazine
Http Messages
HTTP GET Request
Fiddler Request
POST /v1/libraries/{libraryId}/patrons/{patronId}/patron-magazines/356858 HTTP/1.1
User-Agent: fiddler
Host: api.rbdigitalstage.com
Authorization: basic {basicToken}
Content-Type: application/json

HTTP GET Response
Response
{
  "interest": {
    "stateId": 32,
    "name": "checkout",
    "checkoutAt": "2017-08-24T00:00:00Z"
  },
  "item": {
    "mediaType": "eMagazine",
    "publisher": "F+W Media, Inc. - Magazines",
    "country": "United States",
    "audience": "PG",
    "description": "Whether it's a solo or group project, a home-improvement undertaking or a simple piece of art, Popular Woodworking lets you into the world of woodworking crafts. Each issue of Popular Woodworking features numerous projects for the expert craftsperson and the interested beginner.",
    "rbzid": "RBZ0005990",
    "title": "Popular Woodworking",
    "genre": "Hobbies",
    "language": "English",
    "magazineId": "7854",
    "issueId": "356858",
    "publishedOn": "1/3/2017",
    "coverDate": "2/1/2017",
    "images": [
      {
        "name": "medium",
        "url": "http://imgs.zinio.com/dag/500735502/2017/416402168/cover.jpg"
      }
    ],
    "issueTitle": "February 2017",
    "itemType": 2
  }
}


Magazine: Hide

Endpoint URL /v1/libraries/{libraryId}/patrons/{patronId}/patron-magazines/{issueId}
Description
Hides a checked out magazine
Http Messages
HTTP GET Request
Fiddler Request
DELETE /v1/libraries/{libraryId}/patrons/{patronId}/patron-magazines/8339 HTTP/1.1
User-Agent: fiddler
Host: api.rbdigitalstage.com
Authorization: basic {basicToken}
Content-Type: application/json

HTTP GET Response
Response
{
  "message": "success"
}