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.
- Import this collection (Shiftboard-API.postman_collection.json) into your workspace
- Select a request in the collection, or create a new one
- Set the request URI to {{shiftboardUri}}
- Add request query params:
method
is the Shiftboard API method you are using, e.g., account.getparams
(optional), are the API method params as JSON, e.g. {"id":108}
- Select an HTTP method for the request, either
GET
orPOST
.
- For
POST
requests, set the request Body to {{postData}}
- Set your Environment (see below)
- Hit Send
To use these requests, you must have an Environment with three keys and values:
accessKeyID
- your unique API key from ShiftboardsecretKey
- your secret key from ShiftboardshiftboardUri
- the URI for the API, e.g.:- Shiftboard in U.S. / Canada: https://api.shiftdata.com/
- Shiftboard in E.U.: https://api-data.eu.shiftboard.com/
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.
MIT