github.com/grokify/go-ringcentral-client@v0.3.31/office/v1/client/docs/CallLogApi.md (about) 1 # \CallLogApi 2 3 All URIs are relative to *https://platform.devtest.ringcentral.com* 4 5 Method | HTTP request | Description 6 ------------- | ------------- | ------------- 7 [**DeleteAccountCallLog**](CallLogApi.md#DeleteAccountCallLog) | **Delete** /restapi/v1.0/account/{accountId}/call-log | Delete Call Log Records by Filter 8 [**DeleteAccountCallLogRecord**](CallLogApi.md#DeleteAccountCallLogRecord) | **Delete** /restapi/v1.0/account/{accountId}/call-log/{callRecordId} | Delete Account Call Log Record(s) by ID 9 [**DeleteExtensionCallLog**](CallLogApi.md#DeleteExtensionCallLog) | **Delete** /restapi/v1.0/account/{accountId}/extension/{extensionId}/call-log | Delete Call Log Records by Filter 10 [**GetCallRecords**](CallLogApi.md#GetCallRecords) | **Get** /restapi/v1.0/account/{accountId}/extension/{extensionId}/call-log/{callRecordId} | Get Call Records by ID 11 [**ListCallRecordingData**](CallLogApi.md#ListCallRecordingData) | **Get** /restapi/v1.0/account/{accountId}/recording/{recordingId}/content | Get Call Recordings Data 12 [**ListCallRecordings**](CallLogApi.md#ListCallRecordings) | **Get** /restapi/v1.0/account/{accountId}/recording/{recordingId} | Get Call Recordings 13 [**ListCompanyActiveCalls**](CallLogApi.md#ListCompanyActiveCalls) | **Get** /restapi/v1.0/account/{accountId}/active-calls | Get User Active Calls 14 [**ListExtensionActiveCalls**](CallLogApi.md#ListExtensionActiveCalls) | **Get** /restapi/v1.0/account/{accountId}/extension/{extensionId}/active-calls | Get User Active Calls 15 [**LoadAccountCallLog**](CallLogApi.md#LoadAccountCallLog) | **Get** /restapi/v1.0/account/{accountId}/call-log | Get Call Log Records by Filter 16 [**LoadAccountCallLogRecord**](CallLogApi.md#LoadAccountCallLogRecord) | **Get** /restapi/v1.0/account/{accountId}/call-log/{callRecordId} | Get Account Call Log Record(s) by ID 17 [**LoadExtensionCallLog**](CallLogApi.md#LoadExtensionCallLog) | **Get** /restapi/v1.0/account/{accountId}/extension/{extensionId}/call-log | Get Call Log Records by Filter 18 [**SyncAccountCallLog**](CallLogApi.md#SyncAccountCallLog) | **Get** /restapi/v1.0/account/{accountId}/call-log-sync | Call Log Synchronization 19 [**SyncExtensionCallLog**](CallLogApi.md#SyncExtensionCallLog) | **Get** /restapi/v1.0/account/{accountId}/extension/{extensionId}/call-log-sync | Call Log Synchronization 20 21 22 # **DeleteAccountCallLog** 23 > DeleteAccountCallLog(ctx, accountId, optional) 24 Delete Call Log Records by Filter 25 26 <p style='font-style:italic;'></p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditCallLog</td><td>Viewing and updating user call logs</td></tr><tr><td class='code'>ReadCallLog</td><td>Viewing user call logs</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p> 27 28 ### Required Parameters 29 30 Name | Type | Description | Notes 31 ------------- | ------------- | ------------- | ------------- 32 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 33 **accountId** | **string**| Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session | [default to ~] 34 **optional** | ***DeleteAccountCallLogOpts** | optional parameters | nil if no parameters 35 36 ### Optional Parameters 37 Optional parameters are passed through a pointer to a DeleteAccountCallLogOpts struct 38 39 Name | Type | Description | Notes 40 ------------- | ------------- | ------------- | ------------- 41 42 **dateTo** | **optional.String**| The end datetime for records deletion in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. The default value is current time | 43 44 ### Return type 45 46 (empty response body) 47 48 ### Authorization 49 50 [OAuth2](../README.md#OAuth2) 51 52 ### HTTP request headers 53 54 - **Content-Type**: Not defined 55 - **Accept**: Not defined 56 57 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) 58 59 # **DeleteAccountCallLogRecord** 60 > DeleteAccountCallLogRecord(ctx, accountId, callRecordId) 61 Delete Account Call Log Record(s) by ID 62 63 ### Required Parameters 64 65 Name | Type | Description | Notes 66 ------------- | ------------- | ------------- | ------------- 67 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 68 **accountId** | **string**| Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session | [default to ~] 69 **callRecordId** | **int32**| Internal identifier of a call log record | 70 71 ### Return type 72 73 (empty response body) 74 75 ### Authorization 76 77 [OAuth2](../README.md#OAuth2) 78 79 ### HTTP request headers 80 81 - **Content-Type**: Not defined 82 - **Accept**: Not defined 83 84 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) 85 86 # **DeleteExtensionCallLog** 87 > DeleteExtensionCallLog(ctx, accountId, extensionId, optional) 88 Delete Call Log Records by Filter 89 90 <p style='font-style:italic;'></p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditCallLog</td><td>Viewing and updating user call logs</td></tr><tr><td class='code'>ReadCallLog</td><td>Viewing user call logs</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p> 91 92 ### Required Parameters 93 94 Name | Type | Description | Notes 95 ------------- | ------------- | ------------- | ------------- 96 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 97 **accountId** | **string**| Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session | [default to ~] 98 **extensionId** | **string**| Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session | [default to ~] 99 **optional** | ***DeleteExtensionCallLogOpts** | optional parameters | nil if no parameters 100 101 ### Optional Parameters 102 Optional parameters are passed through a pointer to a DeleteExtensionCallLogOpts struct 103 104 Name | Type | Description | Notes 105 ------------- | ------------- | ------------- | ------------- 106 107 108 **dateTo** | **optional.String**| The end datetime for records deletion in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. The default value is current time | 109 **phoneNumber** | **optional.String**| | 110 **extensionNumber** | **optional.String**| | 111 **type_** | [**optional.Interface of []string**](string.md)| | 112 **direction** | [**optional.Interface of []string**](string.md)| | 113 **dateFrom** | **optional.Time**| | 114 115 ### Return type 116 117 (empty response body) 118 119 ### Authorization 120 121 [OAuth2](../README.md#OAuth2) 122 123 ### HTTP request headers 124 125 - **Content-Type**: Not defined 126 - **Accept**: Not defined 127 128 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) 129 130 # **GetCallRecords** 131 > UserCallLogRecord GetCallRecords(ctx, callRecordId, extensionId, accountId, optional) 132 Get Call Records by ID 133 134 ### Required Parameters 135 136 Name | Type | Description | Notes 137 ------------- | ------------- | ------------- | ------------- 138 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 139 **callRecordId** | [**[]string**](string.md)| | 140 **extensionId** | **string**| | 141 **accountId** | **string**| | 142 **optional** | ***GetCallRecordsOpts** | optional parameters | nil if no parameters 143 144 ### Optional Parameters 145 Optional parameters are passed through a pointer to a GetCallRecordsOpts struct 146 147 Name | Type | Description | Notes 148 ------------- | ------------- | ------------- | ------------- 149 150 151 152 **view** | **optional.String**| | 153 154 ### Return type 155 156 [**UserCallLogRecord**](UserCallLogRecord.md) 157 158 ### Authorization 159 160 [OAuth2](../README.md#OAuth2) 161 162 ### HTTP request headers 163 164 - **Content-Type**: Not defined 165 - **Accept**: application/json 166 167 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) 168 169 # **ListCallRecordingData** 170 > Binary ListCallRecordingData(ctx, accountId, recordingId) 171 Get Call Recordings Data 172 173 <p style='font-style:italic;'>Since 1.0.16 (Release 7.1)</p><p>Returns call recording metadata.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadCallRecording</td><td>Downloading call recording content</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p> 174 175 ### Required Parameters 176 177 Name | Type | Description | Notes 178 ------------- | ------------- | ------------- | ------------- 179 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 180 **accountId** | **string**| Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session | [default to ~] 181 **recordingId** | **string**| Internal identifier of a recording (returned in Call Log) | 182 183 ### Return type 184 185 [**Binary**](Binary.md) 186 187 ### Authorization 188 189 [OAuth2](../README.md#OAuth2) 190 191 ### HTTP request headers 192 193 - **Content-Type**: Not defined 194 - **Accept**: application/json 195 196 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) 197 198 # **ListCallRecordings** 199 > GetCallRecordingResponse ListCallRecordings(ctx, accountId, recordingId) 200 Get Call Recordings 201 202 <p style='font-style:italic;'>Since 1.0.18 (Release 6.5)</p><p>Returns call recording metadata.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadCallRecording</td><td>Downloading call recording content</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p> 203 204 ### Required Parameters 205 206 Name | Type | Description | Notes 207 ------------- | ------------- | ------------- | ------------- 208 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 209 **accountId** | **string**| Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session | [default to ~] 210 **recordingId** | **string**| Internal identifier of a recording (returned in Call Log) | 211 212 ### Return type 213 214 [**GetCallRecordingResponse**](GetCallRecordingResponse.md) 215 216 ### Authorization 217 218 [OAuth2](../README.md#OAuth2) 219 220 ### HTTP request headers 221 222 - **Content-Type**: Not defined 223 - **Accept**: application/json 224 225 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) 226 227 # **ListCompanyActiveCalls** 228 > ExtensionActiveCallsResponse ListCompanyActiveCalls(ctx, accountId, optional) 229 Get User Active Calls 230 231 <p style='font-style:italic;'>Since 1.0.13 (Release 6.5)</p><p>Returns records of all calls that are in progress, ordered by start time in descending order</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadCallLog</td><td>Viewing user call logs</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p> 232 233 ### Required Parameters 234 235 Name | Type | Description | Notes 236 ------------- | ------------- | ------------- | ------------- 237 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 238 **accountId** | **string**| Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session | [default to ~] 239 **optional** | ***ListCompanyActiveCallsOpts** | optional parameters | nil if no parameters 240 241 ### Optional Parameters 242 Optional parameters are passed through a pointer to a ListCompanyActiveCallsOpts struct 243 244 Name | Type | Description | Notes 245 ------------- | ------------- | ------------- | ------------- 246 247 **direction** | [**optional.Interface of []string**](string.md)| The direction for the result records. It is allowed to specify more than one direction. If not specified, both inbound and outbound records are returned. Multiple values are accepted | 248 **type_** | [**optional.Interface of []string**](string.md)| Call type of a record. It is allowed to specify more than one type. If not specified, all call types are returned. Multiple values are accepted | 249 **transport** | [**optional.Interface of []string**](string.md)| Call transport type. 'PSTN' specifies that a call leg is initiated from the PSTN network provider; 'VoIP' - from an RC phone. By default this filter is disabled | 250 **page** | **optional.Int32**| Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1' | 251 **perPage** | **optional.Int32**| Indicates the page size (number of items). If not specified, the value is '100' by default | 252 253 ### Return type 254 255 [**ExtensionActiveCallsResponse**](ExtensionActiveCallsResponse.md) 256 257 ### Authorization 258 259 [OAuth2](../README.md#OAuth2) 260 261 ### HTTP request headers 262 263 - **Content-Type**: Not defined 264 - **Accept**: application/json 265 266 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) 267 268 # **ListExtensionActiveCalls** 269 > ExtensionActiveCallsResponse ListExtensionActiveCalls(ctx, accountId, extensionId, optional) 270 Get User Active Calls 271 272 <p style='font-style:italic;'>Since 1.0.13 (Release 6.5)</p><p>Returns records of all extension calls that are in progress, ordered by start time in descending order.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadCallLog</td><td>Viewing user call logs</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p> 273 274 ### Required Parameters 275 276 Name | Type | Description | Notes 277 ------------- | ------------- | ------------- | ------------- 278 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 279 **accountId** | **string**| Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session | [default to ~] 280 **extensionId** | **string**| Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session | [default to ~] 281 **optional** | ***ListExtensionActiveCallsOpts** | optional parameters | nil if no parameters 282 283 ### Optional Parameters 284 Optional parameters are passed through a pointer to a ListExtensionActiveCallsOpts struct 285 286 Name | Type | Description | Notes 287 ------------- | ------------- | ------------- | ------------- 288 289 290 **direction** | [**optional.Interface of []string**](string.md)| The direction for the result records. It is allowed to specify more than one direction. If not specified, both inbound and outbound records are returned. Multiple values are accepted | 291 **type_** | [**optional.Interface of []string**](string.md)| Call type of a record. It is allowed to specify more than one type. If not specified, all call types are returned. Multiple values are accepted | 292 **page** | **optional.Int32**| Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1' | 293 **perPage** | **optional.Int32**| Indicates the page size (number of items). If not specified, the value is '100' by default | 294 295 ### Return type 296 297 [**ExtensionActiveCallsResponse**](ExtensionActiveCallsResponse.md) 298 299 ### Authorization 300 301 [OAuth2](../README.md#OAuth2) 302 303 ### HTTP request headers 304 305 - **Content-Type**: Not defined 306 - **Accept**: application/json 307 308 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) 309 310 # **LoadAccountCallLog** 311 > AccountCallLogResponse LoadAccountCallLog(ctx, accountId, optional) 312 Get Call Log Records by Filter 313 314 <p style='font-style:italic;'>Since 1.0.3 (Release 5.11)</p><p>Returns call log records filtered by the specified parameters.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadCallLog</td><td>Viewing user call logs</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p> 315 316 ### Required Parameters 317 318 Name | Type | Description | Notes 319 ------------- | ------------- | ------------- | ------------- 320 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 321 **accountId** | **string**| Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session | [default to ~] 322 **optional** | ***LoadAccountCallLogOpts** | optional parameters | nil if no parameters 323 324 ### Optional Parameters 325 Optional parameters are passed through a pointer to a LoadAccountCallLogOpts struct 326 327 Name | Type | Description | Notes 328 ------------- | ------------- | ------------- | ------------- 329 330 **extensionNumber** | **optional.String**| Extension number of a user. If specified, returns call log for a particular extension only. Cannot be specified together with the phoneNumber filter | 331 **phoneNumber** | **optional.String**| Phone number of a caller/call recipient. If specified, returns all calls (both incoming and outcoming) with the mentioned phone number. Cannot be specified together with the extensionNumber filter | 332 **direction** | [**optional.Interface of []string**](string.md)| The direction for the result records. It is allowed to specify more than one direction. If not specified, both inbound and outbound records are returned. Multiple values are accepted | 333 **type_** | [**optional.Interface of []string**](string.md)| Call type of a record. It is allowed to specify more than one type. If not specified, all call types are returned. Multiple values are accepted | 334 **view** | [**optional.Interface of []string**](string.md)| The default value is 'Simple' for both account and extension call log | 335 **withRecording** | **optional.Bool**| 'True' if only recorded calls have to be returned | 336 **dateFrom** | **optional.Time**| The start datetime for resulting records in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. The default value is dateTo minus 24 hours | 337 **dateTo** | **optional.Time**| The end datetime for resulting records in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. The default value is current time | 338 **page** | **optional.Int32**| Indicates the page number to retrieve. Only positive number values are allowed. The default value is '1' | 339 **perPage** | **optional.Int32**| Indicates the page size (number of items). If not specified, the value is '100' by default. | 340 **sessionId** | **optional.String**| | 341 342 ### Return type 343 344 [**AccountCallLogResponse**](AccountCallLogResponse.md) 345 346 ### Authorization 347 348 [OAuth2](../README.md#OAuth2) 349 350 ### HTTP request headers 351 352 - **Content-Type**: Not defined 353 - **Accept**: application/json 354 355 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) 356 357 # **LoadAccountCallLogRecord** 358 > GetAccountCallLogRecordResponse LoadAccountCallLogRecord(ctx, accountId, callRecordId) 359 Get Account Call Log Record(s) by ID 360 361 <p style='font-style:italic;'>Since 1.0.3 (Release 5.11)</p><p>Returns individual call log record(s) by ID(s). Batch request is supported, see Batch Requests for details.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadCallLog</td><td>Viewing user call logs</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p> 362 363 ### Required Parameters 364 365 Name | Type | Description | Notes 366 ------------- | ------------- | ------------- | ------------- 367 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 368 **accountId** | **string**| Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session | [default to ~] 369 **callRecordId** | **int32**| Internal identifier of a call log record | 370 371 ### Return type 372 373 [**GetAccountCallLogRecordResponse**](GetAccountCallLogRecordResponse.md) 374 375 ### Authorization 376 377 [OAuth2](../README.md#OAuth2) 378 379 ### HTTP request headers 380 381 - **Content-Type**: Not defined 382 - **Accept**: application/json 383 384 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) 385 386 # **LoadExtensionCallLog** 387 > ExtensionCallLogResponse LoadExtensionCallLog(ctx, accountId, extensionId, optional) 388 Get Call Log Records by Filter 389 390 <p style='font-style:italic;'>Since 1.0.3 (Release 5.11)</p><p>Returns call log records filtered by the specified parameters.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadCallLog</td><td>Viewing user call logs</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p> 391 392 ### Required Parameters 393 394 Name | Type | Description | Notes 395 ------------- | ------------- | ------------- | ------------- 396 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 397 **accountId** | **string**| Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session | [default to ~] 398 **extensionId** | **string**| Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session | [default to ~] 399 **optional** | ***LoadExtensionCallLogOpts** | optional parameters | nil if no parameters 400 401 ### Optional Parameters 402 Optional parameters are passed through a pointer to a LoadExtensionCallLogOpts struct 403 404 Name | Type | Description | Notes 405 ------------- | ------------- | ------------- | ------------- 406 407 408 **extensionNumber** | **optional.String**| Extension number of a user. If specified, returns call log for a particular extension only. Cannot be specified together with the phoneNumber filter | 409 **showBlocked** | **optional.Bool**| If 'True' then calls from/to blocked numbers are returned. The default value is 'True' | 410 **phoneNumber** | **optional.String**| Phone number of a caller/call recipient. If specified, returns all calls (both incoming and outcoming) with the mentioned phone number. Cannot be specified together with the extensionNumber filter | 411 **direction** | [**optional.Interface of []string**](string.md)| The direction for the result records. It is allowed to specify more than one direction. If not specified, both inbound and outbound records are returned. Multiple values are accepted | 412 **sessionId** | **optional.String**| | 413 **type_** | [**optional.Interface of []string**](string.md)| Call type of a record. It is allowed to specify more than one type. If not specified, all call types are returned. Multiple values are accepted | 414 **transport** | [**optional.Interface of []string**](string.md)| Call transport type. 'PSTN' specifies that a call leg is initiated from the PSTN network provider; 'VoIP' - from an RC phone. By default this filter is disabled | 415 **view** | [**optional.Interface of []string**](string.md)| The default value is 'Simple' for both account and extension call log | 416 **withRecording** | **optional.Bool**| 'True' if only recorded calls have to be returned | 417 **dateTo** | **optional.Time**| The end datetime for resulting records in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. The default value is current time | 418 **dateFrom** | **optional.Time**| The start datetime for resulting records in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. The default value is dateTo minus 24 hours | 419 **page** | **optional.Int32**| Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1' | 420 **perPage** | **optional.Int32**| Indicates the page size (number of items). If not specified, the value is '100' by default | 421 422 ### Return type 423 424 [**ExtensionCallLogResponse**](ExtensionCallLogResponse.md) 425 426 ### Authorization 427 428 [OAuth2](../README.md#OAuth2) 429 430 ### HTTP request headers 431 432 - **Content-Type**: Not defined 433 - **Accept**: application/json 434 435 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) 436 437 # **SyncAccountCallLog** 438 > SyncAccountCallLog(ctx, accountId, optional) 439 Call Log Synchronization 440 441 ### Required Parameters 442 443 Name | Type | Description | Notes 444 ------------- | ------------- | ------------- | ------------- 445 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 446 **accountId** | **string**| Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session | [default to ~] 447 **optional** | ***SyncAccountCallLogOpts** | optional parameters | nil if no parameters 448 449 ### Optional Parameters 450 Optional parameters are passed through a pointer to a SyncAccountCallLogOpts struct 451 452 Name | Type | Description | Notes 453 ------------- | ------------- | ------------- | ------------- 454 455 **syncType** | [**optional.Interface of []string**](string.md)| Type of synchronization. 'FSync' is a default value | 456 **syncToken** | **optional.String**| Value of syncToken property of last sync request response | 457 **dateFrom** | **optional.String**| The start datetime for resulting records in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. The default value is the current moment | 458 **recordCount** | **optional.Int32**| ForT?FSync the parameter is mandatory, it limits the number of records to be returned in response. For ISync it specifies with how many records to extend sync Frame to the past, the maximum number of records is 250 | 459 **statusGroup** | [**optional.Interface of []string**](string.md)| Type of calls to be returned. The default value is 'All' | 460 461 ### Return type 462 463 (empty response body) 464 465 ### Authorization 466 467 [OAuth2](../README.md#OAuth2) 468 469 ### HTTP request headers 470 471 - **Content-Type**: Not defined 472 - **Accept**: Not defined 473 474 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) 475 476 # **SyncExtensionCallLog** 477 > CallLogSync SyncExtensionCallLog(ctx, accountId, extensionId, optional) 478 Call Log Synchronization 479 480 <p style='font-style:italic;'></p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadCallLog</td><td>Viewing user call logs</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p> 481 482 ### Required Parameters 483 484 Name | Type | Description | Notes 485 ------------- | ------------- | ------------- | ------------- 486 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 487 **accountId** | **string**| Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session | [default to ~] 488 **extensionId** | **string**| Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session | [default to ~] 489 **optional** | ***SyncExtensionCallLogOpts** | optional parameters | nil if no parameters 490 491 ### Optional Parameters 492 Optional parameters are passed through a pointer to a SyncExtensionCallLogOpts struct 493 494 Name | Type | Description | Notes 495 ------------- | ------------- | ------------- | ------------- 496 497 498 **syncType** | [**optional.Interface of []string**](string.md)| Type of synchronization. 'FSync' is a default value | 499 **syncToken** | **optional.String**| Value of syncToken property of last sync request response | 500 **dateFrom** | **optional.String**| The start datetime for resulting records in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. The default value is the current moment | 501 **recordCount** | **optional.Int32**| ForT?FSync the parameter is mandatory, it limits the number of records to be returned in response. For ISync it specifies with how many records to extend sync Frame to the past, the maximum number of records is 250 | 502 **statusGroup** | [**optional.Interface of []string**](string.md)| Type of calls to be returned. The default value is 'All' | 503 504 ### Return type 505 506 [**CallLogSync**](CallLogSync.md) 507 508 ### Authorization 509 510 [OAuth2](../README.md#OAuth2) 511 512 ### HTTP request headers 513 514 - **Content-Type**: Not defined 515 - **Accept**: application/json 516 517 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) 518