Get all valid local holidays
get
/localholidays
This endpoints will be used to Get all valid local holidays maintanence records.
Request
Supported Media Types
- application/json
- application/xml
Query Parameters
-
authStatus(optional): string
-
branchCode(optional): string
-
includecloseandunauth(optional): boolean
includecloseandunauth need to be set to fetch summary record, defult value is false
-
limit(optional): integer
limit is maximum no of records to be fetched
-
offset(optional): integer
offset is starting no of records to be fetched
-
recordStatus(optional): string
-
year(optional): integer
Response
Supported Media Types
- application/json
- application/xml
201 Response
Returns message of succes or failure
Headers
Root Schema : CmcTmLocalHolidayMasterCollection
Type:
object
Collection of localholiday.
Show Source
-
data(optional):
array data
-
paging(optional):
object PagingDto
Contains the paging data like Total Results and Next/Prev Links
Nested Schema : PagingDto
Type:
object
Contains the paging data like Total Results and Next/Prev Links
Show Source
Nested Schema : CmcTmLocalHolidayMasterDto
Type:
object
Match All
Show Source
-
allOf
GenericDto
GenericDto contains the generic transactional data and which extends RepresentationModel of Spring HATEOAS
-
object
CmcTmLocalHolidayMasterDto-allOf[1]
Nested Schema : GenericDto
GenericDto contains the generic transactional data and which extends RepresentationModel of Spring HATEOAS
Match All
Show Source
-
object
GenericDto-allOf[0]
Discriminator:
resource_type
Nested Schema : GenericDto-allOf[0]
Type:
object
Discriminator:
resource_type
Nested Schema : CmcTmLocalHolidayMasterDto-allOf[1]
Type:
Show Source
object
-
branchCode:
string
Minimum Length:
0
Maximum Length:3
-
CmcTmLocalHolidayDto(optional):
array CmcTmLocalHolidayDto
-
unexpHol(optional):
string
Minimum Length:
0
Maximum Length:1
-
weeklyHolidays(optional):
string
Minimum Length:
0
Maximum Length:7
-
year:
number
Minimum Length:
0
Maximum Length:4
Nested Schema : CmcTmLocalHolidayDto
Type:
Show Source
object
-
branchCode(optional):
string
Minimum Length:
0
Maximum Length:3
-
holidayList(optional):
string
Minimum Length:
0
Maximum Length:31
-
id(optional):
string
-
localHolidayMasterId(optional):
string
-
month:
number
Minimum Length:
0
Maximum Length:2
-
year(optional):
number
Minimum Length:
0
Maximum Length:4
400 Response
Malformed syntax.
401 Response
Request does not have sufficient credentials.
403 Response
Request is not authorized.
405 Response
Invalid input
500 Response
Internal error