Adds a new currency
post
/service/currency
This endpoint is used to add a new currency.
Request
Supported Media Types
- application/json
- application/xml
Request Body that contains data required for creating a new currency
Nested Schema : GenericDto
Match All
Show Source
-
object
GenericDto-allOf[0]
Discriminator:
resource_type
Nested Schema : GenericDto-allOf[0]
Type:
object
Discriminator:
resource_type
Nested Schema : LmmTmCurrencyParametersDTO-allOf[1]
Type:
Show Source
object
-
currencyCode(required):
string
Maximum Length:
3
-
currencyName(required):
string
Maximum Length:
105
-
ieBenefit:
string
Maximum Length:
1
Pattern:[Y,N]
-
ieParticipation:
string
Maximum Length:
1
Pattern:[Y,N]
Response
Supported Media Types
- application/json
- application/xml
201 Response
Returns message of succes or failure
Headers
-
Location: string
URL of newly created currency
Nested Schema : GenericDto
Match All
Show Source
-
object
GenericDto-allOf[0]
Discriminator:
resource_type
Nested Schema : GenericDto-allOf[0]
Type:
object
Discriminator:
resource_type
Nested Schema : LmmTmCurrencyParametersDTO-allOf[1]
Type:
Show Source
object
-
currencyCode(required):
string
Maximum Length:
3
-
currencyName(required):
string
Maximum Length:
105
-
ieBenefit:
string
Maximum Length:
1
Pattern:[Y,N]
-
ieParticipation:
string
Maximum Length:
1
Pattern:[Y,N]
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