Update current user's global holidays from tenant holidays.
A collection of ID of tenant's holiday.
Created
The unique ID of holiday.
Retrieve a collection of current user's global holidays.
OK
const response = await fetch('http://127.0.0.1:8888/api/user/global_holidays', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({}), }); const data = await response.json();
{ "id": {} }
const response = await fetch('http://127.0.0.1:8888/api/user/global_holidays', { method: 'GET', headers: {}, }); const data = await response.json();
{ "items": [ { "id": {}, "name": "text", "region": "text", "consecutive": false, "every_year": false } ] }