v1

latestOpenAPI 3.0.0Proprietary2026-08-06130577659.7 KB
Projects|Project

Create/Update projects.

This method can be used to create and update projects.

An attempt is made to find an existing project based on the selected primary key. If one is found, it will be updated with the data provided in the request. Otherwise, a new project is created.

post/project/upsert

Request body

deleteMissingboolean

Do you want to delete all projects missing from this request? This Parameter is optional. (Default: false)

deleteImportSourcestring

The data source from which the missing projects can be deleted. This Parameter is optional. (Default: "*API")

dryRunboolean

Simulate the operation. (No records will be created or changed) This Parameter is optional.

Example request

{
  "records": [
    {
      "data": {
        "latLng": [
          52.38127828631681,
          7.594243214018696
        ],
        "validFrom": "2015-02-20",
        "validTo": "2015-02-20",
        "resourcePlanningFrom": "2015-02-20",
        "resourcePlanningTo": "2015-02-20",
        "openingHours": {
          "MO": [
            [
              "08:00",
              "13:00"
            ]
          ],
          "TU": [
            [
              "08:00",
              "13:00"
            ]
          ],
          "WE": [
            [
              "08:00",
              "13:00"
            ]
          ],
          "TH": [
            [
              "08:00",
              "13:00"
            ]
          ],
          "FR": [
            [
              "08:00",
              "13:00"
            ]
          ],
          "SA": [
            [
              "08:00",
              "13:00"
            ]
          ],
          "SU": [
            [
              "08:00",
              "13:00"
            ]
          ]
        }
      }
    }
  ]
}

Response

Success Response: