Subscribe to a Master Holiday Day. Returns (Task)
This method will allow the subscription to the specified holiday to take place.
Name | Description |
---|---|
masterHolidayDay | The master holiday that will be subscribed into the supplied folder |
folder | The folder that will contain the subscribed master holiday |
Example in C#
// Returns: HolidayDayInfo
var holidayDayInfo = await client.SubscribeToMasterHolidayDayAsync(FolderInfo folder, HolidayDayInfo masterHolidayDay);
Example in CURL
curl -X POST \
https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/holidaydays/subscribe \
-H 'Authorization: Bearer TOKEN_GOES_HERE'
-d 'MASTER_HOLIDAYDAY.KEY'