Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

The endpoint /util/schedule-availability returns the availability from the planning

Step 1: parameters

ParameterExplanation
yearyear, 1 year back, 1 year ahead counting from the current year
month1 to 12
dayoptional 1 to 31

Step 2: Return info

HourExplanation
numberTotal capacity hours (*1) still available on this day

Note 1: capacity hours, is the total mechanic hours for this day minus all breaks, and appointments

Status valueExplanation
unavailableThe specified date is NOT available for planning
blocked

The specified date is blocked for planning

Can be saterday, sunday or blocked bij schedule

partial

The specified date is partial available for planning


availableThe specified date is available for planning

Settings

Schedule status is configured in the Autoflex 10 interface: instellingen → Tab: planning → Tab: Algemeen

JSON
{
  "data": [
    {
      "date": "01-03-2020",
      "hour": 0,
      "status": "unavailable"
    },
    {
      "date": "02-03-2020",
      "hour": 0,
      "status": "unavailable"
    },
    {
      "date": "03-03-2020",
      "hour": 0,
      "status": "blocked"
    },
    {
      "date": "04-03-2020",
      "hour": 0,
      "status": "unavailable"
    },
    {
      "date": "05-03-2020",
      "hour": 0,
      "status": "unavailable"
    }
...




Related articles



  • No labels