Deposits
Get deposit
Changed onGet deposit
get/deposits/{id}
Request
- Base URLhttp://localhost/app4legal/api/v2/money
- AuthOAuth 2PasswordToken URLhttp://localhost/app4legal/api/v2/core/login
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idinteger required
Response
Get Deposit
Example response
{
"message": "Success",
"deposit": [
{
"id": 1,
"deposit_id": "DP1",
"organization_id": 1,
"voucher_header_id": 10,
"deposited_on": "2024-01-15",
"client_id": 2,
"client_name": "John Doe",
"currency_id": 234,
"exchange_rate": 1,
"foreign_amount": 100,
"trust_deposited": 100,
"payment_method": "Cash",
"ref_num": "0000001",
"description": "Deposit description",
"liability_account_id": 119,
"liability_account": "John Doe Trust Liability Account - USD (2)",
"liability_account_fl1": "John Doe Trust Liability Account - USD (2)",
"liability_account_fl2": "John Doe Trust Liability Account - USD (2)",
"asset_account_id": 20,
"asset_account": "Trust Asset Account - USD (1)",
"asset_account_fl1": "Compte d'actifs fiduciaires - USD (1)",
"asset_account_fl2": "حساب ائتماني للعملاء - USD (1)"
}
]
}Changes
- info
endpoint added
- info