Submit an Interaction
Declare an Audio Interaction
Metadata
// // metadata and explore the use of the metadata parameter when declaring an interaction allows for the importation of additional information about the interaction which will be useful when performing analysis and reporting with elevateai explore if the metadata body parameter is specified in a declare https //docs elevateai com/tutorials/declare an audio interaction for an account that is not enabled for explore, the operation will return a response of 400 bad request // // metadata format elevateai has both standard metadata fields and custom fields the standard fields are those most commonly found in contact center call recording environments and provide key information for identifying the details of an interaction though the values of all fields will be strings when passed into the declare operation, the values for certain fields must fit the expected type of that field datetime fields must be in the iso 8601 (utc) iso 8601 (utc) format shown in the json example below, with the t time introduction the custom fields all fall within the "custom" section the values within these entries will all be required to match the associated type datetime, text, integer and decimal the number of available fields for the custom field types is as follows field type count datetime 45 text 165 integer 50 decimal 40 custom field names are in the format custom {types} {type}# for example the 8th integer field is 'custom integers integer8' any fields which do not map to an elevateai field are ignored without feedback following are a metadata sample in json format and a class specification for the complete metadata schema "metadata" { "category" "call centers", "direction" "inbound", "recorded" "2023 08 03t15 27 09z", "audio" { "extension" "3", "dnis" "dnis123" }, "agent" { "id" "716", "name" "stephen jones", "supervisor" { "id" "49", "name" "sabrina jones" }, "group" { "id" "93", "name" "jones group" } }, "site" { "id" "7741", "name" "atlanta" }, "customer" { "id" "844135", "name" "xander", "city" "los angelos", "state" "california" }, "custom" { "datetimes" { "datetime1" "2023 08 03t15 27 09z" }, "texts" { "text1" "california callers" }, "integers" { "integer1" 84416 }, "decimals" { "decimal1" 344 15 } } }namespace elevateai { internal class eaimetadata { public string? category { get; set; } public string? direction { get; set; } public string? recorded { get; set; } public eaimetaaudio? audio { get; set; } public eaimetaagent? agent { get; set; } public eaimetasite? site { get; set; } public eaimetacustomer? customer { get; set; } public eaimetacustom? custom { get; set; } } public class eaimetaaudio { public string? extension { get; set; } public string? dnis { get; set; } } public class eaimetaagent { public string? id { get; set; } public string? name { get; set; } public eaimetasupervisor? supervisor { get; set; } public eaimetagroup? group { get; set; } } public class eaimetasupervisor { public string? id { get; set; } public string? name { get; set; } } public class eaimetagroup { public string? id { get; set; } public string? name { get; set; } } public class eaimetasite { public string? id { get; set; } public string? name { get; set; } } public class eaimetacustomer { public string? id { get; set; } public string? name { get; set; } public string? city { get; set; } public string? state { get; set; } } public class eaimetacustom { public eaidatetime? datetimes { get; set; } public eaitext? texts { get; set; } public eaiinteger? integers { get; set; } public eaidecimal? decimals { get; set; } } public class eaidatetime { public datetime? datetime1 { get; set; } public datetime? datetime2 { get; set; } public datetime? datetime3 { get; set; } public datetime? datetime4 { get; set; } public datetime? datetime5 { get; set; } public datetime? datetime6 { get; set; } public datetime? datetime7 { get; set; } public datetime? datetime8 { get; set; } public datetime? datetime9 { get; set; } public datetime? datetime10 { get; set; } public datetime? datetime11 { get; set; } public datetime? datetime12 { get; set; } public datetime? datetime13 { get; set; } public datetime? datetime14 { get; set; } public datetime? datetime15 { get; set; } public datetime? datetime16 { get; set; } public datetime? datetime17 { get; set; } public datetime? datetime18 { get; set; } public datetime? datetime19 { get; set; } public datetime? datetime20 { get; set; } public datetime? datetime21 { get; set; } public datetime? datetime22 { get; set; } public datetime? datetime23 { get; set; } public datetime? datetime24 { get; set; } public datetime? datetime25 { get; set; } public datetime? datetime26 { get; set; } public datetime? datetime27 { get; set; } public datetime? datetime28 { get; set; } public datetime? datetime29 { get; set; } public datetime? datetime30 { get; set; } public datetime? datetime31 { get; set; } public datetime? datetime32 { get; set; } public datetime? datetime33 { get; set; } public datetime? datetime34 { get; set; } public datetime? datetime35 { get; set; } public datetime? datetime36 { get; set; } public datetime? datetime37 { get; set; } public datetime? datetime38 { get; set; } public datetime? datetime39 { get; set; } public datetime? datetime40 { get; set; } public datetime? datetime41 { get; set; } public datetime? datetime42 { get; set; } public datetime? datetime43 { get; set; } public datetime? datetime44 { get; set; } public datetime? datetime45 { get; set; } } public class eaitext { public string? text1 { get; set; } public string? text2 { get; set; } public string? text3 { get; set; } public string? text4 { get; set; } public string? text5 { get; set; } public string? text6 { get; set; } public string? text7 { get; set; } public string? text8 { get; set; } public string? text9 { get; set; } public string? text10 { get; set; } public string? text11 { get; set; } public string? text12 { get; set; } public string? text13 { get; set; } public string? text14 { get; set; } public string? text15 { get; set; } public string? text16 { get; set; } public string? text17 { get; set; } public string? text18 { get; set; } public string? text19 { get; set; } public string? text20 { get; set; } public string? text21 { get; set; } public string? text22 { get; set; } public string? text23 { get; set; } public string? text24 { get; set; } public string? text25 { get; set; } public string? text26 { get; set; } public string? text27 { get; set; } public string? text28 { get; set; } public string? text29 { get; set; } public string? text30 { get; set; } public string? text31 { get; set; } public string? text32 { get; set; } public string? text33 { get; set; } public string? text34 { get; set; } public string? text35 { get; set; } public string? text36 { get; set; } public string? text37 { get; set; } public string? text38 { get; set; } public string? text39 { get; set; } public string? text40 { get; set; } public string? text41 { get; set; } public string? text42 { get; set; } public string? text43 { get; set; } public string? text44 { get; set; } public string? text45 { get; set; } public string? text46 { get; set; } public string? text47 { get; set; } public string? text48 { get; set; } public string? text49 { get; set; } public string? text50 { get; set; } public string? text51 { get; set; } public string? text52 { get; set; } public string? text53 { get; set; } public string? text54 { get; set; } public string? text55 { get; set; } public string? text56 { get; set; } public string? text57 { get; set; } public string? text58 { get; set; } public string? text59 { get; set; } public string? text60 { get; set; } public string? text61 { get; set; } public string? text62 { get; set; } public string? text63 { get; set; } public string? text64 { get; set; } public string? text65 { get; set; } public string? text66 { get; set; } public string? text67 { get; set; } public string? text68 { get; set; } public string? text69 { get; set; } public string? text70 { get; set; } public string? text71 { get; set; } public string? text72 { get; set; } public string? text73 { get; set; } public string? text74 { get; set; } public string? text75 { get; set; } public string? text76 { get; set; } public string? text77 { get; set; } public string? text78 { get; set; } public string? text79 { get; set; } public string? text80 { get; set; } public string? text81 { get; set; } public string? text82 { get; set; } public string? text83 { get; set; } public string? text84 { get; set; } public string? text85 { get; set; } public string? text86 { get; set; } public string? text87 { get; set; } public string? text88 { get; set; } public string? text89 { get; set; } public string? text90 { get; set; } public string? text91 { get; set; } public string? text92 { get; set; } public string? text93 { get; set; } public string? text94 { get; set; } public string? text95 { get; set; } public string? text96 { get; set; } public string? text97 { get; set; } public string? text98 { get; set; } public string? text99 { get; set; } public string? text100 { get; set; } public string? text101 { get; set; } public string? text102 { get; set; } public string? text103 { get; set; } public string? text104 { get; set; } public string? text105 { get; set; } public string? text106 { get; set; } public string? text107 { get; set; } public string? text108 { get; set; } public string? text109 { get; set; } public string? text110 { get; set; } public string? text111 { get; set; } public string? text112 { get; set; } public string? text113 { get; set; } public string? text114 { get; set; } public string? text115 { get; set; } public string? text116 { get; set; } public string? text117 { get; set; } public string? text118 { get; set; } public string? text119 { get; set; } public string? text120 { get; set; } public string? text121 { get; set; } public string? text122 { get; set; } public string? text123 { get; set; } public string? text124 { get; set; } public string? text125 { get; set; } public string? text126 { get; set; } public string? text127 { get; set; } public string? text128 { get; set; } public string? text129 { get; set; } public string? text130 { get; set; } public string? text131 { get; set; } public string? text132 { get; set; } public string? text133 { get; set; } public string? text134 { get; set; } public string? text135 { get; set; } public string? text136 { get; set; } public string? text137 { get; set; } public string? text138 { get; set; } public string? text139 { get; set; } public string? text140 { get; set; } public string? text141 { get; set; } public string? text142 { get; set; } public string? text143 { get; set; } public string? text144 { get; set; } public string? text145 { get; set; } public string? text146 { get; set; } public string? text147 { get; set; } public string? text148 { get; set; } public string? text149 { get; set; } public string? text150 { get; set; } public string? text151 { get; set; } public string? text152 { get; set; } public string? text153 { get; set; } public string? text154 { get; set; } public string? text155 { get; set; } public string? text156 { get; set; } public string? text157 { get; set; } public string? text158 { get; set; } public string? text159 { get; set; } public string? text160 { get; set; } public string? text161 { get; set; } public string? text162 { get; set; } public string? text163 { get; set; } public string? text164 { get; set; } public string? text165 { get; set; } } public class eaiinteger { public int? integer1 { get; set; } public int? integer2 { get; set; } public int? integer3 { get; set; } public int? integer4 { get; set; } public int? integer5 { get; set; } public int? integer6 { get; set; } public int? integer7 { get; set; } public int? integer8 { get; set; } public int? integer9 { get; set; } public int? integer10 { get; set; } public int? integer11 { get; set; } public int? integer12 { get; set; } public int? integer13 { get; set; } public int? integer14 { get; set; } public int? integer15 { get; set; } public int? integer16 { get; set; } public int? integer17 { get; set; } public int? integer18 { get; set; } public int? integer19 { get; set; } public int? integer20 { get; set; } public int? integer21 { get; set; } public int? integer22 { get; set; } public int? integer23 { get; set; } public int? integer24 { get; set; } public int? integer25 { get; set; } public int? integer26 { get; set; } public int? integer27 { get; set; } public int? integer28 { get; set; } public int? integer29 { get; set; } public int? integer30 { get; set; } public int? integer31 { get; set; } public int? integer32 { get; set; } public int? integer33 { get; set; } public int? integer34 { get; set; } public int? integer35 { get; set; } public int? integer36 { get; set; } public int? integer37 { get; set; } public int? integer38 { get; set; } public int? integer39 { get; set; } public int? integer40 { get; set; } public int? integer41 { get; set; } public int? integer42 { get; set; } public int? integer43 { get; set; } public int? integer44 { get; set; } public int? integer45 { get; set; } public int? integer46 { get; set; } public int? integer47 { get; set; } public int? integer48 { get; set; } public int? integer49 { get; set; } public int? integer50 { get; set; } } public class eaidecimal { public decimal? decimal1 { get; set; } public decimal? decimal2 { get; set; } public decimal? decimal3 { get; set; } public decimal? decimal4 { get; set; } public decimal? decimal5 { get; set; } public decimal? decimal6 { get; set; } public decimal? decimal7 { get; set; } public decimal? decimal8 { get; set; } public decimal? decimal9 { get; set; } public decimal? decimal10 { get; set; } public decimal? decimal11 { get; set; } public decimal? decimal12 { get; set; } public decimal? decimal13 { get; set; } public decimal? decimal14 { get; set; } public decimal? decimal15 { get; set; } public decimal? decimal16 { get; set; } public decimal? decimal17 { get; set; } public decimal? decimal18 { get; set; } public decimal? decimal19 { get; set; } public decimal? decimal20 { get; set; } public decimal? decimal21 { get; set; } public decimal? decimal22 { get; set; } public decimal? decimal23 { get; set; } public decimal? decimal24 { get; set; } public decimal? decimal25 { get; set; } public decimal? decimal26 { get; set; } public decimal? decimal27 { get; set; } public decimal? decimal28 { get; set; } public decimal? decimal29 { get; set; } public decimal? decimal30 { get; set; } public decimal? decimal31 { get; set; } public decimal? decimal32 { get; set; } public decimal? decimal33 { get; set; } public decimal? decimal34 { get; set; } public decimal? decimal35 { get; set; } public decimal? decimal36 { get; set; } public decimal? decimal37 { get; set; } public decimal? decimal38 { get; set; } public decimal? decimal39 { get; set; } public decimal? decimal40 { get; set; } } }