Files
destatis-genesis/job-get.sh

16 lines
339 B
Bash
Executable File

#!/bin/sh
source ./.env
BASE_URL=https://www-genesis.destatis.de/genesisWS/rest/2020
curl -X POST "$BASE_URL/catalogue/jobs" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "username: $DESTATIS_TOKEN" \
-d "selection=" \
-d "searchcriterion=status" \
-d "sortcriterion=status" \
-d "area=all" \
-d "type=all" \
| jq