/
3.1 Obtain a list of working days and non-working days within a specified date range

3.1 Obtain a list of working days and non-working days within a specified date range

get /rest/shdsd-Timesheet/3/calWorkday

API Documentation

Obtain a list of working days and non-working days within a specified date range.

Media type

  • application/json

Request example

{JiraHost}/rest/shdsd-Timesheet/3/calWorkday?startDate=2024-07-09&endDate=2024-08-01

Query parameters

Parameter

Type

Description

Required

Default Value

Parameter

Type

Description

Required

Default Value

startDate

String

Start time of the work log in the format yyyy-MM-dd

Required

 

endDate

String

End time of the work log in the format yyyy-MM-dd

Required

 

Return Example

{ "workdays": [ "2024-04-29", "2024-04-30", "2024-05-02", "2024-05-03", "2024-05-06", "2024-05-07", "2024-05-08", "2024-05-09", "2024-05-10" ], "holidays": [ "2024-05-01", "2024-04-28", "2024-05-04", "2024-05-05", "2024-05-11" ] }