Previous Next JavaScript must be enabled to correctly display this content

## Get all balances

get

/service/lmx/balanceFetch1

This endpoint is used to get all balances.

### Request

There are no request parameters for this operation.

Back to Top

### Response

Supported Media Types

- application/json
- application/xml

#### 201 Response

Returns message of succes or failure
Headers

- Location: string

Body ()
Root Schema : LmxTmAccountVdBalCollection
Type: `object`
Collection of balances.
Show Source

- data(optional): array data

    {
        "description":"Collection of balances.",
        "type":"object",
        "properties":{
            "data":{
                "type":"array",
                "items":{
                    "$ref":"#/definitions/LmxTmAccountVdBalDTO"
                }
            }
        }
    }

Nested Schema : data
Type: `array`
Show Source

- Array of: object LmxTmAccountVdBalDTO

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

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

- allOf GenericDto
- object LmxTmAccountVdBalDTO-allOf[1]

    {
        "type":"object",
        "allOf":[
            {
                "$ref":"#/definitions/GenericDto"
            },
            {
                "type":"object",
                "properties":{
                    "accountNumber":{
                        "type":"string",
                        "description":""
                    },
                    "branchCode":{
                        "type":"string",
                        "description":""
                    },
                    "currencyCode":{
                        "type":"string",
                        "description":""
                    },
                    "availableBalance":{
                        "type":"number",
                        "description":""
                    },
                    "vdBalance":{
                        "type":"number",
                        "description":""
                    },
                    "icBalance":{
                        "type":"number",
                        "description":""
                    },
                    "valueDate":{
                        "type":"string",
                        "description":""
                    },
                    "lastBalanceUpdate":{
                        "type":"string",
                        "description":"",
                        "format":"date"
                    },
                    "source":{
                        "type":"string",
                        "description":""
                    },
                    "balanceType":{
                        "type":"string",
                        "description":""
                    },
                    "sourceReference":{
                        "type":"string",
                        "description":""
                    },
                    "lastAvailableBalance":{
                        "type":"string",
                        "description":""
                    },
                    "isSimulation":{
                        "type":"string",
                        "description":""
                    },
                    "simulationAccount":{
                        "type":"string",
                        "description":""
                    }
                }
            }
        ]
    }

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 : LmxTmAccountVdBalDTO-allOf[1]
Type: `object`
Show Source

- accountNumber(optional): string
- availableBalance(optional): number
- balanceType(optional): string
- branchCode(optional): string
- currencyCode(optional): string
- icBalance(optional): number
- isSimulation(optional): string
- lastAvailableBalance(optional): string
- lastBalanceUpdate(optional): string(date)
- simulationAccount(optional): string
- source(optional): string
- sourceReference(optional): string
- valueDate(optional): string
- vdBalance(optional): number

    {
        "type":"object",
        "properties":{
            "accountNumber":{
                "type":"string",
                "description":""
            },
            "branchCode":{
                "type":"string",
                "description":""
            },
            "currencyCode":{
                "type":"string",
                "description":""
            },
            "availableBalance":{
                "type":"number",
                "description":""
            },
            "vdBalance":{
                "type":"number",
                "description":""
            },
            "icBalance":{
                "type":"number",
                "description":""
            },
            "valueDate":{
                "type":"string",
                "description":""
            },
            "lastBalanceUpdate":{
                "type":"string",
                "description":"",
                "format":"date"
            },
            "source":{
                "type":"string",
                "description":""
            },
            "balanceType":{
                "type":"string",
                "description":""
            },
            "sourceReference":{
                "type":"string",
                "description":""
            },
            "lastAvailableBalance":{
                "type":"string",
                "description":""
            },
            "isSimulation":{
                "type":"string",
                "description":""
            },
            "simulationAccount":{
                "type":"string",
                "description":""
            }
        }
    }

#### 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