Skip to content

Invoking the list() method of AccountsService class returns only the 1st page's items of paginated response. #71

@prantoamt

Description

@prantoamt

Invoking the list() method of AccountsService returns only the 1st page's item of paginated response.

For instance,
if the Fortnox returns the following data:

{
    "MetaInformation": {
        "@TotalResources": 1296,
        "@TotalPages": 13,
        "@CurrentPage": 1
    },
    "Accounts": [
        {
            "@url": "someurl",
            "Active": true,
            "BalanceBroughtForward": 0,
            "CostCenter": "",
            "CostCenterSettings": "ALLOWED",
            "Description": "Utvecklingsutgifter",
            "Number": 1010,
            "Project": "",
            "ProjectSettings": "ALLOWED",
            "SRU": 7201,
            "Year": 4,
            "VATCode": null
        },
       .
       .
       .
        {
            "@url": "someurl",
            "Active": true,
            "BalanceBroughtForward": 0,
            "CostCenter": "",
            "CostCenterSettings": "ALLOWED",
            "Description": "Balanserade utgifter för forskning och utveckling",
            "Number": 1011,
            "Project": "",
            "ProjectSettings": "ALLOWED",
            "SRU": 7201,
            "Year": 4,
            "VATCode": null
        }
}

The list() function returns the current page's items (1st 100 items).

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