|
1129 | 1129 | <nav id="scrollingNav">
|
1130 | 1130 | <ul class="sidenav nav nav-list">
|
1131 | 1131 | <li class="nav-header" data-group="Files"><strong>SDK: </strong><span id='sdk-name'></span></li>
|
1132 |
| - <li class="nav-header" data-group="Files"><strong>VSN: </strong>4.25.0</li> |
| 1132 | + <li class="nav-header" data-group="Files"><strong>VSN: </strong>4.26.0</li> |
1133 | 1133 | <li class="nav-header" data-group="Files"><a href="#api-Files">Methods</a></li>
|
1134 | 1134 | <li data-group="Files" data-name="createFileAssociation" class="">
|
1135 | 1135 | <a href="#api-Files-createFileAssociation">createFileAssociation</a>
|
|
1149 | 1149 | <li data-group="Files" data-name="getAssociationsByObject" class="">
|
1150 | 1150 | <a href="#api-Files-getAssociationsByObject">getAssociationsByObject</a>
|
1151 | 1151 | </li>
|
| 1152 | + <li data-group="Files" data-name="getAssociationsCount" class=""> |
| 1153 | + <a href="#api-Files-getAssociationsCount">getAssociationsCount</a> |
| 1154 | + </li> |
1152 | 1155 | <li data-group="Files" data-name="getFile" class="">
|
1153 | 1156 | <a href="#api-Files-getFile">getFile</a>
|
1154 | 1157 | </li>
|
@@ -1898,7 +1901,7 @@ <h1>getAssociationsByObject</h1>
|
1898 | 1901 | <div class="pull-right"></div>
|
1899 | 1902 | <div class="clearfix"></div>
|
1900 | 1903 | <p></p>
|
1901 |
| - <p class="marked">By passing in the appropriate options,</p> |
| 1904 | + <p class="marked">By passing in the appropriate options, you can retrieve an association</p> |
1902 | 1905 | <p></p>
|
1903 | 1906 | <br />
|
1904 | 1907 | <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/Associations/{ObjectId}</span></code></pre>
|
@@ -2015,6 +2018,137 @@ <h2>Parameters</h2>
|
2015 | 2018 | </div>
|
2016 | 2019 | </div>
|
2017 | 2020 | </td>
|
| 2021 | +</tr> |
| 2022 | + |
| 2023 | + </table> |
| 2024 | + </article> |
| 2025 | + </div> |
| 2026 | + <hr> |
| 2027 | + <div id="api-Files-getAssociationsCount"> |
| 2028 | + <article id="api-Files-getAssociationsCount-0" data-group="User" data-name="getAssociationsCount" data-version="0"> |
| 2029 | + <div class="pull-left"> |
| 2030 | + <h1>getAssociationsCount</h1> |
| 2031 | + <p>Retrieves a count of associations for a list of objects.</p> |
| 2032 | + </div> |
| 2033 | + <div class="pull-right"></div> |
| 2034 | + <div class="clearfix"></div> |
| 2035 | + <p></p> |
| 2036 | + <p class="marked">By passing in the appropriate options, you can retrieve the association count for objects</p> |
| 2037 | + <p></p> |
| 2038 | + <br /> |
| 2039 | + <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/Associations/Count</span></code></pre> |
| 2040 | + <p> |
| 2041 | + <h3>Usage and SDK Samples</h3> |
| 2042 | + </p> |
| 2043 | + <ul class="nav nav-tabs nav-tabs-examples"> |
| 2044 | + <li class=""><a href="#examples-Files-getAssociationsCount-0-java">Java</a></li> |
| 2045 | + </ul> |
| 2046 | + <div class="tab-content"> |
| 2047 | + <div class="tab-pane" id="examples-Files-getAssociationsCount-0-java"> |
| 2048 | + <pre class="prettyprint"><code class="language-java">import org.openapitools.client.api.*; |
| 2049 | +import org.openapitools.client.api.client.FilesApi; |
| 2050 | +import org.openapitools.client.models.files.*; |
| 2051 | + |
| 2052 | +import java.io.File; |
| 2053 | +import java.util.*; |
| 2054 | + |
| 2055 | +public class FilesApiExample { |
| 2056 | + private FilesApi apiInstance; |
| 2057 | + |
| 2058 | + public static void main(String[] args) { |
| 2059 | + String accessToken = "YOUR_ACCESS_TOKEN"; |
| 2060 | + ApiClient defaultClient = new ApiClient(); |
| 2061 | + |
| 2062 | + apiInstance = AccountingApi.getInstance(defaultClient); |
| 2063 | + String xeroTenantId = 'YOUR_XERO_TENANT_ID'; |
| 2064 | + array[UUID] objectIds = ; |
| 2065 | + |
| 2066 | + try { |
| 2067 | + Object result = apiInstance.getAssociationsCount(accessToken, xeroTenantId, objectIds); |
| 2068 | + System.out.println(result); |
| 2069 | + } catch (XeroException e) { |
| 2070 | + System.err.println("Exception when calling FilesApi#getAssociationsCount"); |
| 2071 | + e.printStackTrace(); |
| 2072 | + } |
| 2073 | + } |
| 2074 | +}</code></pre> |
| 2075 | + </div> |
| 2076 | + </div> |
| 2077 | + <h2>Scopes</h2> |
| 2078 | + <table> |
| 2079 | + |
| 2080 | + <tr> |
| 2081 | + <td>files</td> |
| 2082 | + <td>Grant read-write access to files and folders</td> |
| 2083 | + </tr> |
| 2084 | + |
| 2085 | + <tr> |
| 2086 | + <td>files.read</td> |
| 2087 | + <td>Grant read-only access to files and folders</td> |
| 2088 | + </tr> |
| 2089 | + |
| 2090 | + </table> |
| 2091 | + <h2>Parameters</h2> |
| 2092 | + <div class="methodsubtabletitle">Header parameters</div> |
| 2093 | + <table id="methodsubtable"> |
| 2094 | + <tr> |
| 2095 | + <th width="150px">Name</th> |
| 2096 | + <th>Description</th> |
| 2097 | + </tr> |
| 2098 | + <tr><td style="width:150px;">xero-tenant-id<span style="color:red;">*</span></td> |
| 2099 | +<td> |
| 2100 | + |
| 2101 | + |
| 2102 | + <div id="d2e199_getAssociationsCount_xeroTenantId"> |
| 2103 | + <div class="json-schema-view"> |
| 2104 | + <div class="primitive"> |
| 2105 | + <span class="type"> |
| 2106 | + String |
| 2107 | + </span> |
| 2108 | + |
| 2109 | + <div class="inner description marked"> |
| 2110 | +Xero identifier for Tenant |
| 2111 | + </div> |
| 2112 | + </div> |
| 2113 | + <div class="inner required"> |
| 2114 | + Required |
| 2115 | + </div> |
| 2116 | + </div> |
| 2117 | + </div> |
| 2118 | +</td> |
| 2119 | +</tr> |
| 2120 | + |
| 2121 | + </table> |
| 2122 | + <div class="methodsubtabletitle">Query parameters</div> |
| 2123 | + <table id="methodsubtable"> |
| 2124 | + <tr> |
| 2125 | + <th width="150px">Name</th> |
| 2126 | + <th>Description</th> |
| 2127 | + </tr> |
| 2128 | + <tr><td style="width:150px;">ObjectIds<span style="color:red;">*</span></td> |
| 2129 | +<td> |
| 2130 | + |
| 2131 | + |
| 2132 | + <div id="d2e199_getAssociationsCount_objectIds"> |
| 2133 | + <div class="json-schema-view"> |
| 2134 | + <div class="primitive"> |
| 2135 | + <span class="type"> |
| 2136 | + array[UUID] |
| 2137 | + </span> |
| 2138 | + <span class="format"> |
| 2139 | + (uuid) |
| 2140 | + </span> |
| 2141 | + |
| 2142 | + <div class="inner description marked"> |
| 2143 | +A comma-separated list of object ids |
| 2144 | + </div> |
| 2145 | + </div> |
| 2146 | + <div class="inner required"> |
| 2147 | + Required |
| 2148 | + </div> |
| 2149 | + </div> |
| 2150 | + </div> |
| 2151 | +</td> |
2018 | 2152 | </tr>
|
2019 | 2153 |
|
2020 | 2154 | </table>
|
|
0 commit comments