|
4052 | 4052 | "Class" : { |
4053 | 4053 | "type" : "string", |
4054 | 4054 | "description" : "Organisation Classes describe which plan the Xero organisation is on (e.g. DEMO, TRIAL, PREMIUM)", |
4055 | | - "enum" : [ "DEMO", "TRIAL", "STARTER", "STANDARD", "PREMIUM", "PREMIUM_20", "PREMIUM_50", "PREMIUM_100", "LEDGER", "GST_CASHBOOK", "NON_GST_CASHBOOK", "ULTIMATE" ] |
| 4055 | + "enum" : [ "DEMO", "TRIAL", "STARTER", "STANDARD", "PREMIUM", "PREMIUM_20", "PREMIUM_50", "PREMIUM_100", "LEDGER", "GST_CASHBOOK", "NON_GST_CASHBOOK", "ULTIMATE", "LITE" ] |
4056 | 4056 | }, |
4057 | 4057 | "Edition" : { |
4058 | 4058 | "type" : "string", |
|
6065 | 6065 | <nav id="scrollingNav"> |
6066 | 6066 | <ul class="sidenav nav nav-list"> |
6067 | 6067 | <li class="nav-header" data-group="Accounting"><strong>SDK: </strong><span id='sdk-name'></span></li> |
6068 | | - <li class="nav-header" data-group="Accounting"><strong>VSN: </strong>4.20.0</li> |
| 6068 | + <li class="nav-header" data-group="Accounting"><strong>VSN: </strong>4.21.0</li> |
6069 | 6069 | <li class="nav-header" data-group="Accounting"><a href="#api-Accounting">Methods</a></li> |
6070 | 6070 | <li data-group="Accounting" data-name="createAccount" class=""> |
6071 | 6071 | <a href="#api-Accounting-createAccount">createAccount</a> |
|
6319 | 6319 | <li data-group="Accounting" data-name="getBankTransfers" class=""> |
6320 | 6320 | <a href="#api-Accounting-getBankTransfers">getBankTransfers</a> |
6321 | 6321 | </li> |
| 6322 | + <li data-group="Accounting" data-name="getBatchPayment" class=""> |
| 6323 | + <a href="#api-Accounting-getBatchPayment">getBatchPayment</a> |
| 6324 | + </li> |
6322 | 6325 | <li data-group="Accounting" data-name="getBatchPaymentHistory" class=""> |
6323 | 6326 | <a href="#api-Accounting-getBatchPaymentHistory">getBatchPaymentHistory</a> |
6324 | 6327 | </li> |
@@ -20848,6 +20851,138 @@ <h2>Parameters</h2> |
20848 | 20851 | </div> |
20849 | 20852 | </div> |
20850 | 20853 | </td> |
| 20854 | +</tr> |
| 20855 | + |
| 20856 | + </table> |
| 20857 | + </article> |
| 20858 | + </div> |
| 20859 | + <hr> |
| 20860 | + <div id="api-Accounting-getBatchPayment"> |
| 20861 | + <article id="api-Accounting-getBatchPayment-0" data-group="User" data-name="getBatchPayment" data-version="0"> |
| 20862 | + <div class="pull-left"> |
| 20863 | + <h1>getBatchPayment</h1> |
| 20864 | + <p>Retrieves a specific batch payment using a unique batch payment Id</p> |
| 20865 | + </div> |
| 20866 | + <div class="pull-right"></div> |
| 20867 | + <div class="clearfix"></div> |
| 20868 | + <p></p> |
| 20869 | + <p class="marked"></p> |
| 20870 | + <p></p> |
| 20871 | + <br /> |
| 20872 | + <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/BatchPayments/{BatchPaymentID}</span></code></pre> |
| 20873 | + <p> |
| 20874 | + <h3>Usage and SDK Samples</h3> |
| 20875 | + </p> |
| 20876 | + <ul class="nav nav-tabs nav-tabs-examples"> |
| 20877 | + <li class=""><a href="#examples-Accounting-getBatchPayment-0-java">Java</a></li> |
| 20878 | + </ul> |
| 20879 | + <div class="tab-content"> |
| 20880 | + <div class="tab-pane" id="examples-Accounting-getBatchPayment-0-java"> |
| 20881 | + <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.*; |
| 20882 | +import org.openapitools.client.api.client.AccountingApi; |
| 20883 | +import org.openapitools.client.models.accounting.*; |
| 20884 | + |
| 20885 | +import java.io.File; |
| 20886 | +import java.util.*; |
| 20887 | + |
| 20888 | +public class AccountingApiExample { |
| 20889 | + private AccountingApi apiInstance; |
| 20890 | + |
| 20891 | + public static void main(String[] args) { |
| 20892 | + String accessToken = "YOUR_ACCESS_TOKEN"; |
| 20893 | + ApiClient defaultClient = new ApiClient(); |
| 20894 | + |
| 20895 | + apiInstance = AccountingApi.getInstance(defaultClient); |
| 20896 | + String xeroTenantId = 'YOUR_XERO_TENANT_ID'; |
| 20897 | + UUID batchPaymentID = UUID.fromString("00000000-0000-0000-0000-000000000000"); |
| 20898 | + UUID batchPaymentID = '00000000-0000-0000-0000-000000000000'; |
| 20899 | + |
| 20900 | + try { |
| 20901 | + BatchPayments result = apiInstance.getBatchPayment(accessToken, xeroTenantId, batchPaymentID); |
| 20902 | + System.out.println(result); |
| 20903 | + } catch (XeroException e) { |
| 20904 | + System.err.println("Exception when calling AccountingApi#getBatchPayment"); |
| 20905 | + e.printStackTrace(); |
| 20906 | + } |
| 20907 | + } |
| 20908 | +}</code></pre> |
| 20909 | + </div> |
| 20910 | + </div> |
| 20911 | + <h2>Scopes</h2> |
| 20912 | + <table> |
| 20913 | + |
| 20914 | + <tr> |
| 20915 | + <td>accounting.transactions</td> |
| 20916 | + <td>Grant read-write access to bank transactions, credit notes, invoices, repeating invoices</td> |
| 20917 | + </tr> |
| 20918 | + |
| 20919 | + <tr> |
| 20920 | + <td>accounting.transactions.read</td> |
| 20921 | + <td>Grant read-only access to invoices</td> |
| 20922 | + </tr> |
| 20923 | + |
| 20924 | + </table> |
| 20925 | + <h2>Parameters</h2> |
| 20926 | + <div class="methodsubtabletitle">Path parameters</div> |
| 20927 | + <table id="methodsubtable"> |
| 20928 | + <tr> |
| 20929 | + <th width="150px">Name</th> |
| 20930 | + <th>Description</th> |
| 20931 | + </tr> |
| 20932 | + <tr><td style="width:150px;">BatchPaymentID<span style="color:red;">*</span></td> |
| 20933 | +<td> |
| 20934 | + |
| 20935 | + |
| 20936 | + <div id="d2e199_getBatchPayment_batchPaymentID"> |
| 20937 | + <div class="json-schema-view"> |
| 20938 | + <div class="primitive"> |
| 20939 | + <span class="type"> |
| 20940 | + UUID |
| 20941 | + </span> |
| 20942 | + <span class="format"> |
| 20943 | + (uuid) |
| 20944 | + </span> |
| 20945 | + |
| 20946 | + <div class="inner description marked"> |
| 20947 | +Unique identifier for BatchPayment |
| 20948 | + </div> |
| 20949 | + </div> |
| 20950 | + <div class="inner required"> |
| 20951 | + Required |
| 20952 | + </div> |
| 20953 | + </div> |
| 20954 | + </div> |
| 20955 | +</td> |
| 20956 | +</tr> |
| 20957 | + |
| 20958 | + </table> |
| 20959 | + <div class="methodsubtabletitle">Header parameters</div> |
| 20960 | + <table id="methodsubtable"> |
| 20961 | + <tr> |
| 20962 | + <th width="150px">Name</th> |
| 20963 | + <th>Description</th> |
| 20964 | + </tr> |
| 20965 | + <tr><td style="width:150px;">xero-tenant-id<span style="color:red;">*</span></td> |
| 20966 | +<td> |
| 20967 | + |
| 20968 | + |
| 20969 | + <div id="d2e199_getBatchPayment_xeroTenantId"> |
| 20970 | + <div class="json-schema-view"> |
| 20971 | + <div class="primitive"> |
| 20972 | + <span class="type"> |
| 20973 | + String |
| 20974 | + </span> |
| 20975 | + |
| 20976 | + <div class="inner description marked"> |
| 20977 | +Xero identifier for Tenant |
| 20978 | + </div> |
| 20979 | + </div> |
| 20980 | + <div class="inner required"> |
| 20981 | + Required |
| 20982 | + </div> |
| 20983 | + </div> |
| 20984 | + </div> |
| 20985 | +</td> |
20851 | 20986 | </tr> |
20852 | 20987 |
|
20853 | 20988 | </table> |
@@ -23199,7 +23334,7 @@ <h3>Usage and SDK Samples</h3> |
23199 | 23334 | Integer page = 1; |
23200 | 23335 | Boolean includeArchived = true; |
23201 | 23336 | Boolean summaryOnly = true; |
23202 | | - String searchTerm = 'searchTerm=Joe Bloggs'; |
| 23337 | + String searchTerm = 'Joe Bloggs'; |
23203 | 23338 |
|
23204 | 23339 | try { |
23205 | 23340 | Contacts result = apiInstance.getContacts(accessToken, xeroTenantId, ifModifiedSince, where, order, iDs, page, includeArchived, summaryOnly, searchTerm); |
|
0 commit comments