Check whether date is inside locked or unlocked accounting period

GET /api-v1/accounting-period/date-lock-status/{date}

Headers

Path parameters

Responses

GET /api-v1/accounting-period/date-lock-status/{date}
curl \
 -X GET http://wyzio.app/api-v1/accounting-period/date-lock-status/{date} \
 -H "TARGET-ORGANIZATION-ID: 42" \
 -H "WEAL-TOKEN: string"
Response examples (200)
{
  "locked": true,
  "periodDetails": {
    "budgetExist": true,
    "endDate": "string",
    "fiscalYear": 42,
    "flatRate1AccountsIds": [
      42
    ],
    "flatRate2AccountsIds": [
      42
    ],
    "flatRate_1": "string",
    "flatRate_2": "string",
    "id": 42,
    "isLocked": true,
    "lockedUntil": "string",
    "startDate": "string",
    "status": "OPEN",
    "vatRule": {
      "id": 42,
      "name": {
        "de": "string",
        "en": "string",
        "fr": "string",
        "it": "string"
      },
      "rule": "NONE"
    }
  }
}