Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 1.69 KB

README.md

File metadata and controls

44 lines (29 loc) · 1.69 KB

Shiftboard Postman Reference Client

This is a Postman collection for interacting with the API service for Shiftboard. The collection may be used directly, or as an example for developing custom code using data from Shiftboard.

To make use of the script you will need an active account on Shiftboard, an API Access Key, and Signature Key enabled in your account.

For more information on the Shiftboard APIs, see the documentation.

Instructions

  1. Import this collection (Shiftboard-API.postman_collection.json) into your workspace
  2. Select a request in the collection, or create a new one
  3. Set the request URI to {{shiftboardUri}}
  4. Add request query params:
  • method is the Shiftboard API method you are using, e.g., account.get
  • params (optional), are the API method params as JSON, e.g. {"id":108}
  1. Select an HTTP method for the request, either GET or POST.
  • For POST requests, set the request Body to {{postData}}
  1. Set your Environment (see below)
  2. Hit Send

Environment

To use these requests, you must have an Environment with three keys and values:

Technical Notes

Each request uses the Pre-request Script in the collection to manage packaging up the request. It adds additional query parameters, encodes the params, does authentication, signs the request, and so on.

LICENSE

MIT