Changes for page account
Last modified by David Persson on 2024/02/21 07:42
From version 35.1
edited by Simon Melin
on 2022/04/28 11:02
on 2022/04/28 11:02
To version 36.1
edited by Simon Melin
on 2022/04/28 11:12
on 2022/04/28 11:12
Change comment: There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -62,6 +62,8 @@ 62 62 63 63 ==== ==== 64 64 65 +If both accountNo and customerNo is provided in qurystring accountNo will take precedence 66 + 65 65 {{code language="http" title="**Request**"}} 66 66 GET /ledger/account/v1/XXX/accounts?accountNo=123&customerNo=456 HTTP/1.1 67 67 Host: - ... ... @@ -74,7 +74,7 @@ 74 74 HTTP/1.1 200 OK 75 75 Content-Type: application/json 76 76 { 77 - "items" 79 + "items": [ 78 78 { 79 79 "@id": "/ledger/account/v1/XXX/accounts/NNN", 80 80 "accountNo": "1234567", ... ... @@ -134,9 +134,9 @@ 134 134 } 135 135 ], 136 136 "navigation": { 137 - "@id": "/ledger/account/v1/ 19260/accounts",138 - "first": "/ledger/account/v1/ 19260/accounts?skip=0",139 - "previous": "/ledger/account/v1/ 19260/accounts?skip=0"139 + "@id": "/ledger/account/v1/XXX/accounts", 140 + "first": "/ledger/account/v1/XXX/accounts?skip=0", 141 + "previous": "/ledger/account/v1/XXX/accounts?skip=0" 140 140 } 141 141 } 142 142 {{/code}}