From version 55.1
edited by Mikael Widström
on 2020/01/09 10:01
To version 56.1
edited by Mikael Widström
on 2020/01/09 10:17
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -11,6 +11,9 @@
11 11  The **accounts** resource located under **ledger/credit-account/v1/ **api**. **The accounts- and its sub-resources are used to created, read and modify information related to a credit-account.
12 12  
13 13  
14 +=== Requesting details of a specific account ===
15 +
16 +
14 14  {{code language="http" title="**Request**"}}
15 15  GET /ledger/credit-account/v1/XXX/accounts/YYY HTTP/1.1
16 16  Host: -
... ... @@ -19,7 +19,6 @@
19 19  {{/code}}
20 20  
21 21  
22 -
23 23  {{code language="http" title="**Response**"}}
24 24  HTTP/1.1 200 OK
25 25  Content-Type: application/json
... ... @@ -135,10 +135,12 @@
135 135  
136 136  === Bills ===
137 137  
140 +The bills resources contains all the documents produced in the accounts billing cycle.
138 138  
139 -==== List ====
140 140  
143 +==== Requesting list of bills belonging to a specific account ====
141 141  
145 +
142 142  {{code language="http" title="**Request**"}}
143 143  GET /ledger/credit-account/v1/XXX/accounts/123/bills HTTP/1.1
144 144  Host: -
... ... @@ -161,9 +161,12 @@
161 161  }
162 162  {{/code}}
163 163  
164 -==== Resource ====
168 +(% class="wikigeneratedid" %)
169 +==== ====
165 165  
171 +==== Requesting details of a specific bill ====
166 166  
173 +
167 167  {{code language="http" title="**Request**"}}
168 168  GET /ledger/credit-account/v1/XXX/accounts/123/bills/456 HTTP/1.1
169 169  Host: -
... ... @@ -234,10 +234,13 @@
234 234  |(% style="width:337px" %)activePaymentOrder.amount|(% style="width:205px" %)decimal|(% style="width:208px" %) |(% style="width:621px" %)**INTERN KOMMENTAR - **beroende på directdebittype så kan denna vara beräknad vid varje hämtning (utifrån ev. delbet)
235 235  |(% style="width:337px" %)pdf|(% style="width:205px" %)string|(% style="width:208px" %)Url|(% style="width:621px" %)Url to download pdf
236 236  
237 -=== direct-debit / recurring-payment ===
238 -
244 +(% class="wikigeneratedid" %)
239 239  === ===
240 240  
247 +(% class="wikigeneratedid" %)
248 +=== Direct-debit / recurring-payment ===
249 +
250 +
241 241  {{code language="http" title="**Request**"}}
242 242  POST /ledger/credit-account/v1/XXX/accounts/123/direct-debit HTTP/1.1
243 243  Host: -

Tips

If you're starting with XWiki, check out the Getting Started Guide.

Need help?

If you need help with XWiki you can contact: