Jump to content

web service api


stexx81

Recommended Posts

i have tryed to use web service api to list my customers.

i use this istruction

 

 

foreach ($resources as $key => $resource)

{

 

echo 'Name of field : '.$resources->$key->$id.' - Value : '.$resource->attributes().'<br />';

 

 

}

 

i upload the complete file, list_the_clients.php

 

i obtain this output

 

Name of field : - Value : 1

Name of field : - Value : 2

Name of field : - Value : 3

 

i can't see the value of istruction $resources->$key->$id

and for $resource->attributes() i obtain only a number

 

I would like to obtain all the informations of my customers. somebody have some suggest

 

I have used PSWebServiceLibrary.php

 

some help? thank you all

list_the_clients.php

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...