Adds a new country
post
/service/country
This endpoint is used to add a new country.
Request
Supported Media Types
- application/json
- application/xml
Request Body that contains data required for creating a new country
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 : LmmTmCountryParametersDTO-allOf[1]
Type:
Show Source
object
-
allowedAccountType:
string
Maximum Length:
25
-
countryCode(required):
string
Maximum Length:
3
-
countryName:
string
Maximum Length:
105
-
crossBorderHybridPool:
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
crossBorderHybridSweep:
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
crossBorderPool:
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
crossBorderSweep:
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
crossCcyHybridPool:
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
crossCcyHybridSweep:
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
crossCcyPool:
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
crossCcySweep:
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
currencyCode:
string
Maximum Length:
3
-
domesticHybridPool:
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
domesticHybridSweep:
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
domesticPool:
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
domesticSweep:
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
hybrid:
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
ieBenefitAllowed:
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
ieParticipationAllowed:
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
pool:
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
sweep:
string
Maximum Length:
1
Default Value:N
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 country
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 : LmmTmCountryParametersDTO-allOf[1]
Type:
Show Source
object
-
allowedAccountType:
string
Maximum Length:
25
-
countryCode(required):
string
Maximum Length:
3
-
countryName:
string
Maximum Length:
105
-
crossBorderHybridPool:
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
crossBorderHybridSweep:
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
crossBorderPool:
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
crossBorderSweep:
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
crossCcyHybridPool:
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
crossCcyHybridSweep:
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
crossCcyPool:
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
crossCcySweep:
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
currencyCode:
string
Maximum Length:
3
-
domesticHybridPool:
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
domesticHybridSweep:
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
domesticPool:
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
domesticSweep:
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
hybrid:
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
ieBenefitAllowed:
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
ieParticipationAllowed:
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
pool:
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
sweep:
string
Maximum Length:
1
Default Value:N
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