GET
/declaration-periods
curl \
--request GET 'https://b6l4r8pq7c.execute-api.eu-west-3.amazonaws.com/declaration-periods' \
--header "Authorization: $API_KEY"
Response examples (200)
[
{
"id": "50658c1e-356e-4407-b120-d110552292d8",
"bubbleId": "1708861331497x933611102973227500",
"declarationCode": "2023",
"periodeStartAt": "2024-01-19T12:45:04.147Z",
"periodeEndAt": "2024-01-19T12:45:04.147Z",
"isActive": true,
"eprCountryBubbleId": "1699973781289x474882884422860800",
"eprCountryId": "a3bf6503-426b-43da-a2ac-37f8d8305a78",
"createdAt": "2024-01-19T12:45:04.147Z",
"updatedAt": "2024-01-19T12:45:04.147Z"
}
]
Response examples (400)
{
"error": "ALGOREP_001"
}
Response examples (500)
{
"error": "ALGOREP_001"
}