You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/CallResult.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,8 @@ Name | Type | Description | Notes
11
11
**dateCreated** | **String** | The date that this resource was created (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). | [optional]
12
12
**dateUpdated** | **String** | The date that this resource was last updated (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). | [optional]
13
13
**revision** | **Integer** | Revision count for the resource. This count is set to 1 on creation and is incremented every time it is updated. | [optional]
14
+
**dateCreatedISO** | **OffsetDateTime** | The date that this resource was created in ISO 8601 format (e.g., 2022-01-01T00:00:00.000Z). | [optional]
15
+
**dateUpdatedISO** | **OffsetDateTime** | The date that this resource was last updated in ISO 8601 format (e.g., 2022-01-01T00:00:00.000Z). | [optional]
14
16
**callId** | **String** | String that uniquely identifies this Call resource. | [optional]
15
17
**parentCallId** | **String** | ID of the Call that created this leg (child Call). | [optional]
16
18
**accountId** | **String** | ID of the account that owns this Call. | [optional]
@@ -19,14 +21,19 @@ Name | Type | Description | Notes
19
21
**phoneNumberId** | **String** | If the Call was inbound, this is the ID of the IncomingPhoneNumber that received the Call (DNIS). If the Call was outbound, this is the ID of the phone number from which the Call was placed (ANI). | [optional]
20
22
**status** | **CallStatus** | | [optional]
21
23
**startTime** | **String** | Start time of the Call (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). Empty if the Call has not yet been dialed. | [optional]
24
+
**startTimeISO** | **OffsetDateTime** | Start time of the Call in ISO 8601 format (e.g., 2022-01-01T00:00:00.000Z). Empty if the Call has not yet been dialed. | [optional]
22
25
**connectTime** | **String** | Time the Call was answered (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). Empty if the Call has not yet been dialed. | [optional]
26
+
**connectTimeISO** | **OffsetDateTime** | Time the Call was answered in ISO 8601 format (e.g., 2022-01-01T00:00:00.000Z). Empty if the Call has not yet been dialed. | [optional]
23
27
**endTime** | **String** | End time of the Call (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). Empty if the Call did not complete successfully. | [optional]
28
+
**endTimeISO** | **OffsetDateTime** | End time of the Call in ISO 8601 format (e.g., 2022-01-01T00:00:00.000Z). Empty if the Call did not complete successfully. | [optional]
24
29
**duration** | **Integer** | Total length of the Call in seconds. Measures time between startTime and endTime. This value is empty for busy, failed, unanswered or ongoing Calls. | [optional]
25
30
**connectDuration** | **Integer** | Length of time that the Call was connected in seconds. Measures time between connectTime and endTime. This value is empty for busy, failed, unanswered or ongoing Calls. | [optional]
26
31
**audioStreamDuration** | **Integer** | Length of time that the Call used the audio stream in seconds. This value is empty or zero when the Call did not use the audio stream. | [optional]
27
32
**direction** | **CallDirection** | | [optional]
28
33
**answeredBy** | **AnsweredBy** | | [optional]
29
-
**subresourceUris** | **Object** | The list of subresources for this Call. These include things like logs and recordings associated with the Call. | [optional]
34
+
**callerName** | **String** | The caller ID name (CNAM) for this Call. Empty if unavailable. | [optional]
35
+
**webRTC** | **Boolean** | Indicates whether this Call was initiated via WebRTC. | [optional]
Integer riskScoreMax =56; // Integer | The maximum riskScore that should be included in the list.
3218
3218
3219
+
Boolean webRTC =false; // Boolean | Only show Calls that were originated via WebRTC.
3220
+
3219
3221
try {
3220
-
CallList result = apiInstance.listCalls(usedAudioStream, active, to, from, status, startTime, endTime, parentCallId, applicationId, riskScoreMin, riskScoreMax);
3222
+
CallList result = apiInstance.listCalls(usedAudioStream, active, to, from, status, startTime, endTime, parentCallId, applicationId, riskScoreMin, riskScoreMax, webRTC);
3221
3223
System.out.println(result);
3222
3224
} catch (ApiException e) {
3223
3225
System.err.println("Exception when calling DefaultApi#listCalls");
@@ -3245,6 +3247,7 @@ Name | Type | Description | Notes
3245
3247
**applicationId**| [**List<String>**](String.md)|Only show calls belonging to the given applicationId. This parameter can be repeated to return calls from multiple Applications. | [optional]
3246
3248
**riskScoreMin**|**Integer**|The minimum riskScore that should be included in the list. | [optional]
3247
3249
**riskScoreMax**|**Integer**|The maximum riskScore that should be included in the list. | [optional]
3250
+
**webRTC**|**Boolean**|Only show Calls that were originated via WebRTC. | [optional] [default to false]
Copy file name to clipboardExpand all lines: openapi.json
+71-1Lines changed: 71 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2935,6 +2935,11 @@
2935
2935
"description": "The phone number, in E.164 format (+ country code and phone number: +18003608245).",
2936
2936
"nullable": true
2937
2937
},
2938
+
"alias": {
2939
+
"type": "string",
2940
+
"description": "A nicely-formatted version of the phone number.",
2941
+
"nullable": true
2942
+
},
2938
2943
"voiceEnabled": {
2939
2944
"type": "boolean",
2940
2945
"description": "Typically set to true for all numbers.",
@@ -3117,6 +3122,18 @@
3117
3122
{
3118
3123
"type": "object",
3119
3124
"properties": {
3125
+
"dateCreatedISO": {
3126
+
"type": "string",
3127
+
"format": "date-time",
3128
+
"description": "The date that this resource was created in ISO 8601 format (e.g., 2022-01-01T00:00:00.000Z).",
3129
+
"nullable": true
3130
+
},
3131
+
"dateUpdatedISO": {
3132
+
"type": "string",
3133
+
"format": "date-time",
3134
+
"description": "The date that this resource was last updated in ISO 8601 format (e.g., 2022-01-01T00:00:00.000Z).",
3135
+
"nullable": true
3136
+
},
3120
3137
"callId": {
3121
3138
"type": "string",
3122
3139
"description": "String that uniquely identifies this Call resource.",
@@ -3155,16 +3172,34 @@
3155
3172
"description": "Start time of the Call (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). Empty if the Call has not yet been dialed.",
3156
3173
"nullable": true
3157
3174
},
3175
+
"startTimeISO": {
3176
+
"type": "string",
3177
+
"format": "date-time",
3178
+
"description": "Start time of the Call in ISO 8601 format (e.g., 2022-01-01T00:00:00.000Z). Empty if the Call has not yet been dialed.",
3179
+
"nullable": true
3180
+
},
3158
3181
"connectTime": {
3159
3182
"type": "string",
3160
3183
"description": "Time the Call was answered (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). Empty if the Call has not yet been dialed.",
3161
3184
"nullable": true
3162
3185
},
3186
+
"connectTimeISO": {
3187
+
"type": "string",
3188
+
"format": "date-time",
3189
+
"description": "Time the Call was answered in ISO 8601 format (e.g., 2022-01-01T00:00:00.000Z). Empty if the Call has not yet been dialed.",
3190
+
"nullable": true
3191
+
},
3163
3192
"endTime": {
3164
3193
"type": "string",
3165
3194
"description": "End time of the Call (GMT) in RFC 1123 format (e.g., Mon, 15 Jun 2009 20:45:30 GMT). Empty if the Call did not complete successfully.",
3166
3195
"nullable": true
3167
3196
},
3197
+
"endTimeISO": {
3198
+
"type": "string",
3199
+
"format": "date-time",
3200
+
"description": "End time of the Call in ISO 8601 format (e.g., 2022-01-01T00:00:00.000Z). Empty if the Call did not complete successfully.",
3201
+
"nullable": true
3202
+
},
3168
3203
"duration": {
3169
3204
"type": "integer",
3170
3205
"description": "Total length of the Call in seconds. Measures time between startTime and endTime. This value is empty for busy, failed, unanswered or ongoing Calls.",
@@ -3186,10 +3221,30 @@
3186
3221
"answeredBy": {
3187
3222
"$ref": "#/components/schemas/AnsweredBy"
3188
3223
},
3224
+
"callerName": {
3225
+
"type": "string",
3226
+
"description": "The caller ID name (CNAM) for this Call. Empty if unavailable.",
3227
+
"nullable": true
3228
+
},
3229
+
"webRTC": {
3230
+
"type": "boolean",
3231
+
"description": "Indicates whether this Call was initiated via WebRTC.",
3232
+
"nullable": true
3233
+
},
3189
3234
"subresourceUris": {
3190
3235
"type": "object",
3191
3236
"description": "The list of subresources for this Call. These include things like logs and recordings associated with the Call.",
3192
-
"nullable": true
3237
+
"nullable": true,
3238
+
"properties": {
3239
+
"logs": {
3240
+
"type": "string",
3241
+
"description": "The URI for the logs associated with this Call."
3242
+
},
3243
+
"recordings": {
3244
+
"type": "string",
3245
+
"description": "The URI for the recordings associated with this Call."
3246
+
}
3247
+
}
3193
3248
},
3194
3249
"applicationId": {
3195
3250
"type": "string",
@@ -3858,6 +3913,11 @@
3858
3913
"description": "The average amount of time (in seconds) for a call to be removed from the queue.",
3859
3914
"nullable": true
3860
3915
},
3916
+
"averageWaitTime": {
3917
+
"type": "integer",
3918
+
"description": "The average wait time (in seconds) of all Calls in the Queue.",
3919
+
"nullable": true
3920
+
},
3861
3921
"subresourceUris": {
3862
3922
"type": "object",
3863
3923
"description": "List of subresources for this Queue (which includes Queue members).",
@@ -6117,6 +6177,16 @@
6117
6177
"schema": {
6118
6178
"type": "integer"
6119
6179
}
6180
+
},
6181
+
{
6182
+
"name": "webRTC",
6183
+
"in": "query",
6184
+
"description": "Only show Calls that were originated via WebRTC.",
0 commit comments