getPhone error

Version 1
    This document was generated from CDN thread

    Created by: Sam Choi on 09-03-2012 04:55:38 AM
    Hi all, 
     
    I'm using PHP for doing some AXL process in CUCM8.6
     
    for the "getUser", I'm able to get the result successfully, 
    $response = $client->getUser(array("userid"=>"sam"));
     
    but when i change to "getPhone"
    $response = $client->getPhone(array("phoneName"=>"SEP111122223333"));
     
    it returens the following error
     
     
    ["faultstring"]=>
      string(29) "No uuid or name element found"
      ["faultcode"]=>
      string(14) "soapenv:Server"
      ["detail"]=>
      object(stdClass)#25 (1) {
        ["axlError"]=>
        object(stdClass)#26 (3) {
          ["axlcode"]=>
          string(4) "5003"
          ["axlmessage"]=>
          string(29) "No uuid or name element found"
          ["request"]=>
          string(8) "getPhone"
     
     
     
    Anybody knows what is that mean and how to resolve it?
    Thanks
     
    Sam

    Subject: RE: getPhone error
    Replied by: David Staudt on 09-03-2012 11:37:15 AM
    getPhone in 8.5+ accepts either <name> or <uuid> elements as the search term.

    Subject: RE: getPhone error
    Replied by: Sam Choi on 11-03-2012 09:46:31 PM
    Thanks for the reply! it really helps!!!