Skip to content

Movement List with unnecessary information  #2

@SilvaAriel

Description

@SilvaAriel

Account movement returns:
_embedded
movementVOList

{
    "_embedded": {
        "movementVOList": [
            {
                "movementId": 1,
                "date": "2020-06-18T18:48:52.759+0000",
                "detail": "Deposit",
                "value": 10.0,
                "account": {
                    "accountId": 1,
                    "name": "account1",
                    "balance": 60.0,
                    "movements": null,
                    "status": true
                },
                "destAccountId": 0
            }
        ]
    },
    "_links": {
        "self": {
            "href": "http://localhost:8080/api/account?id=1"
        },
        "deposit": {
            "href": "http://localhost:8080/api/deposit"
        },
        "withdraw": {
            "href": "http://localhost:8080/api/withdraw"
        },
        "transfer": {
            "href": "http://localhost:8080/api/transfer"
        },
        "movement_by_date": {
            "href": "http://localhost:8080/api/movement?id=1&by=date"
        },
        "movement_by_value": {
            "href": "http://localhost:8080/api/movement?id=1&by=value"
        },
        "close": {
            "href": "http://localhost:8080/api/account"
        }
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions