Adds a new currency holiday calendars
post
/service/currencyholidaycalendars
This endpoint is used to add a new currency holiday calendars.
Request
Supported Media Types
- application/json
- application/xml
Header Parameters
-
sourceCode: string
Source from which request is initiated
Request Body that contains data required for creating a new currencyholidaycalendars
Root Schema : CmcTmCurrencyHolidayMasterDto
Type:
object
Match All
Show Source
-
allOf
GenericDto
GenericDto contains the generic transactional data and which extends RepresentationModel of Spring HATEOAS
-
object
CmcTmCurrencyHolidayMasterDto-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 : CmcTmCurrencyHolidayMasterDto-allOf[1]
Type:
Show Source
object
-
CmcTmCurrencyHolidayDto(optional):
array CmcTmCurrencyHolidayDto
-
currency:
string
Minimum Length:
0
Maximum Length:3
-
weeklyHolidays(optional):
string
Minimum Length:
0
Maximum Length:7
-
year:
number
Minimum Length:
0
Maximum Length:4
Nested Schema : CmcTmCurrencyHolidayDto
Type:
Show Source
object
-
currency(optional):
string
Minimum Length:
0
Maximum Length:3
-
currencyHolidayMasterId(optional):
string
-
holidayList(optional):
string
Minimum Length:
0
Maximum Length:31
-
id(optional):
string
-
month:
number
Minimum Length:
0
Maximum Length:2
-
year(optional):
number
Minimum Length:
0
Maximum Length:4
Response
Supported Media Types
- application/json
- application/xml
201 Response
Returns message of succes or failure
Headers
-
Location: string
URL of newly created currencyholidaycalendars
Root Schema : CmcTmCurrencyHolidayResponseDtoWrapper
Type:
Show Source
object
-
data(optional):
object CmcTmCurrencyHolidayMasterDto
-
messages(optional):
object ResponseDto
ResponseDto stores the response status and code.
Nested Schema : CmcTmCurrencyHolidayMasterDto
Type:
object
Match All
Show Source
-
allOf
GenericDto
GenericDto contains the generic transactional data and which extends RepresentationModel of Spring HATEOAS
-
object
CmcTmCurrencyHolidayMasterDto-allOf[1]
Nested Schema : ResponseDto
Type:
object
ResponseDto stores the response status and code.
Show Source
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 : CmcTmCurrencyHolidayMasterDto-allOf[1]
Type:
Show Source
object
-
CmcTmCurrencyHolidayDto(optional):
array CmcTmCurrencyHolidayDto
-
currency:
string
Minimum Length:
0
Maximum Length:3
-
weeklyHolidays(optional):
string
Minimum Length:
0
Maximum Length:7
-
year:
number
Minimum Length:
0
Maximum Length:4
Nested Schema : CmcTmCurrencyHolidayDto
Type:
Show Source
object
-
currency(optional):
string
Minimum Length:
0
Maximum Length:3
-
currencyHolidayMasterId(optional):
string
-
holidayList(optional):
string
Minimum Length:
0
Maximum Length:31
-
id(optional):
string
-
month:
number
Minimum Length:
0
Maximum Length:2
-
year(optional):
number
Minimum Length:
0
Maximum Length:4
Nested Schema : codes
Type:
Show Source
array
-
Array of:
object ResponseCode
ResponseCode stores the response details.
Nested Schema : items
Type:
object
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