Changes for page API

Last modified by David Persson on 2022/08/11 10:43
From version 18.1
edited by David Persson
on 2020/01/17 00:13
To version 18.2
edited by David Persson
on 2020/01/30 15:05
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -32,6 +32,24 @@
32 32  
33 33  ----
34 34  
35 +(% class="wikigeneratedid" %)
36 +==== Route segments ====
37 +
38 +(% class="box" %)
39 +(((
40 +Each resource in the API corresponds to its own route. All routes are structured according to a specific standard, explained below
41 +)))
42 +
43 +The below route is an example of a route towards resource3Id, to operate on this resource you must also include the ids of its parentresources in the route.
44 +//api.payex.com/ledger/**{Subdomain}**/v1/(% data-stringify-type="bold" %)**{LedgerNumber}**(%%)/resource1/(% data-stringify-type="bold" %)**{resource1Id}**(%%)/resource2/(% data-stringify-type="bold" %)**{resource2Id}**(%%)/resource3/(% data-stringify-type="bold" %)**{resource3Id}**//
45 +
46 +|=(% style="width: 182px;" %)Route segment|=(% style="width: 3212px;" %)Description
47 +|(% style="width:182px" %)Subdomain|(% style="width:3212px" %)which subdomain under "ledger" to call, (credit-account / credit-account-acquiring etc.)
48 +|(% style="width:182px" %)LedgerNumber|(% style="width:3212px" %)The ledger identifier/number at PayEx
49 +|(% style="width:182px" %)resource1Id|(% style="width:3212px" %)Identifier of resource1
50 +|(% style="width:182px" %)resource2Id|(% style="width:3212px" %)identifier of resource2, subresource to resource1
51 +|(% style="width:182px" %)resource3Id|(% style="width:3212px" %)identifier of resource3, subresource to resource2
52 +
35 35  ==== Basic resources ====
36 36  
37 37  (% class="box" %)