Import

An import.

Import data

Import schedule or effect data from an uploaded file.

SecurityJWT
Request
path Parameters
type
required
string

The type of the import.

Enum: "schedule" "effects"
Request Body schema: multipart/form-data

A JSON object containing measure attachment information

file
required
string <binary>

The upload file.

The following types of files are permitted:

  • csv
  • tsv
  • txt
  • ods
  • xls
  • xlsx
  • xml

Responses
201

Successful operation

422

Unprocessable Content

post/import/{type}
Request samples
Response samples
application/json
{
  • "success": true,
  • "hash": "8739602554c7f3241958e3cc9b57fdecb474d508",
  • "data": { },
  • "timestamp": 1683126284905
}