Update an existing country
put
/service/country/{countryCode}
This endpoint is used to update an existing country.
Request
Supported Media Types
- application/json
- application/xml
Path Parameters
-
countryCode(required): string
Country Code of the country to be updated
Request Body that contains data required for updating an existing country
Nested Schema : GenericDto
Match All
Show Source
-
object
GenericDto-allOf[0]
Discriminator:
resource_type
Nested Schema : GenericDto-allOf[0]
Type:
objectDiscriminator:
resource_typeNested 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:
1Default Value:NPattern:[Y,N] -
crossBorderHybridSweep:
string
Maximum Length:
1Default Value:NPattern:[Y,N] -
crossBorderPool:
string
Maximum Length:
1Default Value:NPattern:[Y,N] -
crossBorderSweep:
string
Maximum Length:
1Default Value:NPattern:[Y,N] -
crossCcyHybridPool:
string
Maximum Length:
1Default Value:NPattern:[Y,N] -
crossCcyHybridSweep:
string
Maximum Length:
1Default Value:NPattern:[Y,N] -
crossCcyPool:
string
Maximum Length:
1Default Value:NPattern:[Y,N] -
crossCcySweep:
string
Maximum Length:
1Default Value:NPattern:[Y,N] -
currencyCode:
string
Maximum Length:
3 -
domesticHybridPool:
string
Maximum Length:
1Default Value:NPattern:[Y,N] -
domesticHybridSweep:
string
Maximum Length:
1Default Value:NPattern:[Y,N] -
domesticPool:
string
Maximum Length:
1Default Value:NPattern:[Y,N] -
domesticSweep:
string
Maximum Length:
1Default Value:NPattern:[Y,N] -
hybrid:
string
Maximum Length:
1Default Value:NPattern:[Y,N] -
ieBenefitAllowed:
string
Maximum Length:
1Default Value:NPattern:[Y,N] -
ieParticipationAllowed:
string
Maximum Length:
1Default Value:NPattern:[Y,N] -
pool:
string
Maximum Length:
1Default Value:NPattern:[Y,N] -
sweep:
string
Maximum Length:
1Default Value:NPattern:[Y,N]
Response
Supported Media Types
- application/json
- application/xml
200 Response
Returns updated country
Nested Schema : GenericDto
Match All
Show Source
-
object
GenericDto-allOf[0]
Discriminator:
resource_type
Nested Schema : GenericDto-allOf[0]
Type:
objectDiscriminator:
resource_typeNested 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:
1Default Value:NPattern:[Y,N] -
crossBorderHybridSweep:
string
Maximum Length:
1Default Value:NPattern:[Y,N] -
crossBorderPool:
string
Maximum Length:
1Default Value:NPattern:[Y,N] -
crossBorderSweep:
string
Maximum Length:
1Default Value:NPattern:[Y,N] -
crossCcyHybridPool:
string
Maximum Length:
1Default Value:NPattern:[Y,N] -
crossCcyHybridSweep:
string
Maximum Length:
1Default Value:NPattern:[Y,N] -
crossCcyPool:
string
Maximum Length:
1Default Value:NPattern:[Y,N] -
crossCcySweep:
string
Maximum Length:
1Default Value:NPattern:[Y,N] -
currencyCode:
string
Maximum Length:
3 -
domesticHybridPool:
string
Maximum Length:
1Default Value:NPattern:[Y,N] -
domesticHybridSweep:
string
Maximum Length:
1Default Value:NPattern:[Y,N] -
domesticPool:
string
Maximum Length:
1Default Value:NPattern:[Y,N] -
domesticSweep:
string
Maximum Length:
1Default Value:NPattern:[Y,N] -
hybrid:
string
Maximum Length:
1Default Value:NPattern:[Y,N] -
ieBenefitAllowed:
string
Maximum Length:
1Default Value:NPattern:[Y,N] -
ieParticipationAllowed:
string
Maximum Length:
1Default Value:NPattern:[Y,N] -
pool:
string
Maximum Length:
1Default Value:NPattern:[Y,N] -
sweep:
string
Maximum Length:
1Default Value:NPattern:[Y,N]
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