holidayList & holiday schemes

Thomas PLANCHON September 9, 2013

Hi!

tempo-holidayList servlet returns non working days from default holiday scheme only.

How can I get non working days from all my holiday schemes ?

(Tempo 7.6.3)

Best regards,

Thomas

1 answer

1 accepted

0 votes
Answer accepted
Benedikt Bjarni Bogason [Tempo]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 9, 2013

Hi Thomas,

This isn't documented, and could change but currently you can use these rest-resources (the Atlassian REST Browser is also a handy tool to discover REST end-points):

This returns holiday schemes:

server/rest/tempo-core/1/holidayscheme

This returns holidays of type {type} for scheme with id: {id}:

rest/tempo-core/1/holidayscheme/{id}/days/{type}

(where {type} can be "fixed" or "floating")

Presently this is neither documented nor officially supported, so you are pretty much on your own, but I hope this helps you get started!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events