Jump to content

Virda Agustina

Retired Forum Member
  • Posts

    2
  • Joined

  • Last visited

Everything posted by Virda Agustina

  1. when i try to use API GetClients , I get an error "Array ( [result] => error [message] => Invalid administrative identifier ) " . my code : $params = array( 'action' => 'GetClients', 'identifier' => USERNAME, 'secret' => PASSWORD, 'search' => $email, 'limitnum'=> 1, 'responsetype' => 'json', ); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, URL_API); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($params) ); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $response = curl_exec($ch); curl_close($ch); $dataClient=json_decode($response,true); print_r($dataClient);
  2. when i try to use API GetClients , I get an error "Array ( [result] => error [message] => Invalid administrative identifier ) " . my code : $params = array( 'action' => 'GetClients', 'identifier' => USERNAME, 'secret' => PASSWORD, 'search' => $email, 'limitnum'=> 1, 'responsetype' => 'json', ); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, URL_API); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($params) ); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $response = curl_exec($ch); curl_close($ch); $dataClient=json_decode($response,true); print_r($dataClient);
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated