KonaKart Community Forum

Installation / Configuration => Programming of KonaKart => Topic started by: Irina on April 18, 2011, 03:17:13 pm

Title: How to get the data about products for each order
Post by: Irina on April 18, 2011, 03:17:13 pm
Hello,

can you please help me. Is it possible using you SOAP interface get the data about products for each order?

Thanks a lot for your help.
Title: Re: How to get the data about products for each order
Post by: greg on April 18, 2011, 03:47:05 pm
Yes.  You probably want to look at the Admin APIs.

Maybe you should start by looking at the javadoc for KKAdminIf (this is the interface that each of the Admin Engines implement - that's the POJO, SOAP and RMI versions).

You'll find that here:
http://www.konakart.com/javadoc/admin/com/konakartadmin/appif/KKAdminIf.html
Title: Re: How to get the data about products for each order
Post by: Irina on April 18, 2011, 04:48:58 pm
Thanks for fast reply,

but this still doesn't resolve the problem. I do use getOrders method to get all orders, but I didn't found there a method do get the list of products for each order.
Can you help me please?

Thanks.
Title: Re: How to get the data about products for each order
Post by: Irina on April 19, 2011, 01:56:24 pm
Hello,

is there a solution? Please help me!

Regards, Irina
Title: Re: How to get the data about products for each order
Post by: trevor on April 19, 2011, 02:09:22 pm
Just loop through the order products of the order. These all contain the id of the product.
Title: Re: How to get the data about products for each order
Post by: Irina on April 19, 2011, 02:31:44 pm
I've make an order and the status for order is pending. Information about this order and products in it are exists in administation GUI, but on data request about products the response orderproducts is null.
Where do you think the problem is?
Title: Re: How to get the data about products for each order
Post by: trevor on April 19, 2011, 02:38:23 pm
No idea. The admin app uses the APIs so you should be able to do whatever the admin app can do, using any flavor of our APIs (POJO, SOAP or RMI).