Changes for page account

Last modified by David Persson on 2024/02/21 07:42
From version 60.1
edited by David Persson
on 2023/08/25 14:25
To version 61.1
edited by Per Karlsson
on 2023/11/20 16:08
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.dap
1 +xwiki:XWiki.pkn
Content
... ... @@ -58,7 +58,7 @@
58 58  
59 59  ==== Get a list of accounts ====
60 60  
61 -==== ====
61 +==== ====
62 62  
63 63  These querystring parameters are optional. preferably select one or the other, If both accountNo and customerNo is provided in querystring accountNo have to belong to the customerNo
64 64  
... ... @@ -143,7 +143,7 @@
143 143  
144 144  ==== Get a specific account ====
145 145  
146 -==== ====
146 +==== ====
147 147  
148 148  {{code language="http" title="**Request**"}}
149 149  GET /ledger/account/v1/XXX/accounts/NNN HTTP/1.1
... ... @@ -216,6 +216,7 @@
216 216  }
217 217  {{/code}}
218 218  
219 +(% class="wikigeneratedid" %)
219 219  ==== Change charitydonation ====
220 220  
221 221  {{code language="http" title="**Request**"}}
... ... @@ -229,7 +229,25 @@
229 229  }
230 230  {{/code}}
231 231  
233 +{{code language="http" title="**Response**"}}
234 +HTTP/1.1 204 NO CONTENT
235 +Content-Type: application/json
232 232  
237 +{{/code}}
238 +
239 +==== Change charitydonation ====
240 +
241 +{{code language="http" title="**Request**"}}
242 +PATCH /ledger/account/v1/XXX/accounts/NNN HTTP/1.1
243 +Host: -
244 +Authorization: Bearer <Token>
245 +Content-Type: application/json
246 +
247 +{
248 + "charityDonation": false
249 +}
250 +{{/code}}
251 +
233 233  {{code language="http" title="**Response**"}}
234 234  HTTP/1.1 204 NO CONTENT
235 235  Content-Type: application/json
... ... @@ -426,7 +426,7 @@
426 426  }
427 427  {{/code}}
428 428  
429 -==== ====
448 +==== ====
430 430  
431 431  ==== Get specific bill ====
432 432  
... ... @@ -957,7 +957,7 @@
957 957  }
958 958  {{/code}}
959 959  
960 -==== ====
979 +==== ====
961 961  
962 962  ==== Active-payment-orders resource properties ====
963 963  
... ... @@ -971,7 +971,7 @@
971 971  )))
972 972  |(% style="width:337px" %)amount|(% style="width:205px" %)decimal|(% style="width:208px" %) |(% style="width:58px" %) |(% style="width:1176px" %)The amount to debit the owner of the consent
973 973  
974 -=== ===
993 +=== ===
975 975  
976 976  {{display reference="developer:Main.Invoicing.ledger-api-general-docs.api-section-problems.WebHome"/}}
977 977