Previous Next JavaScript must be enabled to correctly display this content

## Get all valid country

get

/service/lmm/country

This endpoints will be used to Get all valid country maintenance records.

### Request

Supported Media Types

- application/json
- application/xml

Query Parameters

- authStat(optional): string
- countryCode(optional): string
- countryName(optional): string
- currencyCode(optional): string
- id(optional): string
- includecloseandunauth(optional): boolean
  includecloseandunauth need to be set to fetch summary record, defult value is false
- limit(optional): integer
  limit is maximum no of records to be fetched
- offset(optional): integer
  offset is starting no of records to be fetched
- recordStat(optional): string

Back to Top

### Response

Supported Media Types

- application/json
- application/xml

#### 201 Response

Returns message of success or failure
Headers

- Location: string

Body ()
Root Schema : LmmTmCountryParametersCollection
Type: `object`
Collection of countryparameters.
Show Source

- data(optional): array data
- paging(optional): object PagingDto

    {
        "description":"Collection of countryparameters.",
        "type":"object",
        "properties":{
            "data":{
                "type":"array",
                "items":{
                    "$ref":"#/definitions/LmmTmCountryParametersDTO"
                }
            },
            "paging":{
                "$ref":"#/definitions/PagingDto"
            }
        }
    }

Nested Schema : data
Type: `array`
Show Source

- Array of: object LmmTmCountryParametersDTO

    {
        "type":"array",
        "items":{
            "$ref":"#/definitions/LmmTmCountryParametersDTO"
        }
    }

Nested Schema : PagingDto
Type: `object`
Show Source

- totalResults(optional): integer

    {
        "type":"object",
        "properties":{
            "totalResults":{
                "type":"integer"
            }
        }
    }

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.

#### 405 Response

Invalid input

#### 500 Response

Internal error
Back to Top