What? :vague:
Building a query
Hello Tell me how to parse an array into lines, I get a lot of information on the API I need. Sample code
if ($result['status'] === 'success') {
var_dump($result['callDetails']);
}
result:
array(17) { ["companyID"]=> string(4) "17111" ["generalCallID"]=> string(10) "1234141" ["callID"]=> string(10) "134123" ["startTime"]=> string(10) "41324" ["callType"]=> string(1) "0" ["internalNumber"]=> string(3) "813" ["internalAdditionalData"]=> string(0) "" ["externalNumber"]=> string(10) "12341234" ["waitsec"]=> string(1) "0" ["billsec"]=> string(1) "0" ["disposition"]=> string(6) "CANCEL" ["recordingStatus"]=> string(0) "" ["isNewCall"]=> string(1) "0" ["customerData"]=> string(0) "" ["employeeData"]=> array(0) { } ["pbxNumberData"]=> array(2) { ["number"]=> string(10) "00000000" ["name"]=> string(10) "1" } ["historyData"]=> array(1) { [0]=> array(6) { ["waitsec"]=> string(1) "0" ["billsec"]=> string(1) "0" ["disposition"]=> string(6) "CANCEL" ["internalNumber"]=> string(3) "813" ["internalAdditionalData"]=> string(0) "" ["employeeData"]=> array(0) { } } } }
And I only need: companyID, number, disposition
How to build a query correctly?
Please or to participate in this conversation.