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

Recent posts tagged php

0
0
answers
74
views
I want to get the description of the product but I have error in Product_GetDescriptionResult part which is not found by some reason. Can someone help me, the code: $productDescriptionHandle = $client->Product_GetDescription(array('productHandle' => $productNumberObj))->Product_GetDescriptionResult;
created Feb 23 by kostylo
0
0
answers
44
views
I have written a programe in C and have one executable , now when i Ran a php script and i want to execute this executable with some parameter and get output of that in php variable so that i can ...
created Jan 19 by grabbitmedia
0
2
answers
58
views
I am currently working on an automatic invoice system in PhP which creates invoices on e-conomic and after that gets the faktura number and sets it on a specification file that the company I work at emits to the custommer. What ...
created Jan 18 by alyn509
0
0
answers
75
views
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) ... ->ProjectHandle; $projectDataObjects = $client->Project_GetDataArray(array('entityHandles' => $projectHandles))->Project_GetDataArrayResult->ProjectData; ...
created Aug 16, 2016 by osomanden
0
2
answers
196
views
This might just be me that are stupid ;-) I can get the code below to work fine with demo values for AppSecretToken and AgreementGrantToken - but what do I place there in a real senario? I can see my AppSecretToken ...
created Jul 7, 2016 by beast
0
0
answers
224
views
I would like to make a simple cashbook entry everytime a purcahse is made on our platform. The entry should contain: Amount Account number (e.g. 5820) (optionally) some text I have found a PHP Economic SOAP library and struggled with it ...
created Jun 27, 2016 by simplenotezy
0
1
answer
118
view
I would like to know the best practise on how to handle large data ex. try { $InvoiceHandles = $client->Debtor_GetInvoices(array('debtorHandle' => $debtorHandle))->Debtor_GetInvoicesResult->InvoiceHandle; $num_Invoices = count($InvoiceHandles); if($num_Invoices > 0) { ... ))->Invoice_GetDataResult; }..... Can i limit this om date og number of ...
created Feb 3, 2016 by bahn
0
1
answer
790
view
Hi, does anyone have a small example on how to onnect to the REST api from PHP using the Token method?
created Feb 2, 2016 by donslund
0
2
answers
458
views
Hej, Jeg knokler med at få hul igennem til min E-conomic konto vha. API i PHP. Jeg kunne godt tænke mig at kunne oprette kunder, og faktura. Nogen der har et eksempel til dette? På forhånd tak.
created Jan 11, 2016 by mvel
0
1
answer
591
view
I have a web hook on the "order updated" event, and I'm receiving the old and new ids without problems. On my server I'm trying to determine whether: A new order was created An order was updated An order was deleted ...
created Dec 28, 2015 by Morten2990
0
1
answer
315
view
Hi i have tried find a way to do api calls with php to E-conomic Rest api so if someone have a little example script in php would be awsome that for ex get data from https://restapi.e-conomic.com/accounts?skippages=0&pagesize=200
created Dec 17, 2015 by christopher_gidlof
0
1
answer
184
view
I can not make this line work(it is at the bottom in my script): $orderAsSent = $client->Order_RegisterAsSent(array("Id" => $orderHandle))->Order_RegisterAsSentResult->orderHandle; // $orderhandle creates the order I have created an order and set orderlines, everythings work, but can not register it as ... ...
created Nov 1, 2015 by suulut
0
1
answer
175
view
I want to get ALL DeliveryLocations from one debtor only. I tried DeliveryLocation_GetDataArray: $deliveryHandle = $client->DeliveryLocation_GetDataArray(array('entityHandles' => $debtor_number))->DeliveryLocation_GetDataArrayResult; According to the documentation it takes an Id to get this to work. $debtor_number = needs to be an Id. But how and ...
created Oct 5, 2015 by suulut
0
1
answer
154
view
for this search there is only one debtor post, therefore i'm using Debtor_GetData But I only get the number, and fault on he rest: //$debtorHandle = "*".$_POST['partialName']."*"; $debtorHandle = $client->Debtor_FindByName(array('name' => 'SUPER-1 V/GUNNER LARSEN'))->Debtor_FindByNameResult->DebtorHandle; $debtorDataObjects = $client-> ... ?php print $debtorData->Address ...
created Oct 2, 2015 by suulut
0
1
answer
256
view
Hi, I need some help from someone that can catch the little things I can't see. I have a PHP script that is used to extract some data from our economics system, and import these data into our intranet database. It ...
created Sep 3, 2015 by thomas.k
0
1
answer
345
view
I can make an order whit the right debitor name by Debtor_FindByNumber, it works very well. But in the same script i would like to set one or more orderlines by Product_FindByNumber. I'm not aple to set the orderlines: what am ...
created Aug 9, 2015 by suulut
0
1
answer
482
view
Is it possible to add a new line to an existing invoice with the rest api? Is there any documentation on this and if so, where? or is it possible to update an existing invoice by adding a value to this ...
created Apr 20, 2015 by Siop
0
1
answer
1223
view
Im trying to create a customer and im following http://restdocs.e-conomic.com/#customers. Where can i figure out what object is required in the field 'customerGroup','paymentTerms' and 'vatZone'? This is the data i send $data = [ 'AppID' => 'MY-APP-ID', 'AccessID' => 'MY-ACCESS-ID', 'currency' ...
created Apr 20, 2015 by Siop
0
0
answers
197
views
I'm using PHP - SOAP... When adding order lines I get this error: Economic.Api.Exceptions.IntegrityException(E06350): A product must be set before the unit net price. The array looks like this: [product] => BC-107 [description] => Produktnavn [price] => 120.00 [qty] => 1 ...
created Mar 26, 2015 by Hjemmesidestyrelsen
0
1
answer
139
view
'All Settings->Subscription->Add on modules->API' is set to 'Yes'. I am testing this with 'list_debtors.php?agreementNumber=XXXXXX&username=YYY&password=ZZZZ'. No data is returned and it is not possible to create a new debtor either. Everything works perfectly with my developer edition of e-conomics. Wondering what the ...
created Mar 24, 2015 by jpandersen61

Network

Find all the documentation and resources you need to build great apps.
Go to Developer site

Newsletter

Get the latest news and important info from the e-conomic developer world.
Sign up now

Visma e-conomic A/S
...