Hi there..
New to this .. Got a connection to economic - but need a list of projects with their handles (to do a dropdown)
Tried
$projectHandles = $client->ProjectGroup_GetAll();
$projectDataObjects = $client->Project_GetDataArray(array('entityHandles' => $projectHandles))->Project_GetData();
And got an error
Call to undefined method stdClass::Project_GetData() in
anyone ?
/Lars
Edit:
The "play around till it works" - seems to bring results..
Once you know how to... https://api.e-conomic.com/secure/api1/EconomicWebservice.asmx
$projectHandles = $client->Project_GetAll()->Project_GetAllResult->ProjectHandle;
$projectDataObjects = $client->Project_GetDataArray(array('entityHandles' => $projectHandles))->Project_GetDataArrayResult->ProjectData;
seems to do the trick..