Evo Voice

<back to all web services

AppGetFlows

Requires Authentication
The following routes are available for this service:
GET/portal/flows
AppGetFlows Parameters:
NameParameterData TypeRequiredDescription
AccountIdquerystringNo
CustomerIdquerystringNo
NameFilterquerystringNo
RolequeryFlowRoles?No
ListRequest<T> Parameters:
NameParameterData TypeRequiredDescription
PageformintNoThe page of data to retrieve
AllformboolNoIf you want all objects to be returned. This should be used with care
CountPerPageformintNoThe number per page to retrieve
SpecificIdsformList<string>NoSpecific IDs
SortFieldformstringNoSpecify a sort field
SortOrderformSortOrdersNoSpecify a sort order
SimplifiedPagingformboolNoDisables total / page counts - improves performance. Returns only data. If there is no more data, Items will be empty array
SortOrders Enum:
Ascend
Descend
FlowInfo Parameters:
NameParameterData TypeRequiredDescription
NameformstringNoThe name of this flow
RolesformList<FlowRoles>NoThe roles that this flow has
DescriptionformstringNoWhat this flow does
NotesformstringNoAny notes for this flow
AccountIdformstringNoThe ID of the account associated with the flow
AccountNameformstringNoThe name of the account associated with the flow
CustomerIdformstringNoThe ID of the customer this flow is associated with
CustomerNameformstringNoThe name of the customer this flow is associated with
CustomerBreadcrumbformList<CustomerBreadcrumb>NoThe breadcrumb to the flow for this endpoint
NodesformList<FlowNode>NoThe nodes in this flow
ParametersformList<FlowParameter>NoThe flow's parameters
ExitsformList<FlowExit>NoThe flow's exits
UIformFlowUINoThe UI data for the flow
TagsformList<Tag>NoThe list of tags for this flow
NodeCountformintNoThe number of nodes in this flow
EntityInfo Parameters:
NameParameterData TypeRequiredDescription
IdformstringNoThe ID of the object
DateCreatedformstringNoThe date the object was created
DateLastModifiedformstringNoThe date the object was last modified
CreatedByformstringNoThe user that created this object
LastModifiedByformstringNoThe user that last modified this object
FlowRoles Enum:
UI
Reference
PhoneNumberRouting
UserDialOut
FaxNumberRouting
CustomerBreadcrumb Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
NameformstringNo
FlowNode Parameters:
NameParameterData TypeRequiredDescription
IdformstringNoThe ID of this node. Must be unique within the flow but can be anything
IsStartNodeformboolNoIs this the starting node for the flow. Only one node can have this set
NameformstringNoThe name of the node, descriptive to be used as a reminder in the GUI
SpecformFlowNodeSpecNoThe specification for the node
UIformFlowNodeUINoThe UI data for the node
ParametersformNodeParameterMapNoThe data for this node. These will be POST'd to the endpoint when it is called.
FlowNodeSpec Parameters:
NameParameterData TypeRequiredDescription
NameformstringNoThe name of this node
DescriptionformstringNoA description of this node
IconClassformstringNoIcon class for this node (FontAwesome)
TypeNameformstringNoThe type name for this node
CategoryformFlowNodeCategoriesNoThe category this node should be grouped under
UrlformstringNoThe URL where this node is located
DataTypeformDataTypeNoThe data type for this node
DocumentationUrlformstringNoURL for documentation for this node
RestrictToChannelsformList<FlowChannels>NoThe channels that this node is restricted to
FlowNodeCategories Enum:
General
Voice
Logic
DateAndTime
Audio
Messaging
Assistant
Flows
Fax
Network
Cookies
CallCenter
Intelligence
DataType Parameters:
NameParameterData TypeRequiredDescription
TypeNameformstringNo
FieldsformList<DataField>No
DataField Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
NameformstringNo
TypeformValueTypesNo
UIHintformUIHintsNo
UITabformstringNo
IsAsyncformboolNo
DisableBindingformboolNo
StructTypeformDataTypeNo
ListTypeformDataTypeNo
DescriptionformstringNo
PossibleValuesformList<string>No
IsOutputformboolNo
CustomFieldValuesUrlformstringNo
DefaultValueformValueNo
TransitionNameFormatformstringNo
UniquenessformDataFieldUniquenessNo
VoiceOnlyformboolNo
ConditionalVisibilityFieldformstringNo
ConditionalVisibilityValueformstringNo
NoEvalTemplateformboolNo
UserModeformUserDataFieldModesNo
AnyValueTypeformboolNo
ValueTypes Enum:
NotSpecified
String
Boolean
Number
List
Struct
Transition
Custom
Date
AudioFile
TimeZoneId
PhoneNumber
User
Endpoint
Time
File
FaxNumber
EmailAccount
Customer
Flow
Team
FlowReference
Integration
Assistant
UIHints Enum:
None
LargeText
InlineForm
Password
InlineStruct
Value Parameters:
NameParameterData TypeRequiredDescription
BoolValueformbool?No
StringValueformstringNo
NumberValueformdouble?No
ListValueformList<Struct>No
StructValueformStructNo
DataFieldUniqueness Enum:
NotUnique
Unique
UniqueToCustomer
UserDataFieldModes Enum:
Hidden
ReadOnly
ReadWrite
FlowChannels Enum:
Voice
Chat
Fax
FlowNodeUI Parameters:
NameParameterData TypeRequiredDescription
XformdoubleNoThe X position of the node
YformdoubleNoThe Y position of the node
NotesformstringNoNotes for this node
NodeParameter Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
TypeformValueTypesNo
SourceformValueSourcesNo
IsAsyncformboolNo
ReferenceIdformstringNo
ValueformValueNo
NoEvalTemplateformboolNo
ListParametersformList<NodeParameterMap>No
StructParametersformNodeParameterMapNo
IsOutputformboolNo
ExpressionformstringNo
ListTypeformDataTypeNo
ValueSources Enum:
Value
Flow
System
Customer
Session
Endpoint
Expression
User
FlowParameter Parameters:
NameParameterData TypeRequiredDescription
IsPublicformboolNo
IsKnobformboolNo
FlowExit Parameters:
NameParameterData TypeRequiredDescription
IdformstringNoThe unique ID for this exit
NameformstringNoThe name of this exit
UIformFlowNodeUINoThe UI for the exit
FlowUI Parameters:
NameParameterData TypeRequiredDescription
SelectedNodeformstringNo
CanvasXformdoubleNo
CanvasYformdoubleNo
CanvasZoomformdoubleNo
Tag Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
NameformstringNo
ColorformTagColorsNo
TagColors Enum:
Magenta
Red
Volcano
Orange
Gold
Lime
Green
Cyan
Blue
GeekBlue
Purple
ListResponse<T> Parameters:
NameParameterData TypeRequiredDescription
ItemsformList<AccountInfo>NoThe items
TotalCountformintNoThe total number of items
TotalPagesformintNoThe total number of pages
HasMorePagesformboolNoAre there more pages of items? Used with simplified paging
AccountInfo Parameters:
NameParameterData TypeRequiredDescription
NameformstringNoThe name of this account
ParentAccountIdformstringNoThe ID of this account's parent
TwilioAccountSidformstringNoThe twilio account SID
AncestorIdsformList<string>NoThe ancestors of this account. Useful for breadcrumbs
MaxPhoneNumbersformintNoThe max number of phone numbers this account can have
IsBYOAformboolNoThis account is BYOA
TrustHubProfileSidformstringNoTrustHub Profile Sid
LogoIdformstringNoThe ID of the logo file
LogoUriformstringNoThe URI of the logo file
BillingSettingsformBillingSettingsNoThe billing settings for this account
BillingSettings Parameters:
NameParameterData TypeRequiredDescription
BaseformBillingItemNo
LocalNumbersformBillingItemNo
TollFreeNumbersformBillingItemNo
InboundVoiceCallsformBillingItemNo
OutboundVoiceCallsformBillingItemNo
InboundFaxesformBillingItemNo
OutboundFaxesformBillingItemNo
InboundSmsMessagesformBillingItemNo
OutboundSmsMessagesformBillingItemNo
AIInsightsformBillingItemNo
AILiveMinutesformBillingItemNo
BillingItem Parameters:
NameParameterData TypeRequiredDescription
BaseCostformdoubleNo
RawUnitMultiplierformdoubleNo
UnitCostformdoubleNo
AllowanceformintNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /portal/flows HTTP/1.1 
Host: team.evovoice.io 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ListResponseOfFlowInfoM153aFo_P xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Voice.Api">
  <HasMorePages>false</HasMorePages>
  <Items xmlns:d2p1="http://schemas.datacontract.org/2004/07/Voice.Api.Flows">
    <d2p1:FlowInfo>
      <CreatedBy>String</CreatedBy>
      <DateCreated>String</DateCreated>
      <DateLastModified>String</DateLastModified>
      <Id>String</Id>
      <LastModifiedBy>String</LastModifiedBy>
      <d2p1:AccountId>String</d2p1:AccountId>
      <d2p1:AccountName>String</d2p1:AccountName>
      <d2p1:CustomerBreadcrumb xmlns:d4p1="http://schemas.datacontract.org/2004/07/Voice.Api.Customers">
        <d4p1:CustomerBreadcrumb>
          <d4p1:Id>String</d4p1:Id>
          <d4p1:Name>String</d4p1:Name>
        </d4p1:CustomerBreadcrumb>
      </d2p1:CustomerBreadcrumb>
      <d2p1:CustomerId>String</d2p1:CustomerId>
      <d2p1:CustomerName>String</d2p1:CustomerName>
      <d2p1:Description>String</d2p1:Description>
      <d2p1:Exits>
        <d2p1:FlowExit>
          <d2p1:Id>String</d2p1:Id>
          <d2p1:Name>String</d2p1:Name>
          <d2p1:UI>
            <d2p1:Notes>String</d2p1:Notes>
            <d2p1:X>0</d2p1:X>
            <d2p1:Y>0</d2p1:Y>
          </d2p1:UI>
        </d2p1:FlowExit>
      </d2p1:Exits>
      <d2p1:Name>String</d2p1:Name>
      <d2p1:NodeCount>0</d2p1:NodeCount>
      <d2p1:Nodes>
        <d2p1:FlowNode>
          <d2p1:Id>String</d2p1:Id>
          <d2p1:IsStartNode>false</d2p1:IsStartNode>
          <d2p1:Name>String</d2p1:Name>
          <d2p1:Parameters xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:KeyValueOfstringNodeParameteripFhVFNS>
              <d6p1:Key>String</d6p1:Key>
              <d6p1:Value i:nil="true" />
            </d6p1:KeyValueOfstringNodeParameteripFhVFNS>
          </d2p1:Parameters>
          <d2p1:Spec>
            <d2p1:Category>General</d2p1:Category>
            <d2p1:DataType xmlns:d7p1="http://schemas.datacontract.org/2004/07/Voice.Api.Flows.Data" i:nil="true" />
            <d2p1:Description>String</d2p1:Description>
            <d2p1:DocumentationUrl>String</d2p1:DocumentationUrl>
            <d2p1:IconClass>String</d2p1:IconClass>
            <d2p1:Name>String</d2p1:Name>
            <d2p1:RestrictToChannels>
              <d2p1:FlowChannels>Voice</d2p1:FlowChannels>
            </d2p1:RestrictToChannels>
            <d2p1:TypeName>String</d2p1:TypeName>
            <d2p1:Url>String</d2p1:Url>
          </d2p1:Spec>
          <d2p1:UI>
            <d2p1:Notes>String</d2p1:Notes>
            <d2p1:X>0</d2p1:X>
            <d2p1:Y>0</d2p1:Y>
          </d2p1:UI>
        </d2p1:FlowNode>
      </d2p1:Nodes>
      <d2p1:Notes>String</d2p1:Notes>
      <d2p1:Parameters>
        <d2p1:FlowParameter>
          <AnyValueType xmlns="http://schemas.datacontract.org/2004/07/Voice.Api.Flows.Data">false</AnyValueType>
          <ConditionalVisibilityField xmlns="http://schemas.datacontract.org/2004/07/Voice.Api.Flows.Data">String</ConditionalVisibilityField>
          <ConditionalVisibilityValue xmlns="http://schemas.datacontract.org/2004/07/Voice.Api.Flows.Data">String</ConditionalVisibilityValue>
          <CustomFieldValuesUrl xmlns="http://schemas.datacontract.org/2004/07/Voice.Api.Flows.Data">String</CustomFieldValuesUrl>
          <DefaultValue xmlns="http://schemas.datacontract.org/2004/07/Voice.Api.Flows.Data">
            <BoolValue>false</BoolValue>
            <ListValue xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
              <d7p1:ArrayOfKeyValueOfstringValue8Ahp2kgT i:nil="true" />
            </ListValue>
            <NumberValue>0</NumberValue>
            <StringValue>String</StringValue>
            <StructValue xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
          </DefaultValue>
          <Description xmlns="http://schemas.datacontract.org/2004/07/Voice.Api.Flows.Data">String</Description>
          <DisableBinding xmlns="http://schemas.datacontract.org/2004/07/Voice.Api.Flows.Data">false</DisableBinding>
          <Id xmlns="http://schemas.datacontract.org/2004/07/Voice.Api.Flows.Data">String</Id>
          <IsAsync xmlns="http://schemas.datacontract.org/2004/07/Voice.Api.Flows.Data">false</IsAsync>
          <IsOutput xmlns="http://schemas.datacontract.org/2004/07/Voice.Api.Flows.Data">false</IsOutput>
          <ListType i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/Voice.Api.Flows.Data" />
          <Name xmlns="http://schemas.datacontract.org/2004/07/Voice.Api.Flows.Data">String</Name>
          <NoEvalTemplate xmlns="http://schemas.datacontract.org/2004/07/Voice.Api.Flows.Data">false</NoEvalTemplate>
          <PossibleValues xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Voice.Api.Flows.Data">
            <d6p1:string>String</d6p1:string>
          </PossibleValues>
          <StructType i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/Voice.Api.Flows.Data" />
          <TransitionNameFormat xmlns="http://schemas.datacontract.org/2004/07/Voice.Api.Flows.Data">String</TransitionNameFormat>
          <Type xmlns="http://schemas.datacontract.org/2004/07/Voice.Api.Flows.Data">NotSpecified</Type>
          <UIHint xmlns="http://schemas.datacontract.org/2004/07/Voice.Api.Flows.Data">None</UIHint>
          <UITab xmlns="http://schemas.datacontract.org/2004/07/Voice.Api.Flows.Data">String</UITab>
          <Uniqueness xmlns="http://schemas.datacontract.org/2004/07/Voice.Api.Flows.Data">NotUnique</Uniqueness>
          <UserMode xmlns="http://schemas.datacontract.org/2004/07/Voice.Api.Flows.Data">Hidden</UserMode>
          <VoiceOnly xmlns="http://schemas.datacontract.org/2004/07/Voice.Api.Flows.Data">false</VoiceOnly>
          <d2p1:IsKnob>false</d2p1:IsKnob>
          <d2p1:IsPublic>false</d2p1:IsPublic>
        </d2p1:FlowParameter>
      </d2p1:Parameters>
      <d2p1:Roles>
        <d2p1:FlowRoles>UI</d2p1:FlowRoles>
      </d2p1:Roles>
      <d2p1:Tags xmlns:d4p1="http://schemas.datacontract.org/2004/07/Voice.Api.Settings">
        <d4p1:Tag>
          <d4p1:Color>Magenta</d4p1:Color>
          <d4p1:Id>String</d4p1:Id>
          <d4p1:Name>String</d4p1:Name>
        </d4p1:Tag>
      </d2p1:Tags>
      <d2p1:UI>
        <d2p1:CanvasX>0</d2p1:CanvasX>
        <d2p1:CanvasY>0</d2p1:CanvasY>
        <d2p1:CanvasZoom>0</d2p1:CanvasZoom>
        <d2p1:SelectedNode>String</d2p1:SelectedNode>
      </d2p1:UI>
    </d2p1:FlowInfo>
  </Items>
  <TotalCount>0</TotalCount>
  <TotalPages>0</TotalPages>
</ListResponseOfFlowInfoM153aFo_P>