< Back
Print

Product-Category assignment

The following array shows a typical synchronisation with the JSON connector. Please note that data will be sent as a JSON string; the follwoing only shows an examplary array.

The target attribute names are ususally open for configuration except for a few exceptions.
Internal variables:

  csid = interne CS ID
  csclass = interne CS Klasse (Pdmarticle, Pdmarticlestructuren, Mamfile, etc)
  sku = Eindeutige ID des Produkts
  category = Eindeutige ID des Kategorie
  path = Pfad der kompletten Kategorie in der Default Sprache
  pathids = Pfad der kompletten Kategorie als eindeutige IDs
  position = Position des Artikels (Sortierung: negativ - positive Zahlen)
  type = Type des Elementes (simple, grouped, etc.)

The array languages will always be sent so the possible language values are always obvious.

[languages] => Array
         (
            [0] => default
            [1] => German
            [2] => Englisch
            [3] => Japanisch
         )

The token is the process ID of the call (please note: not the JobID).

Full example data sets: 

Array
(
    [method] => data
    [data] => Array
        (
            [productandcategories] => Array
                (
                    [0] => Array
                        (
                            [path] => CONTENTSERV/Shop/Hauptshop/Media Player/Shuffle Player
                            [pathIds] => 29/0/61/62/67
                            [sku] => 77
                            [type] => simple
                            [category] => 67
                            [position] => -1
                            [csid] => 405
                            [csclass] => Pdmarticlestructure
                        )

                    [1] => Array
                        (
                            [path] => CONTENTSERV/Shop/Hauptshop/Media Player/Shuffle Player
                            [pathIds] => 29/0/61/62/67
                            [sku] => 76
                            [type] => simple
                            [category] => 67
                            [position] => 0
                            [csid] => 404
                            [csclass] => Pdmarticlestructure
                        )

                    [2] => Array
                        (
                            [path] => CONTENTSERV/Shop/Hauptshop/Media Player/Shuffle Player
                            [pathIds] => 29/0/61/62/67
                            [sku] => 78
                            [type] => simple
                            [category] => 67
                            [position] => 2
                            [csid] => 406
                            [csclass] => Pdmarticlestructure
                        )

                    [3] => Array
                        (
                            [path] => CONTENTSERV/Shop/Hauptshop/Media Player/Shuffle Player
                            [pathIds] => 29/0/61/62/67
                            [sku] => 79
                            [type] => simple
                            [category] => 67
                            [position] => 3
                            [csid] => 407
                            [csclass] => Pdmarticlestructure
                        )

                    [4] => Array
                        (
                            [path] => CONTENTSERV/Shop/Hauptshop/Media Player/Shuffle Player
                            [pathIds] => 29/0/61/62/67
                            [sku] => 80
                            [type] => simple
                            [category] => 67
                            [position] => 4
                            [csid] => 408
                            [csclass] => Pdmarticlestructure
                        )

                )

            [languages] => Array
                (
                    [0] => default
                    [1] => German
                    [2] => Englisch
                    [3] => Japanisch
                )

        )

    [token] => 954dfb51e516c164771f5aaba303c4db
)

 

Was this article helpful?
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.
Table of Contents