Home » Categories » Spaces » Manual

Spaces XML Feed

Spaces allows you to create custom XML/RSS feeds. An example feed of http://demozonepublic.evanced.info/spaces/patron/spacesxml?dm=xml&loc=7&limit=5 will pull in reservation data, limiting the results to the first five reservations ("limit=5"), for the Activity Room ("loc=7") in the Main Library on our demo site.
 
Note: the Spaces XML feed currently only returns data for one day. You can change the specific day for which you'd like to receive reservation data via the ds= switch or the do= switch, but you cannot receive more than one day of reservation data at a time.

To build your feed, take your base URL, add a ?, then add dm=XYZ to determine the type of feed you are creating (where XYZ is XML, RSS, etc.)
http://[Your URL].evanced.info/spaces/patron/spacesxml?dm=xml
You can add additional parameters by adding a & character followed by a parameter. For example:
http://[Your URL].evanced.info/spaces/patron/spacesxml?dm=xml&lib=1000
 
  • Display Mode - dm=
    • xml, exml, html, or ical
  • Date Start - ds=
    • date value in YYYY/MM/DD format
  • Date Offset - do=
    • any integer value - accepts positive and negative values
    • example: do=7 returns reservations on the day 7 days from "now"
    • example: do=-30 returns reservations on the day 30 days prior to "now"
  • Specific Locations (branches) - lib=
    • 1 for single, where 1 is the library ID.
    • 0,999,1003,1009,1016 for multiple, where these numbers are the library IDs. Do not put spaces between commas and IDs.
    • all indicates "all branches" (i.e. system-wide would be lib=all)
    • Branch IDs start in the 1000s as shown above. Your branch IDs may vary.
  • Specific Spaces (rooms) - loc=
    • 1 for single, where 1 is the room ID.
    • 1,2,4,6,23 for multiple, where these numbers are the room IDs. Do not put spaces between commas and IDs.
  • Start count - startcount=
    • What item we want to start on - for paging a resultset.
  • Result limit - limit=
    • How many results come back - to limit the amount we get.
  • Reservation Status - status=
    • 0 = Pending
    • 1 = [Default] Approved
Custom Fields
  • Applicable To: Admin Users
  • Attachments: No
  • Summary: xml feed for Spaces
0 (0)
Article Rating (No Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
Attachments Attachments
There are no attachments for this article.
Comments Comments
There are no comments for this article. Be the first to post a comment.
Related Articles
Running Reports in Spaces
Viewed 1597 times since Wed, Sep 18, 2013
Branding Color Scheme Choices for Spaces, D!BS, and SignUp Mobile
Viewed 4007 times since Fri, Jan 2, 2015
Patron Accounts in Spaces
Viewed 1374 times since Tue, Sep 10, 2013
Secured access to content via HTTPS FAQ
Viewed 1557 times since Tue, Dec 20, 2016
Spaces Calendar View - Feature Preview
Viewed 1079 times since Tue, Dec 13, 2016
How to Locate Unsecured content in a Secured HTTPS page
Viewed 1408 times since Tue, Dec 20, 2016
Spaces API
Viewed 1263 times since Tue, Dec 13, 2016
Add/Edit a Location and Space in SignUp, Spaces and D!BS
Viewed 4454 times since Mon, Sep 29, 2014
Add/Edit Equipment in a Location and Space in Spaces
Viewed 1912 times since Mon, Sep 29, 2014
Recommended Image Sizes for SignUp, SignUp Mobile, Spaces, D!BS, and Wandoo Reader
Viewed 7150 times since Mon, Sep 29, 2014