danslo/ApiImport — pull request #5 by bucha (2013-05-03 11:17:34+00:00)
Title: API V2 compatibility

Hi Daniel,

I've added compatibility for the V2 version of the Magento API including a V2-Api-Class, a wsdl.xml and some changes in the api.xml. The V2-Api-Class basically receives an array of stdObjects with "key" and "value" properties (as described in the WSDL as type associativeEntity), transforms it to an array and passes it to the usual processing of V1.

Looking forward to hear your opinion about it.

Cheers,
Alex

Btw.: This is a soap-call i used to test the new service:

```xml

66663dd157c1fbeb849c76b8a5d6e3d3

sku
666

name
API Product

_store

_attribute_set
Default

_type
simple

_category
Furniture/Bedroom

_root_category
Root Catalog

_product_websites
base

color
blue

cost

country_of_manufacture

created_at
2013-05-02 18:05:11

description
API Import TEST PRODUCT

price
13.3700

short_description
API IMPORT

size
43

special_price
12.3700

status
1

tax_class_id
2

visibility
4

weight
1337

qty
1337.0000

min_qty
0.0000

use_config_min_qty
1

is_in_stock
1

media_gallery
0

catalog_product
append

```