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
1
answer
286
view
Hi, I receive this error when updating product with SOAP api: Economic.Api.Exceptions.IntegrityException(E06000): The product '' does not exist. I'm pretty sure I give the right numbers for the handle and product number, here is the code: -------- $id = get_the_ID(); $orderdata ...
created Mar 5, 2015 by openocean
0
1
answer
163
view
I want to update the unit number(pcs, pks, etc...) on my quotation line, $enhedensnr=$orderData->UnitHandle->Number; echo "<h1>Enhedens nummer: ".$enhedensnr."</h1>"; $opdater_linje_enhed = $client->QuotationLine_SetUnit(array('quotationLineHandle'=>$opret_linje, 'valueHandle' => $enhedensnr))->QuotationLine_SetUnitResponse; Whats wrong with this one ? I can echo the value via PHP, but i cant update ...
created Feb 16, 2015 by ChrisR
0
1
answer
737
view
Hi Geeks, Im running below issue for intgeration, kindly provide solution for this. Thanks in advance. Array ( [status] => error [msg] => Economic.Api.Exceptions.AuthorizationException(E03060): To use this feature you must be logged on to a UK agreementnumber. (id=808f7eb1-f085-47d5-a2fa-f59c3b01a51a) ) ...
created Jan 25, 2015 by avt
0
1
answer
4643
view
Im trying to pull some data from my E-conomic demo account via the provided PHP example: https://github.com/e-conomic/eco-api-ex/blob/master/examples/php/list_debtors.php However i just get this: LN 130: Notice: Undefined property: stdClass::$DebtorData LN 162: Warning: Invalid argument supplied for foreach() Tried som other examples i ...
created Dec 20, 2014 by nobrainerweb
0
1
answer
233
view
i need to be able to do a rollback when creating multiple invoices if any error happens. the way i do that now is a save an array with the handles of the invoices i create and if i get an ...
created Nov 21, 2014 by consendo
0
1
answer
308
view
Hi guys I might (very plausible) be going about this the wrong way - when creating a new quote I add individual quotation_lines one by one - this makes the proces very slow... A quotation with perhaps 10 orderlines takes upwards ...
created Oct 19, 2014 by internetservice
0
1
answer
272
view
Is it true that it's not possible to update the telephone number of a Creditor via the API? For a Debtor, there's a TelephoneAndFaxNumber entry in the GetDataResult. But not for a Creditor? Am I missing something?
created Oct 15, 2014 by villumsign
0
1
answer
858
view
When I create a product via the API, I would like to have the product accible/open and also select the unit, but where do I find these options.
created Oct 8, 2014 by wibergs
0
1
answer
870
view
Hejsa, kan du hjælpe mig med et PHP eksempel på ConnectAsAdministrator? MVH Henrik
created Oct 8, 2014 by wibergs
0
1
answer
1052
view
Starting out with the API, I've tried fetching all the Debtors, and it seems to go fine. I can output the various data with echo $debtorData->Number; echo $debtorData->Name; echo $debtorData->CINumber; ...and so forth. As far as I can see, there is ...
created Oct 4, 2014 by villumsign
0
0
answers
1352
views
Is there a SOAP call that returns all orderlines from a ordernumber ? I can't seem to find this in the API.
created Sep 23, 2014 by ChrisR
0
0
answers
849
views
Hi, I am trying to create Product Category using SOAP API functions. I am using ProductGroup_CreateFromData() function as follows : $product_cat = $client->ProductGroup_CreateFromData(array('data' => array( 'Number' => $new_productgroup_id+1, 'Name' => $category, 'AccountForVatLiableDebtorInvoicesCurrentHandle' ... dummy value). But I dont know what this ...
created Sep 12, 2014 by Wisdmlabs
0
1
answer
594
view
Hi I am haveing the following code : Iterate to get array $productupdateset[]=array('Number'=>$data[3],'Name'=>$data[7],'Description'=>$data[12],'SalesPrice'=>str_replace(',', '.', $data[4])*5,'CostPrice'=>str_replace(',', '.', $data[4]),'RecommendedPrice'=>str_replace(',', '.', $data[ ... (E00000): An internal error has occurred. (id=ca9574bd-1b29-4585-a6ce-e361d80b9b50) Doing the same for Product_CreateFromDataArray dosen't complain. Any hints to what I am doing ...
created Sep 10, 2014 by larsbrandi
0
1
answer
726
view
I update a product like this : $ProductGetAll=$client->Product_GetData(array('entityHandle'=>array('Number'=>'test1234')))->Product_GetDataResult; $ProductGetAll->RecommendedPrice=105; $update_product=$client->Product_UpdateFromData(array('data'=>$ProductGetAll))->Product_UpdateFromDataResult; If I omit "Product_UpdateFromDataResult" in my last line, I still get an update of my product. What is the correct syntax here ? ...
created Sep 9, 2014 by larsbrandi
0
0
answers
193
views
Hey, I have problem when using Subscriber_GetAll(). I am invoking it through php code. Up until now everything seemed well. However, the function returns subscribers which are not appearing under kunder->"Abbonementer" for a specific user. That creates a data inconcistency and ...
created Aug 14, 2014 by gc
0
1
answer
952
view
What happen if I create a new debtor with an existing debtor number? $newDebtorHandle = $client->Debtor_Create(array( 'number' => $number, //existing number for debtor 'name' => $name, 'vatZone' => 'ES'))->Debtor_CreateResult; Will it be overridden? If not, should I get first the debtors ...
created Jul 2, 2014 by msalsas
0
1
answer
379
view
Hi all, After booking an invoice and then using the getpdf method to get the pdf 'client-Invoice_GetPdf' i have been able to send this invoice to email. But what i need now is for a way to send the pdf invoice ...
created Jun 28, 2014 by samybaxy
0
0
answers
111
views
Please I need to see how to use that api. I have used rightly on my code and still it does not set the product cost to invoice cost and most importantly the product name on invoice. Is there a way ...
created Jun 24, 2014 by samybaxy
0
1
answer
290
view
Hi. I'm trying to use the native SoapClient in PHP for the Connect method. My code looks like this: <?php $endpoint = "https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?wsdl"; try{ $client = new \SoapClient($endpoint, array('trace' => true, 'exceptions' => true, 'encoding ... me an error though: Economic.Api.Exceptions.AuthenticationException(E02250): ...
created Jun 19, 2014 by Repox
0
1
answer
350
view
Hi, We have more than 50000 products. and when we fetch these records using soap api, its take lot of time to fetch these records. How can we boost the performance or fetching records in parts. Thanks in advance......
created May 30, 2014 by hemant

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
...