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(required): string
Source from which request is initiated
Request Body that contains data required for creating a new currencyholidaycalendars
Nested Schema : GenericDto
Match All
Show Source
-
object
GenericDto-allOf[0]
Discriminator:
resource_type
Nested Schema : GenericDto-allOf[0]
Type:
objectDiscriminator:
resource_typeNested Schema : CmcTmCurrencyHolidayMasterDto-allOf[1]
Type:
Show Source
object-
CmcTmCurrencyHolidayDto:
array CmcTmCurrencyHolidayDto
-
currency(required):
string
Minimum Length:
0Maximum Length:3 -
weeklyHolidays:
string
Minimum Length:
0Maximum Length:7 -
year(required):
number
Minimum Length:
0Maximum Length:4
Nested Schema : CmcTmCurrencyHolidayDto
Type:
Show Source
object-
currency:
string
Minimum Length:
0Maximum Length:3 -
currencyHolidayMasterId:
string
-
holidayList:
string
Minimum Length:
0Maximum Length:31 -
id:
string
-
month(required):
number
Minimum Length:
0Maximum Length:2 -
year:
number
Minimum Length:
0Maximum 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
Nested Schema : GenericDto
Match All
Show Source
-
object
GenericDto-allOf[0]
Discriminator:
resource_type
Nested Schema : GenericDto-allOf[0]
Type:
objectDiscriminator:
resource_typeNested Schema : CmcTmCurrencyHolidayMasterDto-allOf[1]
Type:
Show Source
object-
CmcTmCurrencyHolidayDto:
array CmcTmCurrencyHolidayDto
-
currency(required):
string
Minimum Length:
0Maximum Length:3 -
weeklyHolidays:
string
Minimum Length:
0Maximum Length:7 -
year(required):
number
Minimum Length:
0Maximum Length:4
Nested Schema : CmcTmCurrencyHolidayDto
Type:
Show Source
object-
currency:
string
Minimum Length:
0Maximum Length:3 -
currencyHolidayMasterId:
string
-
holidayList:
string
Minimum Length:
0Maximum Length:31 -
id:
string
-
month(required):
number
Minimum Length:
0Maximum Length:2 -
year:
number
Minimum Length:
0Maximum Length:4
Nested Schema : items
Type:
object400 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