Skip to content
This repository has been archived by the owner on May 13, 2023. It is now read-only.

AnalogIO/ShiftPlanning_API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Analog-ShiftPlanner

The project requires a configuration file connections.config and appSettings.config with the following format:

<connectionStrings>
  <add name="ShiftPlannerDataContext"
   providerName="System.Data.SqlClient"
   connectionString="Data Source=HOST;Initial Catalog=DBNAME;User ID=USERNAME;Password=PASSWORD;MultipleActiveResultSets=True;Context Connection=False;" />
</connectionStrings>
<appSettings>
  <add key="TokenKey" value="SYMMETRICKEY"/>
  <add key="TokenAgeHour" value="24"/>
</appSettings>

Live documentation of the API can be found here: https://analogio.dk/publicshiftplanning/Help

We are using shortkeys to differ between organizations. For instance, the shortkey for Café Analog is analog Therefore, a call to get shifts could look like this: https://analogio.dk/publicshiftplanning/api/shifts/analog