API Forum

This forum is in read-only mode.
Please refer to our API support in case you have any questions.
We can be reached at api@e-conomic.com
e-conomic API developer forum

get project ids per finance id

0
Greetings.

 

Is it possible to get a list of projects per finance id (or customer id)

 

I am able to get all projects by:

$projectHandles = $finance_client->Project_GetAll()->Project_GetAllResult->ProjectHandle;
$projectDataObjects = $finance_client->Project_GetDataArray(array('entityHandles' => $projectHandles))->Project_GetDataArrayResult;
 

But cannot see where to set it to just this customer/finance id in the

https://api.e-conomic.com/secure/api1/EconomicWebservice.asmx

Best regards

 

/Lars
created Nov 28, 2016 by osomanden
0% Accept Rate
Q 4 A 0 C 1

1 Answer

0

Hi Lars,

On SOAP a customer is known as a Debtor.
On the Project object you can find the DebtorHandle that will tell you which customer the project is linked to.

https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Project_GetData
https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Project_GetDataArray

        <DebtorHandle>
          <Number>string</Number>
        </DebtorHandle>
answered Nov 29, 2016 by olej
Visma e-conomic A/S
...