Previous Next JavaScript must be enabled to correctly display this content

## Retrieves the country by ID

get

/service/lmm/country/{id}

This endpoint is used to retrieve the country by ID.

### Request

Supported Media Types

- application/json
- application/xml

Path Parameters

- id: string
  Id of the user that needs to be fetched

Query Parameters

- version(optional): string
  Id of the user that needs to be fetched

Back to Top

### Response

Supported Media Types

- application/json
- application/xml

#### 200 Response

Returns the country based on given id.
Body ()
Root Schema : LmmTmCountryParametersWrapperDTO
Type: `object`
Show Source

- data(optional): object LmmTmCountryParametersDTO

    {
        "type":"object",
        "properties":{
            "data":{
                "$ref":"#/definitions/LmmTmCountryParametersDTO"
            }
        }
    }

Nested Schema : LmmTmCountryParametersDTO
Type: `object`
Match All
Show Source

- allOf GenericDto
- object LmmTmCountryParametersDTO-allOf[1]

    {
        "type":"object",
        "allOf":[
            {
                "$ref":"#/definitions/GenericDto"
            },
            {
                "type":"object",
                "properties":{
                    "countryCode":{
                        "type":"string",
                        "description":"",
                        "maxLength":3
                    },
                    "countryName":{
                        "type":"string",
                        "description":"",
                        "maxLength":105
                    },
                    "currencyCode":{
                        "type":"string",
                        "description":"",
                        "maxLength":3
                    },
                    "allowedAccountType":{
                        "type":"string",
                        "description":"",
                        "maxLength":25
                    },
                    "sweep":{
                        "type":"string",
                        "description":"",
                        "maxLength":1,
                        "pattern":"[Y,N]",
                        "default":"N"
                    },
                    "pool":{
                        "type":"string",
                        "description":"",
                        "maxLength":1,
                        "pattern":"[Y,N]",
                        "default":"N"
                    },
                    "hybrid":{
                        "type":"string",
                        "description":"",
                        "maxLength":1,
                        "pattern":"[Y,N]",
                        "default":"N"
                    },
                    "domesticSweep":{
                        "type":"string",
                        "description":"",
                        "maxLength":1,
                        "pattern":"[Y,N]",
                        "default":"N"
                    },
                    "domesticPool":{
                        "type":"string",
                        "description":"",
                        "maxLength":1,
                        "pattern":"[Y,N]",
                        "default":"N"
                    },
                    "domesticHybridSweep":{
                        "type":"string",
                        "description":"",
                        "maxLength":1,
                        "pattern":"[Y,N]",
                        "default":"N"
                    },
                    "domesticHybridPool":{
                        "type":"string",
                        "description":"",
                        "maxLength":1,
                        "pattern":"[Y,N]",
                        "default":"N"
                    },
                    "crossBorderSweep":{
                        "type":"string",
                        "description":"",
                        "maxLength":1,
                        "pattern":"[Y,N]",
                        "default":"N"
                    },
                    "crossBorderPool":{
                        "type":"string",
                        "description":"",
                        "maxLength":1,
                        "pattern":"[Y,N]",
                        "default":"N"
                    },
                    "crossBorderHybridSweep":{
                        "type":"string",
                        "description":"",
                        "maxLength":1,
                        "pattern":"[Y,N]",
                        "default":"N"
                    },
                    "crossBorderHybridPool":{
                        "type":"string",
                        "description":"",
                        "maxLength":1,
                        "pattern":"[Y,N]",
                        "default":"N"
                    },
                    "crossCcySweep":{
                        "type":"string",
                        "description":"",
                        "maxLength":1,
                        "pattern":"[Y,N]",
                        "default":"N"
                    },
                    "crossCcyPool":{
                        "type":"string",
                        "description":"",
                        "maxLength":1,
                        "pattern":"[Y,N]",
                        "default":"N"
                    },
                    "crossCcyHybridSweep":{
                        "type":"string",
                        "description":"",
                        "maxLength":1,
                        "pattern":"[Y,N]",
                        "default":"N"
                    },
                    "crossCcyHybridPool":{
                        "type":"string",
                        "description":"",
                        "maxLength":1,
                        "pattern":"[Y,N]",
                        "default":"N"
                    },
                    "ieBenefitAllowed":{
                        "type":"string",
                        "description":"",
                        "maxLength":1,
                        "pattern":"[Y,N]",
                        "default":"N"
                    },
                    "ieParticipationAllowed":{
                        "type":"string",
                        "description":"",
                        "maxLength":1,
                        "pattern":"[Y,N]",
                        "default":"N"
                    }
                },
                "required":[
                    "id",
                    "countryCode"
                ]
            }
        ]
    }

Nested Schema : GenericDto
Match All
Show Source

- object GenericDto-allOf[0]
  Discriminator: `resource_type`

    {
        "allOf":[
            {
                "type":"object",
                "discriminator":"resource_type"
            }
        ]
    }

Nested Schema : GenericDto-allOf[0]
Type: `object`
Discriminator: `resource_type`
Nested Schema : LmmTmCountryParametersDTO-allOf[1]
Type: `object`
Show Source

- 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]`

    {
        "type":"object",
        "properties":{
            "countryCode":{
                "type":"string",
                "description":"",
                "maxLength":3
            },
            "countryName":{
                "type":"string",
                "description":"",
                "maxLength":105
            },
            "currencyCode":{
                "type":"string",
                "description":"",
                "maxLength":3
            },
            "allowedAccountType":{
                "type":"string",
                "description":"",
                "maxLength":25
            },
            "sweep":{
                "type":"string",
                "description":"",
                "maxLength":1,
                "pattern":"[Y,N]",
                "default":"N"
            },
            "pool":{
                "type":"string",
                "description":"",
                "maxLength":1,
                "pattern":"[Y,N]",
                "default":"N"
            },
            "hybrid":{
                "type":"string",
                "description":"",
                "maxLength":1,
                "pattern":"[Y,N]",
                "default":"N"
            },
            "domesticSweep":{
                "type":"string",
                "description":"",
                "maxLength":1,
                "pattern":"[Y,N]",
                "default":"N"
            },
            "domesticPool":{
                "type":"string",
                "description":"",
                "maxLength":1,
                "pattern":"[Y,N]",
                "default":"N"
            },
            "domesticHybridSweep":{
                "type":"string",
                "description":"",
                "maxLength":1,
                "pattern":"[Y,N]",
                "default":"N"
            },
            "domesticHybridPool":{
                "type":"string",
                "description":"",
                "maxLength":1,
                "pattern":"[Y,N]",
                "default":"N"
            },
            "crossBorderSweep":{
                "type":"string",
                "description":"",
                "maxLength":1,
                "pattern":"[Y,N]",
                "default":"N"
            },
            "crossBorderPool":{
                "type":"string",
                "description":"",
                "maxLength":1,
                "pattern":"[Y,N]",
                "default":"N"
            },
            "crossBorderHybridSweep":{
                "type":"string",
                "description":"",
                "maxLength":1,
                "pattern":"[Y,N]",
                "default":"N"
            },
            "crossBorderHybridPool":{
                "type":"string",
                "description":"",
                "maxLength":1,
                "pattern":"[Y,N]",
                "default":"N"
            },
            "crossCcySweep":{
                "type":"string",
                "description":"",
                "maxLength":1,
                "pattern":"[Y,N]",
                "default":"N"
            },
            "crossCcyPool":{
                "type":"string",
                "description":"",
                "maxLength":1,
                "pattern":"[Y,N]",
                "default":"N"
            },
            "crossCcyHybridSweep":{
                "type":"string",
                "description":"",
                "maxLength":1,
                "pattern":"[Y,N]",
                "default":"N"
            },
            "crossCcyHybridPool":{
                "type":"string",
                "description":"",
                "maxLength":1,
                "pattern":"[Y,N]",
                "default":"N"
            },
            "ieBenefitAllowed":{
                "type":"string",
                "description":"",
                "maxLength":1,
                "pattern":"[Y,N]",
                "default":"N"
            },
            "ieParticipationAllowed":{
                "type":"string",
                "description":"",
                "maxLength":1,
                "pattern":"[Y,N]",
                "default":"N"
            }
        },
        "required":[
            "id",
            "countryCode"
        ]
    }

#### 400 Response

Malformed syntax.

#### 401 Response

Request does not have sufficient credentials.

#### 403 Response

Request is not authorized.

#### 500 Response

Internal error
Back to Top