diff --git a/Bandwidth.Standard.sln b/Bandwidth.Standard.sln
index becd3cf..a56673a 100644
--- a/Bandwidth.Standard.sln
+++ b/Bandwidth.Standard.sln
@@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard", "src\Bandwidth.Standard\Bandwidth.Standard.csproj", "{4B6F94E7-BD68-40BD-AE9F-6E0A2DABA2E1}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard", "src\Bandwidth.Standard\Bandwidth.Standard.csproj", "{864CAADC-43D9-494A-A094-B09DDADE42FE}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard.Test", "src\Bandwidth.Standard.Test\Bandwidth.Standard.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
EndProject
@@ -12,10 +12,10 @@ Global
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {4B6F94E7-BD68-40BD-AE9F-6E0A2DABA2E1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {4B6F94E7-BD68-40BD-AE9F-6E0A2DABA2E1}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {4B6F94E7-BD68-40BD-AE9F-6E0A2DABA2E1}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {4B6F94E7-BD68-40BD-AE9F-6E0A2DABA2E1}.Release|Any CPU.Build.0 = Release|Any CPU
+ {864CAADC-43D9-494A-A094-B09DDADE42FE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {864CAADC-43D9-494A-A094-B09DDADE42FE}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {864CAADC-43D9-494A-A094-B09DDADE42FE}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {864CAADC-43D9-494A-A094-B09DDADE42FE}.Release|Any CPU.Build.0 = Release|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU
diff --git a/api/openapi.yaml b/api/openapi.yaml
index 570ecc6..8e77364 100644
--- a/api/openapi.yaml
+++ b/api/openapi.yaml
@@ -5364,8 +5364,27 @@ components:
application/json:
schema:
$ref: '#/components/schemas/updateCall'
- description: JSON object containing information to redirect an existing call
- to a new BXML document
+ application/xml:
+ examples:
+ speakSentence:
+ summary: Speak Sentence
+ value: |-
+
+
+ This is a test sentence.
+
+ redirectUrl:
+ summary: Redirect
+ value: |-
+
+
+
+
+ schema:
+ description: A valid BXML document to replace the call's current BXML.
+ type: string
+ description: JSON or BXML object containing information to redirect an existing
+ call to a new BXML document
required: true
updateCallBxmlRequest:
content:
diff --git a/bandwidth.yml b/bandwidth.yml
index c4b1fb2..1361c83 100644
--- a/bandwidth.yml
+++ b/bandwidth.yml
@@ -5658,13 +5658,32 @@ components:
$ref: '#/components/schemas/createCall'
updateCallRequest:
description: >-
- JSON object containing information to redirect an existing call to a new
- BXML document
+ JSON or BXML object containing information to redirect an existing call
+ to a new BXML document
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/updateCall'
+ application/xml:
+ schema:
+ type: string
+ description: A valid BXML document to replace the call's current BXML.
+ examples:
+ speakSentence:
+ summary: Speak Sentence
+ value: |-
+
+
+ This is a test sentence.
+
+ redirectUrl:
+ summary: Redirect
+ value: |-
+
+
+
+
updateCallBxmlRequest:
required: true
content:
diff --git a/docs/CallsApi.md b/docs/CallsApi.md
index c281856..ef3e588 100644
--- a/docs/CallsApi.md
+++ b/docs/CallsApi.md
@@ -368,7 +368,7 @@ namespace Example
var apiInstance = new CallsApi(config);
var accountId = 9900000; // string | Your Bandwidth Account ID.
var callId = c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85; // string | Programmable Voice API Call ID.
- var updateCall = new UpdateCall(); // UpdateCall | JSON object containing information to redirect an existing call to a new BXML document
+ var updateCall = new UpdateCall(); // UpdateCall | JSON or BXML object containing information to redirect an existing call to a new BXML document
try
{
@@ -409,7 +409,7 @@ catch (ApiException e)
|------|------|-------------|-------|
| **accountId** | **string** | Your Bandwidth Account ID. | |
| **callId** | **string** | Programmable Voice API Call ID. | |
-| **updateCall** | [**UpdateCall**](UpdateCall.md) | JSON object containing information to redirect an existing call to a new BXML document | |
+| **updateCall** | [**UpdateCall**](UpdateCall.md) | JSON or BXML object containing information to redirect an existing call to a new BXML document | |
### Return type
@@ -421,7 +421,7 @@ void (empty response body)
### HTTP request headers
- - **Content-Type**: application/json
+ - **Content-Type**: application/json, application/xml
- **Accept**: application/json
diff --git a/src/Bandwidth.Standard/Api/CallsApi.cs b/src/Bandwidth.Standard/Api/CallsApi.cs
index 5f3b308..94bf67c 100644
--- a/src/Bandwidth.Standard/Api/CallsApi.cs
+++ b/src/Bandwidth.Standard/Api/CallsApi.cs
@@ -123,7 +123,7 @@ public interface ICallsApiSync : IApiAccessor
/// Thrown when fails to make API call
/// Your Bandwidth Account ID.
/// Programmable Voice API Call ID.
- /// JSON object containing information to redirect an existing call to a new BXML document
+ /// JSON or BXML object containing information to redirect an existing call to a new BXML document
/// Index associated with the operation.
///
void UpdateCall(string accountId, string callId, UpdateCall updateCall, int operationIndex = 0);
@@ -137,7 +137,7 @@ public interface ICallsApiSync : IApiAccessor
/// Thrown when fails to make API call
/// Your Bandwidth Account ID.
/// Programmable Voice API Call ID.
- /// JSON object containing information to redirect an existing call to a new BXML document
+ /// JSON or BXML object containing information to redirect an existing call to a new BXML document
/// Index associated with the operation.
/// ApiResponse of Object(void)
ApiResponse