Open MartinSpamer opened 5 years ago
If an invalid user ID (e.g. -1) is sent to the /account_entries resource then a full page of entries is return as if a call was made without any ID.
Expected behaviour Given the Request
GET http://radius-dev-v3.uk.cxn-network.net/api/accounting_entries?user=-1 HTTP/1.1 Accept-Encoding: gzip,deflate Authorization: Basic bWFydGluOmNvbm5leGluMTIzNDU2 accept: application/json Host: radius-dev-v3.uk.cxn-network.net Connection: Keep-Alive User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
Then an empty list of accounting entries or a 404 warning/error should be returned
Actual Behaviour Then the response is a full page of 25 entries
{ "AccountingEntries": [ { "radacctid": "36", "acctsessionid": "81200d4e", "acctuniqueid": "36d88b8586ba1fe220204bb5ddb5cf58", "username": "C10F7211CB80CD2A0267", "groupname": "", "realm": "", "nasipaddress": "1.1.1.1", "nasportid": "", "nasporttype": "other", "acctstarttime": "2019-04-16T16:15:00Z", "acctupdatetime": "2019-04-16T16:15:00Z", "acctstoptime": null, "acctinterval": null, "acctsessiontime": null, "acctauthentic": null, "connectinfo_start": null, "connectinfo_stop": null, "acctinputoctets": "92233722589", "acctoutputoctets": "8589934369", "calledstationid": "callingid", "callingstationid": "", "acctterminatecause": "", "servicetype": null, "framedprotocol": null, "framedipaddress": "" }, { "radacctid": "37", "acctsessionid": "00000FA6", "acctuniqueid": "f2267386067043d1e4a9180755b5d955", "username": "C10F7211CB80CD2A0267", "groupname": "", "realm": "", "nasipaddress": "185.6.154.1", "nasportid": "0/0/0/50.500", "nasporttype": "other", "acctstarttime": "2019-04-09T00:00:00Z", "acctupdatetime": "2019-04-09T10:01:00Z", "acctstoptime": "2019-04-09T10:01:00Z", "acctinterval": "62", "acctsessiontime": "570", "acctauthentic": "RADIUS", "connectinfo_start": "", "connectinfo_stop": "", "acctinputoctets": "15734", "acctoutputoctets": "58", "calledstationid": "calledid", "callingstationid": "callingid", "acctterminatecause": "User-Request", "servicetype": "Framed-User", "framedprotocol": "PPP", "framedipaddress": "10.0.0.29" }, { "radacctid": "265", "acctsessionid": "0/0/0/50.500_0300000000019DCE", "acctuniqueid": "d58dd570f90bd59a494828521d485540", "username": "C10F7211CB80CD2A0267", "groupname": "", "realm": "", "nasipaddress": "185.6.154.1", "nasportid": "0/0/0/50.500", "nasporttype": "PPPoEoQinQ", "acctstarttime": "2019-04-04T11:37:00Z", "acctupdatetime": "2019-04-04T11:51:45Z", "acctstoptime": "2019-04-04T11:52:01Z", "acctinterval": "63", "acctsessiontime": "901", "acctauthentic": "RADIUS", "connectinfo_start": "", "connectinfo_stop": "", "acctinputoctets": "41135674", "acctoutputoctets": "95046769", "calledstationid": "office.ptp.torpoint.hu.uk.cxn-network.net", "callingstationid": "B4-B6-86-BA-3B-B0", "acctterminatecause": "Admin-Reset", "servicetype": "Framed-User", "framedprotocol": "PPP", "framedipaddress": "10.0.0.40" }, { "radacctid": "264", "acctsessionid": "0/0/0/50.500_0300000000019DCD", "acctuniqueid": "19941ba071157ce1a8173a3f5c968412", "username": "C10F7211CB80CD2A0267", "groupname": "", "realm": "", "nasipaddress": "185.6.154.1", "nasportid": "0/0/0/50.500", "nasporttype": "PPPoEoQinQ", "acctstarttime": "2019-04-04T11:18:27Z", "acctupdatetime": "2019-04-04T11:22:36Z", "acctstoptime": "2019-04-04T11:23:01Z", "acctinterval": "63", "acctsessiontime": "274", "acctauthentic": "RADIUS", "connectinfo_start": "", "connectinfo_stop": "", "acctinputoctets": "52856", "acctoutputoctets": "154420", "calledstationid": "office.ptp.torpoint.hu.uk.cxn-network.net", "callingstationid": "B4-B6-86-BA-3B-B0", "acctterminatecause": "Admin-Reset", "servicetype": "Framed-User", "framedprotocol": "PPP", "framedipaddress": "10.0.0.39" }, { "radacctid": "263", "acctsessionid": "0/0/0/50.500_0300000000019DCB", "acctuniqueid": "459f46fb0fc9934df4fef677cfbd8cce", "username": "C10F7211CB80CD2A0267", "groupname": "", "realm": "", "nasipaddress": "185.6.154.1", "nasportid": "0/0/0/50.500", "nasporttype": "PPPoEoQinQ", "acctstarttime": "2019-04-04T11:14:10Z", "acctupdatetime": "2019-04-04T11:14:10Z", "acctstoptime": "2019-04-04T11:15:04Z", "acctinterval": null, "acctsessiontime": "54", "acctauthentic": "RADIUS", "connectinfo_start": "", "connectinfo_stop": "", "acctinputoctets": "41677243", "acctoutputoctets": "181561527", "calledstationid": "office.ptp.torpoint.hu.uk.cxn-network.net", "callingstationid": "B4-B6-86-BA-3B-B0", "acctterminatecause": "User-Request", "servicetype": "Framed-User", "framedprotocol": "PPP", "framedipaddress": "" }, { "radacctid": "262", "acctsessionid": "0/0/0/50.500_0300000000019DC9", "acctuniqueid": "16f8063eaa1615e255abc73f4e7b382b", "username": "C10F7211CB80CD2A0267", "groupname": "", "realm": "", "nasipaddress": "185.6.154.1", "nasportid": "0/0/0/50.500", "nasporttype": "PPPoEoQinQ", "acctstarttime": "2019-04-04T11:06:09Z", "acctupdatetime": "2019-04-04T11:10:21Z", "acctstoptime": "2019-04-04T11:11:01Z", "acctinterval": "61", "acctsessiontime": "292", "acctauthentic": "RADIUS", "connectinfo_start": "", "connectinfo_stop": "", "acctinputoctets": "439233", "acctoutputoctets": "17760564", "calledstationid": "office.ptp.torpoint.hu.uk.cxn-network.net", "callingstationid": "B4-B6-86-BA-3B-B0", "acctterminatecause": "Admin-Reset", "servicetype": "Framed-User", "framedprotocol": "PPP", "framedipaddress": "10.0.0.37" }, { "radacctid": "261", "acctsessionid": "0/0/0/50.500_0300000000019DC7", "acctuniqueid": "f93788fb87f180dcb750e9aa50e35b7c", "username": "C10F7211CB80CD2A0267", "groupname": "", "realm": "", "nasipaddress": "185.6.154.1", "nasportid": "0/0/0/50.500", "nasporttype": "PPPoEoQinQ", "acctstarttime": "2019-04-04T11:04:19Z", "acctupdatetime": "2019-04-04T11:04:19Z", "acctstoptime": "2019-04-04T11:04:56Z", "acctinterval": null, "acctsessiontime": "37", "acctauthentic": "RADIUS", "connectinfo_start": "", "connectinfo_stop": "", "acctinputoctets": "49909", "acctoutputoctets": "474839", "calledstationid": "office.ptp.torpoint.hu.uk.cxn-network.net", "callingstationid": "B4-B6-86-BA-3B-B0", "acctterminatecause": "Admin-Reset", "servicetype": "Framed-User", "framedprotocol": "PPP", "framedipaddress": "" }, { "radacctid": "260", "acctsessionid": "0/0/0/50.500_0300000000019DC6", "acctuniqueid": "ef0289f99401d726d542724566ba266e", "username": "C10F7211CB80CD2A0267", "groupname": "", "realm": "", "nasipaddress": "185.6.154.1", "nasportid": "0/0/0/50.500", "nasporttype": "PPPoEoQinQ", "acctstarttime": "2019-04-04T11:01:08Z", "acctupdatetime": "2019-04-04T11:04:13Z", "acctstoptime": "2019-04-04T11:04:17Z", "acctinterval": "60", "acctsessiontime": "189", "acctauthentic": "RADIUS", "connectinfo_start": "", "connectinfo_stop": "", "acctinputoctets": "166359419", "acctoutputoctets": "43897578", "calledstationid": "office.ptp.torpoint.hu.uk.cxn-network.net", "callingstationid": "B4-B6-86-BA-3B-B0", "acctterminatecause": "User-Request", "servicetype": "Framed-User", "framedprotocol": "PPP", "framedipaddress": "10.0.0.34" }, { "radacctid": "259", "acctsessionid": "0/0/0/50.500_0300000000019DC5", "acctuniqueid": "a45c462fd3a452d13d5d428f1e075dbf", "username": "C10F7211CB80CD2A0267", "groupname": "", "realm": "", "nasipaddress": "185.6.154.1", "nasportid": "0/0/0/50.500", "nasporttype": "PPPoEoQinQ", "acctstarttime": "2019-04-04T10:58:51Z", "acctupdatetime": "2019-04-04T10:59:55Z", "acctstoptime": "2019-04-04T11:00:02Z", "acctinterval": "64", "acctsessiontime": "71", "acctauthentic": "RADIUS", "connectinfo_start": "", "connectinfo_stop": "", "acctinputoctets": "279904", "acctoutputoctets": "898097", "calledstationid": "office.ptp.torpoint.hu.uk.cxn-network.net", "callingstationid": "B4-B6-86-BA-3B-B0", "acctterminatecause": "Admin-Reset", "servicetype": "Framed-User", "framedprotocol": "PPP", "framedipaddress": "10.0.0.33" }, { "radacctid": "258", "acctsessionid": "0/0/0/50.500_0300000000019DC4", "acctuniqueid": "0497cd0a3b2a8d09bc37691abe2d56bf", "username": "C10F7211CB80CD2A0267", "groupname": "", "realm": "", "nasipaddress": "185.6.154.1", "nasportid": "0/0/0/50.500", "nasporttype": "PPPoEoQinQ", "acctstarttime": "2019-04-04T10:52:44Z", "acctupdatetime": "2019-04-04T10:56:56Z", "acctstoptime": "2019-04-04T10:58:01Z", "acctinterval": "60", "acctsessiontime": "317", "acctauthentic": "RADIUS", "connectinfo_start": "", "connectinfo_stop": "", "acctinputoctets": "4450005", "acctoutputoctets": "112947433", "calledstationid": "office.ptp.torpoint.hu.uk.cxn-network.net", "callingstationid": "B4-B6-86-BA-3B-B0", "acctterminatecause": "Admin-Reset", "servicetype": "Framed-User", "framedprotocol": "PPP", "framedipaddress": "10.0.0.32" }, { "radacctid": "257", "acctsessionid": "0/0/0/50.500_0300000000019DB7", "acctuniqueid": "95693d32540a089bab753a75fadf7cc7", "username": "C10F7211CB80CD2A0267", "groupname": "", "realm": "", "nasipaddress": "185.6.154.1", "nasportid": "0/0/0/50.500", "nasporttype": "PPPoEoQinQ", "acctstarttime": "2019-04-04T10:09:03Z", "acctupdatetime": "2019-04-04T10:10:06Z", "acctstoptime": "2019-04-04T10:10:55Z", "acctinterval": "63", "acctsessiontime": "112", "acctauthentic": "RADIUS", "connectinfo_start": "", "connectinfo_stop": "", "acctinputoctets": "159205060", "acctoutputoctets": "250894990", "calledstationid": "office.ptp.torpoint.hu.uk.cxn-network.net", "callingstationid": "B4-B6-86-BA-3B-B0", "acctterminatecause": "User-Request", "servicetype": "Framed-User", "framedprotocol": "PPP", "framedipaddress": "10.0.0.31" }, { "radacctid": "266", "acctsessionid": "fga768asg", "acctuniqueid": "fva8tsad8ftasdy7as8asrf6abs67ft", "username": "C10F7211CB80CD2A0267", "groupname": "", "realm": "", "nasipaddress": "2.2.2.2", "nasportid": null, "nasporttype": "other", "acctstarttime": "2019-03-30T00:01:00Z", "acctupdatetime": "2019-03-30T00:01:00Z", "acctstoptime": "2019-03-30T00:01:00Z", "acctinterval": null, "acctsessiontime": null, "acctauthentic": null, "connectinfo_start": null, "connectinfo_stop": null, "acctinputoctets": "9223372258", "acctoutputoctets": "85899343698", "calledstationid": "test", "callingstationid": "", "acctterminatecause": "", "servicetype": null, "framedprotocol": null, "framedipaddress": "" }, { "radacctid": "256", "acctsessionid": "0/0/0/50.500_0300000000019D5A", "acctuniqueid": "def8b16e6c2ce7b7dbbe20cc73434a6a", "username": "C10F7211CB80CD2A0267", "groupname": "", "realm": "", "nasipaddress": "185.6.154.1", "nasportid": "0/0/0/50.500", "nasporttype": "PPPoEoQinQ", "acctstarttime": "2019-03-21T11:43:22Z", "acctupdatetime": "2019-03-21T11:51:37Z", "acctstoptime": "2019-03-21T11:51:57Z", "acctinterval": "61", "acctsessiontime": "515", "acctauthentic": "RADIUS", "connectinfo_start": "", "connectinfo_stop": "", "acctinputoctets": "210013", "acctoutputoctets": "1029548", "calledstationid": "office.ptp.torpoint.hu.uk.cxn-network.net", "callingstationid": "B4-B6-86-BA-3B-B0", "acctterminatecause": "User-Request", "servicetype": "Framed-User", "framedprotocol": "PPP", "framedipaddress": "10.0.0.29" }, { "radacctid": "255", "acctsessionid": "0/0/0/50.500_0300000000019D58", "acctuniqueid": "5aa5b89f337f5011e49facd72acd31be", "username": "C10F7211CB80CD2A0267", "groupname": "", "realm": "", "nasipaddress": "185.6.154.1", "nasportid": "0/0/0/50.500", "nasporttype": "PPPoEoQinQ", "acctstarttime": "2019-03-21T11:08:39Z", "acctupdatetime": "2019-03-21T11:42:16Z", "acctstoptime": "2019-03-21T11:42:18Z", "acctinterval": "65", "acctsessiontime": "2019", "acctauthentic": "RADIUS", "connectinfo_start": "", "connectinfo_stop": "", "acctinputoctets": "41477607", "acctoutputoctets": "57333756", "calledstationid": "office.ptp.torpoint.hu.uk.cxn-network.net", "callingstationid": "B4-B6-86-BA-3B-B0", "acctterminatecause": "Admin-Reset", "servicetype": "Framed-User", "framedprotocol": "PPP", "framedipaddress": "10.0.0.28" }, { "radacctid": "254", "acctsessionid": "0/0/0/50.500_0300000000019D55", "acctuniqueid": "720b80001363b9bda465b23c0679b765", "username": "C10F7211CB80CD2A0267", "groupname": "", "realm": "", "nasipaddress": "185.6.154.1", "nasportid": "0/0/0/50.500", "nasporttype": "PPPoEoQinQ", "acctstarttime": "2019-03-21T10:57:52Z", "acctupdatetime": "2019-03-21T11:06:23Z", "acctstoptime": "2019-03-21T11:06:31Z", "acctinterval": "61", "acctsessiontime": "519", "acctauthentic": "RADIUS", "connectinfo_start": "", "connectinfo_stop": "", "acctinputoctets": "169432577", "acctoutputoctets": "183738110", "calledstationid": "office.ptp.torpoint.hu.uk.cxn-network.net", "callingstationid": "B4-B6-86-BA-3B-B0", "acctterminatecause": "Admin-Reset", "servicetype": "Framed-User", "framedprotocol": "PPP", "framedipaddress": "10.0.0.27" }, { "radacctid": "253", "acctsessionid": "0/0/0/50.500_0300000000019D54", "acctuniqueid": "ba76e12288263fa74fcbbb4e43e76f32", "username": "C10F7211CB80CD2A0267", "groupname": "", "realm": "", "nasipaddress": "185.6.154.1", "nasportid": "0/0/0/50.500", "nasporttype": "PPPoEoQinQ", "acctstarttime": "2019-03-21T10:56:27Z", "acctupdatetime": "2019-03-21T10:57:30Z", "acctstoptime": "2019-03-21T10:57:50Z", "acctinterval": "63", "acctsessiontime": "83", "acctauthentic": "RADIUS", "connectinfo_start": "", "connectinfo_stop": "", "acctinputoctets": "4418559", "acctoutputoctets": "246578641", "calledstationid": "office.ptp.torpoint.hu.uk.cxn-network.net", "callingstationid": "B4-B6-86-BA-3B-B0", "acctterminatecause": "User-Request", "servicetype": "Framed-User", "framedprotocol": "PPP", "framedipaddress": "10.0.0.26" }, { "radacctid": "252", "acctsessionid": "0/0/0/50.500_0300000000019D53", "acctuniqueid": "f37cc0ce30b4a8f6c0e6c9d257afcc63", "username": "C10F7211CB80CD2A0267", "groupname": "", "realm": "", "nasipaddress": "185.6.154.1", "nasportid": "0/0/0/50.500", "nasporttype": "PPPoEoQinQ", "acctstarttime": "2019-03-21T10:52:11Z", "acctupdatetime": "2019-03-21T10:55:17Z", "acctstoptime": "2019-03-21T10:56:14Z", "acctinterval": "63", "acctsessiontime": "243", "acctauthentic": "RADIUS", "connectinfo_start": "", "connectinfo_stop": "", "acctinputoctets": "312804027", "acctoutputoctets": "226913625", "calledstationid": "office.ptp.torpoint.hu.uk.cxn-network.net", "callingstationid": "B4-B6-86-BA-3B-B0", "acctterminatecause": "Admin-Reset", "servicetype": "Framed-User", "framedprotocol": "PPP", "framedipaddress": "10.0.0.25" }, { "radacctid": "251", "acctsessionid": "0/0/0/50.500_0300000000019D52", "acctuniqueid": "f000df33122578b7d4a8704413342ed9", "username": "C10F7211CB80CD2A0267", "groupname": "", "realm": "", "nasipaddress": "185.6.154.1", "nasportid": "0/0/0/50.500", "nasporttype": "PPPoEoQinQ", "acctstarttime": "2019-03-21T10:48:20Z", "acctupdatetime": "2019-03-21T10:51:33Z", "acctstoptime": "2019-03-21T10:52:09Z", "acctinterval": "65", "acctsessiontime": "229", "acctauthentic": "RADIUS", "connectinfo_start": "", "connectinfo_stop": "", "acctinputoctets": "171385344", "acctoutputoctets": "444294600", "calledstationid": "office.ptp.torpoint.hu.uk.cxn-network.net", "callingstationid": "B4-B6-86-BA-3B-B0", "acctterminatecause": "User-Request", "servicetype": "Framed-User", "framedprotocol": "PPP", "framedipaddress": "10.0.0.24" }, { "radacctid": "250", "acctsessionid": "0/0/0/50.500_0300000000019D43", "acctuniqueid": "d1137616f07211474a277a096f4cbf72", "username": "C10F7211CB80CD2A0267", "groupname": "", "realm": "", "nasipaddress": "185.6.154.1", "nasportid": "0/0/0/50.500", "nasporttype": "PPPoEoQinQ", "acctstarttime": "2019-03-21T10:17:19Z", "acctupdatetime": "2019-03-21T10:17:19Z", "acctstoptime": "2019-03-21T10:17:25Z", "acctinterval": null, "acctsessiontime": "6", "acctauthentic": "RADIUS", "connectinfo_start": "", "connectinfo_stop": "", "acctinputoctets": "134007", "acctoutputoctets": "752304", "calledstationid": "office.ptp.torpoint.hu.uk.cxn-network.net", "callingstationid": "B4-B6-86-BA-3B-B0", "acctterminatecause": "User-Request", "servicetype": "Framed-User", "framedprotocol": "PPP", "framedipaddress": "" }, { "radacctid": "249", "acctsessionid": "0/0/0/50.500_0300000000019D42", "acctuniqueid": "c02fe9799f23f1ead15353577c7487b9", "username": "C10F7211CB80CD2A0267", "groupname": "", "realm": "", "nasipaddress": "185.6.154.1", "nasportid": "0/0/0/50.500", "nasporttype": "PPPoEoQinQ", "acctstarttime": "2019-03-21T10:10:21Z", "acctupdatetime": "2019-03-21T10:16:34Z", "acctstoptime": "2019-03-21T10:17:16Z", "acctinterval": "62", "acctsessiontime": "415", "acctauthentic": "RADIUS", "connectinfo_start": "", "connectinfo_stop": "", "acctinputoctets": "4263373", "acctoutputoctets": "165123040", "calledstationid": "office.ptp.torpoint.hu.uk.cxn-network.net", "callingstationid": "B4-B6-86-BA-3B-B0", "acctterminatecause": "User-Request", "servicetype": "Framed-User", "framedprotocol": "PPP", "framedipaddress": "10.0.0.22" }, { "radacctid": "248", "acctsessionid": "0/0/0/50.500_0300000000019C64", "acctuniqueid": "95e6ba175cf971d95706a2af6b162a8e", "username": "C10F7211CB80CD2A0267", "groupname": "", "realm": "", "nasipaddress": "185.6.154.1", "nasportid": "0/0/0/50.500", "nasporttype": "PPPoEoQinQ", "acctstarttime": "2019-03-19T09:38:34Z", "acctupdatetime": "2019-03-19T09:38:34Z", "acctstoptime": "2019-03-19T09:39:02Z", "acctinterval": null, "acctsessiontime": "28", "acctauthentic": "RADIUS", "connectinfo_start": "", "connectinfo_stop": "", "acctinputoctets": "129900", "acctoutputoctets": "679347", "calledstationid": "office.ptp.torpoint.hu.uk.cxn-network.net", "callingstationid": "B4-B6-86-BA-3B-B0", "acctterminatecause": "Admin-Reset", "servicetype": "Framed-User", "framedprotocol": "PPP", "framedipaddress": "" }, { "radacctid": "247", "acctsessionid": "0/0/0/50.500_0300000000019C63", "acctuniqueid": "5016a0b93a300cd096e3f3c35ec98f33", "username": "C10F7211CB80CD2A0267", "groupname": "", "realm": "", "nasipaddress": "185.6.154.1", "nasportid": "0/0/0/50.500", "nasporttype": "PPPoEoQinQ", "acctstarttime": "2019-03-19T09:33:19Z", "acctupdatetime": "2019-03-19T09:38:30Z", "acctstoptime": "2019-03-19T09:38:31Z", "acctinterval": "63", "acctsessiontime": "312", "acctauthentic": "RADIUS", "connectinfo_start": "", "connectinfo_stop": "", "acctinputoctets": "443070", "acctoutputoctets": "1153031", "calledstationid": "office.ptp.torpoint.hu.uk.cxn-network.net", "callingstationid": "B4-B6-86-BA-3B-B0", "acctterminatecause": "User-Request", "servicetype": "Framed-User", "framedprotocol": "PPP", "framedipaddress": "10.0.0.17" }, { "radacctid": "246", "acctsessionid": "0/0/0/50.500_0300000000019C5D", "acctuniqueid": "96c1b10a8acd89d2abb6179868f3e4e4", "username": "C10F7211CB80CD2A0267", "groupname": "", "realm": "", "nasipaddress": "185.6.154.1", "nasportid": "0/0/0/50.500", "nasporttype": "PPPoEoQinQ", "acctstarttime": "2019-03-19T09:24:37Z", "acctupdatetime": "2019-03-19T09:24:37Z", "acctstoptime": "2019-03-19T09:25:01Z", "acctinterval": null, "acctsessiontime": "24", "acctauthentic": "RADIUS", "connectinfo_start": "", "connectinfo_stop": "", "acctinputoctets": "1426798", "acctoutputoctets": "53919917", "calledstationid": "office.ptp.torpoint.hu.uk.cxn-network.net", "callingstationid": "B4-B6-86-BA-3B-B0", "acctterminatecause": "Admin-Reset", "servicetype": "Framed-User", "framedprotocol": "PPP", "framedipaddress": "" }, { "radacctid": "245", "acctsessionid": "0/0/0/50.500_0300000000019C55", "acctuniqueid": "c36e7b86bf4054d0f1b9965d7234b067", "username": "C10F7211CB80CD2A0267", "groupname": "", "realm": "", "nasipaddress": "185.6.154.1", "nasportid": "0/0/0/50.500", "nasporttype": "PPPoEoQinQ", "acctstarttime": "2019-03-18T17:12:07Z", "acctupdatetime": "2019-03-18T17:31:37Z", "acctstoptime": "2019-03-18T17:32:13Z", "acctinterval": "64", "acctsessiontime": "1206", "acctauthentic": "RADIUS", "connectinfo_start": "", "connectinfo_stop": "", "acctinputoctets": "17103639", "acctoutputoctets": "940483608", "calledstationid": "office.ptp.torpoint.hu.uk.cxn-network.net", "callingstationid": "B4-B6-86-BA-3B-B0", "acctterminatecause": "User-Request", "servicetype": "Framed-User", "framedprotocol": "PPP", "framedipaddress": "10.0.0.15" }, { "radacctid": "244", "acctsessionid": "0/0/0/50.500_0300000000019C09", "acctuniqueid": "9fd0d09ec2d48b37849bab0ed6aea0ec", "username": "C10F7211CB80CD2A0267", "groupname": "", "realm": "", "nasipaddress": "185.6.154.1", "nasportid": "0/0/0/50.500", "nasporttype": "PPPoEoQinQ", "acctstarttime": "2019-03-18T16:56:57Z", "acctupdatetime": "2019-03-18T16:56:57Z", "acctstoptime": "2019-03-18T16:57:02Z", "acctinterval": null, "acctsessiontime": "5", "acctauthentic": "RADIUS", "connectinfo_start": "", "connectinfo_stop": "", "acctinputoctets": "0", "acctoutputoctets": "76", "calledstationid": "office.ptp.torpoint.hu.uk.cxn-network.net", "callingstationid": "B4-B6-86-BA-3B-B0", "acctterminatecause": "Admin-Reset", "servicetype": "Framed-User", "framedprotocol": "PPP", "framedipaddress": "" } ], "meta": { "page": 1, "limit": 25 } }
If an invalid user ID (e.g. -1) is sent to the /account_entries resource then a full page of entries is return as if a call was made without any ID.
Expected behaviour Given the Request
Then an empty list of accounting entries or a 404 warning/error should be returned
Actual Behaviour Then the response is a full page of 25 entries