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(optional):
string
Maximum Length:
25
-
countryCode:
string
Maximum Length:
3
-
countryName(optional):
string
Maximum Length:
105
-
crossBorderHybridPool(optional):
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
crossBorderHybridSweep(optional):
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
crossBorderPool(optional):
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
crossBorderSweep(optional):
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
crossCcyHybridPool(optional):
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
crossCcyHybridSweep(optional):
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
crossCcyPool(optional):
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
crossCcySweep(optional):
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
currencyCode(optional):
string
Maximum Length:
3
-
domesticHybridPool(optional):
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
domesticHybridSweep(optional):
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
domesticPool(optional):
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
domesticSweep(optional):
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
hybrid(optional):
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
ieBenefitAllowed(optional):
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
ieParticipationAllowed(optional):
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
pool(optional):
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
sweep(optional):
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(optional):
string
Maximum Length:
25
-
countryCode:
string
Maximum Length:
3
-
countryName(optional):
string
Maximum Length:
105
-
crossBorderHybridPool(optional):
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
crossBorderHybridSweep(optional):
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
crossBorderPool(optional):
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
crossBorderSweep(optional):
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
crossCcyHybridPool(optional):
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
crossCcyHybridSweep(optional):
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
crossCcyPool(optional):
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
crossCcySweep(optional):
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
currencyCode(optional):
string
Maximum Length:
3
-
domesticHybridPool(optional):
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
domesticHybridSweep(optional):
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
domesticPool(optional):
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
domesticSweep(optional):
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
hybrid(optional):
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
ieBenefitAllowed(optional):
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
ieParticipationAllowed(optional):
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
pool(optional):
string
Maximum Length:
1
Default Value:N
Pattern:[Y,N]
-
sweep(optional):
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