Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

Table of Contents

Step 1: parameters

Parameter

Explanation

year

year, 1 year back, 1 year ahead counting from the current year

month

1 to 12

day

optional 1 to 31

Step 2: Return info

Hour

Explanation

number

Total 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 value

Explanation

unavailable

The 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


available

The specified date is available for planning

Info

...

Settings

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

JSON

Code Block
languagejs
themeMidnight
titleJSON
linenumberstrue
{
  "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

Filter by label (Content by label)
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@82a
sortmodified
showSpacefalse

...

reversetrue
typepage
cqllabel = "autoflex9" and type = "page" and space = "AS"
labelsbrowser edge

Page Properties
hiddentrue


Related issues