(* Options:
Date: 2025-05-04 23:43:58
Version: 8.71
Tip: To override a DTO option, remove "//" prefix before updating
BaseUrl: https://team.evovoice.io
//GlobalNamespace:
//MakeDataContractsExtensible: False
//AddReturnMarker: True
//AddDescriptionAsComments: True
//AddDataContractAttributes: False
//AddIndexesToDataMembers: False
//AddGeneratedCodeAttributes: False
//AddResponseStatus: False
//AddImplicitVersion:
//ExportValueTypes: False
IncludeTypes: NewOutgoingSession.*
//ExcludeTypes:
//InitializeCollections: False
//AddNamespaces:
*)
namespace Voice.Api.Sessions
open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
///
///Create a new outgoing call and process it with the specified flow. This can only be used for voice sessions. If no caller ID is specified, we will use a random one.
///
[]
[]
[]
type NewOutgoingSession() =
interface IReturnVoid
interface IPost
///
///The ID of the flow to use. This flow will be executed as soon as the call is answered.
///
[]
member val FlowId:String = null with get,set
///
///The E164 number to dial, e.g. +18144043093
///
[]
member val NumberToDial:String = null with get,set
///
///The Caller ID to use. This must be the E164 number of an owned phone number
///
[]
member val CallerId:String = null with get,set