Table of Contents Articles AVS articles / subscription offers Recom-Engine VHS articles / back issues, marketing articles, ..- single VHS article Articles Get the article data from the backend. This web service can be used for avs offer articles and vhs articles. AVS articles / subscription offers Path mapping(intern): /net/dsb/avs3/ArticleMaster/getArticleComplete-1.0.0 SAP REST: /GET_SHOP_ARTICLES or /GET_SHOP_ARTICLES_BY_NUMBER URL GET: /rest/{client}/articles?so=xx&sales-channel=xx&articleupdated-since=xxx Parameter Description client client ID sp service provider. (mandatory if the user account can use different service provider values) so sales organization. (mandatory if the user account is only allowed to read some sales orgas of the client) sales-channel sales channel. (optional) max-hit-count maximum number of results from-hit start result at this article count articleupdated-since Read changed articles only from a this time. (optional) Timestamp in ISO Format, e.g. 2017-01-01T12:00:00Z deleted if true: Read the deleted articles. (optional) prev-unread-only if true: returns changed articles, that are not yet acknowleged. Use Acknowledge processed articles or Acknowledge deleted articles for Acknowledgment. (default:false). (optional) articles 0 … 100 article numbers (optional) → only in conjunction with sp, so BETA You can do a paged query with max-hit-count and from-hit count. Do this queries with the other parameters unchanged until you get less than max-hit-count results. Example: query from-hit=1;max-hit-count=100 –> 100 results query from-hit=101;max-hit-count=100 –> 100 results query from-hit-count=201;max-hit-count=100 –> 87 results –> query is complete Response The response is a JSON document containing an array of offers. JSON Angebot examples { "ARTICLES": [ { ... }, { ... } ], "BUNDLES": [ { ... }, { ... } ], "ARTICLES_L": [ { ... }, { ... } ], "COMPLETE": true Response for Articles and Bundles. "ARTICLES": [ { "CLIENT": "5XX", "ARTICLE": "000000000142", "LANG_KEY": "DE", "VALID_TO_DATE": "0000-00-00", "SALES_ORG": "0100", "SOURCE_CODE": "RENEWAL", "SOURCE_CODE_VAR": "", "OFFER_CODE": "PLUS", "MARKETING_TEXT": "XXX+ Monatsabo", "CURRENCY_KEY": "EUR", "PRICE": 12.95, "PRICE_LIST_TYPE": "01", "DISCOUNT_CODE": "", "RATE_CODE": "CP01", "POSTAGE_KEY": "PI", "ARTICLE_TEXT": "XXX+", "PUBLICATION": "00000443", "PUBL_SHORT_DESC": "XXX+", "PUBL_LONG_DESC": "XXX+", "EDITION": "00000443", "EDITION_SHORT_DESC": "XXX+", "EDITION_LONG_DESC": "XXX+", "MIX_TYPE": "01", "MIX_TYPE_DESC": "XXX+", "PAYMENT_TYPE": "Z", "AUTO_RENEWAL": "X", "DELIVERY_TYPE": "lieferart", "TERM": "M1", "TERM_DESC": "1 Monat", "DEFAULT_GIFT": "Default Sachprämie", "GIFT_DESC": " Langbezeichnung", "SALES_CHANNEL": "MA", "GEOGRAPHICAL_UNIT": "DE", "GIFT_BP_ROLE": "AG", "QUANTITY": 1, "OFFER_TYPE": "DD", "SHOP_ID": "Shop ID", "BUNDLE_ID": "00000443000000000000000000000000", "AUTH_ONLY": "CC Shop - nur Autorisierung", "LAST_MOD": "20211019135435", "ARTICLE_ACTIVE": "Shopupload: active Flag for Articles", "CLASSIFICATION": "M", "CLASSIFICATION_DEF": "PLUS", "SUBSHOP_ASSIGN": "Sub Shop Assignment", "GIFT_SET": "HEISE+", "MEDIUM": "ON", "FLEXIBLE_PRICE": "Flexibler Angebots-Preise", "TRIALIST_ID": 0, "SHOP_CAMPAIGN": "XXXPLUS", "TIMEBASED": "X", "MEDIA_GROUP": "XXX", "GIFTS": [ { "GIFT": "000000000000001234", "GIFT_BP_ROLE": "AG", "RRP_GIFT": 0, "GIFT_PRICE": 0, "CURRENCY_KEY": "", "GIFT_DESC": "Werkzeugset XXX", "GIFT_DESC_LONG": "" }, { "GIFT": "A0001", "GIFT_BP_ROLE": "AG", "RRP_GIFT": 0, "GIFT_PRICE": 0, "CURRENCY_KEY": "", "GIFT_DESC": "c't Jahres-DVD 2009", "GIFT_DESC_LONG": "" }, { "GIFT": "ARDUINO", "GIFT_BP_ROLE": "AG", "RRP_GIFT": 0, "GIFT_PRICE": 0, "CURRENCY_KEY": "", "GIFT_DESC": "XXX-Buch", "GIFT_DESC_LONG": "" }, { "GIFT": "NERDBEUTEL", "GIFT_BP_ROLE": "AG", "RRP_GIFT": 0, "GIFT_PRICE": 0, "CURRENCY_KEY": "", "GIFT_DESC": "XXX Turnbeutel:XXX", "GIFT_DESC_LONG": "" }, { "GIFT": "TAMAGOTCHI", "GIFT_BP_ROLE": "AG", "RRP_GIFT": 0, "GIFT_PRICE": 0, "CURRENCY_KEY": "", "GIFT_DESC": "Tamagotchi-Termoeffekt Tasse", "GIFT_DESC_LONG": "" }, { "GIFT": "Z0455", "GIFT_BP_ROLE": "AG", "RRP_GIFT": 0, "GIFT_PRICE": 0, "CURRENCY_KEY": "", "GIFT_DESC": "Make: Tasse", "GIFT_DESC_LONG": "" } ] }, ] Renewal-Articles of one SAP-Client JSON field description CLIENT Client ARTICLE article number LANG_KEY Language according to ISO 639 VALID_TO_DATE Valid-To Date SALES_ORG Sales Organization SOURCE_CODE Source Code SOURCE_CODE_VAR Source Code Variant OFFER_CODE Renewal Offer MARKETING_TEXT marketing text CURRENCY_KEY Currency Key PRICE price PRICE_LIST_TYPE Price list type DISCOUNT_CODE Customer Discount RATE_CODE Rate code POSTAGE_KEY Postage key (for shipping costs ascertainment) ARTICLE_TEXT Article text PUBLICATION Publication PUBL_SHORT_DESC Publication description short PUBL_LONG_DESC Publication description long EDITION Edition EDITION_SHORT_DESC Edition description short EDITION_LONG_DESC Edition description long MIX_TYPE Mix type MIX_TYPE_DESC Mix type text PAYMENT_TYPE Payment type AUTO_RENEWAL Customer Requests Automatic Renewal DELIVERY_TYPE Delivery type TERM Payment term TERM_DESC Payment term description DEFAULT_GIFT Default gift GIFT_DESC Gift description SALES_CHANNEL Sales channel GEOGRAPHICAL_UNIT Number of geographical unit GIFT_BP_ROLE Business partner role QUANTITY Quantity OFFER_TYPE Offer type SHOP_ID Shop ID BUNDLE_ID Bundle ID AUTH_ONLY authentication only LAST_MOD Last modification date ARTICLE_ACTIVE Shopupload: active Flag for Articles CLASSIFICATION classification (Bundle, Membership, Normal etc.) CLASSIFICATION_DEF Offer classification definition SUBSHOP_ASSIGN Sub shop assignment ADD_PAYMENT_TYPE Additional payment type BUNDLE_TYP Bundle type PRICE_BASIS Price basis GIFT_SET Gift set MEDIUM Medium type (ON = online, DE = digital, DO = donation, blank = print) FLEXIBLE_PRICE Flexible pricing TRIALIST_ID ID of a rule SHOP_CAMPAGIN Shop campaign used to group articles in the shop TIMEBASED Time based publication X = true MEDIA_GROUP Source Code media group GIFT Article number GIFT_BP_ROLE Business partner role RRP_GIFT recommended retail price GIFT_PRICE additional payment amount CURRENCY_KEY price list GIFT_DESC description GIFT_DESC_LONG long description "BUNDLES": [ { "CLIENT": "358", "ARTICLE": "000000011938", "LANG_KEY": "EN", "ADD_PAYMENT_TYPE": "01", "BUNDLE_TYP": "", "PUBLICATION": "00001101", "EDITION": "", "TERM": "M3", "PRICE_BASIS": "1", "PRICE": 19.4, "CURRENCY_KEY": "GBP", "MEDIUM": "" }, { "CLIENT": "358", "ARTICLE": "000000011938", "LANG_KEY": "EN", "ADD_PAYMENT_TYPE": "02", "BUNDLE_TYP": "", "PUBLICATION": "00000100", "EDITION": "", "TERM": "M3", "PRICE_BASIS": "1", "PRICE": 19.41, "CURRENCY_KEY": "GBP", "MEDIUM": "" } ] Bundles of one SAP-Client JSON field description CLIENT Client number ARTICLE article number LANG_KEY Language according to ISO 639 ADD_PAYMENT_TYPE IS-M/SD: Additional Payment Type BUNDLE_TYP Bundletype PUBLICATION Publication EDITION Edition TERM Payment Term PRICE_BASIS Price Basis PRICE price CURRENCY_KEY Currency Key MEDIUM Type of medium (online/print) ARTICLES_L are DACH-Articles of on SAP-Client: "ARTICLES_L": [ { "CLIENT": "537", "ARTICLE": "000000000147", "LANG_KEY": "DE", "VALID_TO_DATE": "2022-05-18", "SALES_CHANNEL": "MA", "SALES_ORG": "0200", "SHOP_CAMPAIGN": "", "SOURCE_CODE": "SHOPDTEST2", "SOURCE_CODE_VAR": "", "SOURCE_CODE_VAR_DEFAULT": "", "PUBLICATION_GROUP": "", "PUBLICATION": "00000674", "EDITION": "00000674", "MIX_TYPE": "01", "SHOP_OFFER_TYPE": "SWL", "GEOGRAPHICAL_UNIT": "DE", "DELIVERY_TYPE": "PI", "INVOICE_DUEDATE_SETUP": "", "MIXEDTYPE_NO_SHOP_MASTER": "", "DIFF_RECEIVER_MANDATORY": "", "AGENT_MANDATORY": "", "QUANTITY": 1, "CURRENCY_KEY": "EUR", "TERM_PP": "", "TERM_DESC_PP": "", "DURATION_IN_PP": 0, "UNIT_IN_PP": "", "RATE_CODE_PP": "", "DISCOUNT_CODE_PP": "", "DISCOUNT_AMOUNT_PP": "", "PRICE_PP": 0, "MIXEDTYPE_PRICE_PP": 0, "POSTAGE_KEY_PP": "", "PRICE_LIST_TYPE_PP": "", "RRP_PP": 0, "POSTAGE_AMOUNT_PP": 0, "TERM_NP1": "", "TERM_DESC_NP1": "", "DURATION_IN_NP1": 0, "UNIT_IN_NP1": "", "RATE_CODE_NP1": "", "DISCOUNT_CODE_NP1": "", "DISCOUNT_AMOUNT_NP1": "", "PRICE_NP1": 0, "MIXEDTYPE_PRICE_NP1": 0, "POSTAGE_KEY_NP1": "", "PRICE_LIST_TYPE_NP1": "", "RRP_NP1": 0, "POSTAGE_AMOUNT_NP1": 0, "TERM_NP": "07", "TERM_DESC_NP": "7 Lieferungen", "DURATION_IN_NP": 0, "UNIT_IN_NP": "", "RATE_CODE_NP": "CP01", "DISCOUNT_CODE_NP": "", "DISCOUNT_AMOUNT_NP": "X", "PRICE_NP": 77, "MIXEDTYPE_PRICE_NP": 0, "POSTAGE_KEY_NP": "PI", "PRICE_LIST_TYPE_NP": "01", "RRP_NP": 0, "POSTAGE_AMOUNT_NP": 0, "CREDIT_DEBIT": 0, "LAST_MOD": "20210705115248", "LAST_UPLOAD": "", "ARTICLE_TEXT": "Make Digital", "ARTICLE_TEXT_FIXED": "", "MARKETING_TEXT": "7 Hefte Spezialangebot", "MARKETING_TEXT_FIXED": "", "MIXEDTYPE_MARKETING_TEXT": "", "MIXEDTYPE_MARKETING_TEXT_FIXED": "", "PUBL_SHORT_DESC": "XXX", "PUBL_LONG_DESC": "MXXX", "EDITION_SHORT_DESC": "XXX", "EDITION_LONG_DESC": "XXX", "MIX_TYPE_DESC": "XXX", "GEOGRAPHICAL_UNIT_DESC": "Deutschland", "ADDITIONAL_INFO": "", "TIMEBASED": "", "GIFTS_L": [ { "GIFT": "000000000000004567", "GIFT_BP_ROLE": "AG", "RRP_GIFT": 0, "GIFT_PRICE": 0, "CURRENCY_KEY": "", "GIFT_DESC": "XXX Python", "GIFT_DESC_LONG": "", "GIFT_PRIO": 0, "GIFT_IS_EXTRA": "" } ], "PAYMENT_TYPES_L": [ { "PAYMENT_TYPE": "E" }, { "PAYMENT_TYPE": "K" }, { "PAYMENT_TYPE": "R" } ] } ] DACH-Articles field description JSON field description CLIENT Client ARTICLE aritcle-ID LANG_KEY Language according to ISO 639 VALID_TO_DATE Valid-To Date SALES_CHANNEL Sales Channel SALES_ORG Sales Organization SHOP_CAMPAIGN Shop campaign SOURCE_CODE Source Code SOURCE_CODE_VAR Source Code variant SOURCE_CODE_VAR_DEFAULT Default variant for Shop PUBLICATION_GROUP grouping publications PUBLICATION publication EDITION edition MIX_TYPE mix type SHOP_OFFER_TYPE Shop offer type GEOGRAPHICAL_UNIT geographical unit DELIVERY_TYPE delivery type INVOICE_DUEDATE_SETUP invoice duedate setup MIXEDTYPE_NO_SHOP_MASTER mixtype no shop master relevant DIFF_RECEIVER_MANDATORY different receiver mandatory AGENT_MANDATORY agent mandatory QUANTITY quantity CURRENCY_KEY Currency Key TERM_PP Payment Term PP TERM_DESC_PP Payment Term pp Short Text DURATION_IN_PP Duration of Position PP UNIT_IN_PP Unit of Measurement PP RATE_CODE_PP Rate Code PP DISCOUNT_CODE_PP Customer Discount PP DISCOUNT_AMOUNT_PP discount amount PP PRICE_PP price PP MIXEDTYPE_PRICE_PP mixedtype price PP POSTAGE_KEY_PP postage key PP PRICE_LIST_TYPE_PP Price list type PP RRP_PP Recommended Retail Price PP POSTAGE_AMOUNT_PP postage amount PP TERM_NP1 Payment Term NP1 TERM_DESC_NP1 Payment Term np1 Short Text DURATION_IN_NP1 Duration of Position NP1 UNIT_IN_NP1 Unit of Measurement NP1 RATE_CODE_NP1 Rate Code NP1 DISCOUNT_CODE_NP1 Customer Discount NP1 DISCOUNT_AMOUNT_NP1 discount amount NP1 PRICE_NP1 price NP1 MIXEDTYPE_PRICE_NP1 mixedtype price NP1 POSTAGE_KEY_NP1 postage key NP1 PRICE_LIST_TYPE_NP1 Price list type NP1 RRP_NP1 Recommended Retail Price NP1 POSTAGE_AMOUNT_NP1 postage amount NP1 TERM_NP Payment Term NP TERM_DESC_NP Payment Term np Short Text DURATION_IN_NP Duration of Position NP UNIT_IN_NP Unit of Measurement NP RATE_CODE_NP Rate Code NP DISCOUNT_CODE_NP Customer Discount NP DISCOUNT_AMOUNT_NP discount amount NP PRICE_NP price NP MIXEDTYPE_PRICE_NP mixedtype price NP POSTAGE_KEY_NP postage key NP PRICE_LIST_TYPE_NP Price list type NP RRP_NP Recommended Retail Price NP POSTAGE_AMOUNT_NP postage amount NP CREDIT_DEBIT Amt Due/Quantity LAST_MOD last modified LAST_UPLOAD last upload ARTICLE_TEXT article text ARTICLE_TEXT_FIXED article text fixed MARKETING_TEXT marketing Text MARKETING_TEXT_FIXED Marketing text fixed MIXEDTYPE_MARKETING_TEXT mixedtype marketing text MIXEDTYPE_MARKETING_TEXT_FIXED mixedtype marketing text fixed PUBL_SHORT_DESC publication short description PUBL_LONG_DESC publication long description EDITION_SHORT_DESC edition short description EDITION_LONG_DESC edition long description MIX_TYPE_DESC mixedtype description GEOGRAPHICAL_UNIT_DESC geographical unit description ADDITIONAL_INFO addition infos TIMEBASED timebased GIFTS_L[] Json-Array gifts GIFT Material number for gift GIFT_BP_ROLE Business Partner Role (AG, WE, VM) RRP_GIFT RRP for Materials GIFT_PRICE price CURRENCY_KEY Currency GIFT_DESC description gift GIFT_DESC_LONG description gift long GIFT_PRIO Prio gift GIFT_IS_EXTRA gift is extra PAYMENT_TYPES_L[] Json-Array Payment-Types PAYMENT_TYPE payment-Typ Response of deleted articles (parameter deleted=true): [ { "CLIENT": "", "ARTICLE": "000000000050", "LANG_KEY": "EN" }, { "CLIENT": "", "ARTICLE": "000000000051", "LANG_KEY": "EN" } ] HTTP Response Status Meaning 200 Success 401 Authorization required 500 Internal error Recom-Engine In AVS/3 there is a mapping of order related characteristics that includes a parent-child assignment for different business cases (categories). The following characteristics can be defined in each case: source code, source code variant, offer, valid-from date, publication, mix typ, sales source, payment method. If there is no explicit definition, it is handled as a wildcard. In this way the respective alternative order characteristics can be assigned to leading order characteristics. Depending on the application, this service is used in different ways. Not all functions are available for all clients. Please check with your client manager which functions are available for you. Those parameters are available for all clients and subscription models: Path mapping(intern): /net/dsb/avs3/ArticleMaster/getArticleAlternatives-1.0.0 SAP REST: /GET_ALT_ARTICLES Parameter Description client client number sp Service provider code. (Mandatory field if the user account uses more than one service provider code.) category Includes certain business cases within the Recom-Engine. For example.: CATEGORY=SCRIPT campaign Example campaign = EFF01 source Includes certain sources e.g.: SOURCE=SCR01 activity Includes certain contact activities, eg: CT_ACTIVITY=SC01 actionType DM = DarkMode, TF = To Forward channel channel to filter Please enter only one value at a time. If these parameters are omitted, this category is a wildcard (all entries are relevant). Source and contact activities return explicitly empty values. Available for non-liability account subscriptions, mainly used for German clients Determine all articles to a recommended article ID For non-liability account subscriptions, a shop article id is provided out of the ccb jet_shop table (/DSB/JET_SHOPD). The returned output are the article numbers for the recommendation. URL GET: /rest/{client}/articles/{articleId}/articlealternatives?sp=xx Parameter Description articleId article ID Response The response is a JSON document and includes an array of recommended shop article numbers: JSON Artikelalternative Beispiel [{ "LEAD_ARTICLE_ID": "000000004989", "ALT_ARTICLE_ID": "000000004942", "CATEGORY_ALT": "U", "PRIORITY_ALT": 0, "PRICEGRP_ALT": "07", "CURRENCY_ALT": "EUR", "DISCOUNT_ABSOLUT_ALT": 100 }] JSON Feld Beschreibung LEAD_ARTICLE_IDFührende Artikel-ID ALT_ARTICLE_IDAlternative Artikel-ID zum führenden Artikel CATEGORY_ALT Das sind die Business-Cases, also die Kategorien , Customizing im AVS/3 Bsp. A=Warenkorbabbruch, C=Cross-Selling, PRIORITY_ALTIdentische Leading Artikel können mehrere Alternativen mit Priorisierung umfassen PRICEGRP_ALT Preisgruppe Kunde (Rabatt) CURRENCY_ALT Währungsschlüssel DISCOUNT_ABSOLUT_ALT Rabatt Absolut Determine all recommended articles It is possible to return all recommended articles for the non-liability account subscriptions modell. GET: /rest/{client}/articlealternatives/full?sp=xx Response The response is a JSON document and includes an array of recommended shop article numbers: JSON Artikelalternative Beispiel [{ "LEAD_ARTICLE_ID": "000000004989", "ALT_ARTICLE_ID": "000000004942", "CATEGORY_ALT": "U", "PRIORITY_ALT": 0, "PRICEGRP_ALT": "07", "CURRENCY_ALT": "EUR", "DISCOUNT_ABSOLUT_ALT": 100 }] JSON Feld Beschreibung LEAD_ARTICLE_IDFührende Artikel-ID ALT_ARTICLE_IDAlternative Artikel-ID zum führenden Artikel CATEGORY_ALT Das sind die Business-Cases, also die Kategorien , Customizing im AVS/3 Bsp. A=Warenkorbabbruch, C=Cross-Selling, PRIORITY_ALTIdentische Leading Artikel können mehrere Alternativen mit Priorisierung umfassen PRICEGRP_ALT Preisgruppe Kunde (Rabatt) CURRENCY_ALT Währungsschlüssel DISCOUNT_ABSOLUT_ALT Rabatt Absolut Available for the renewal subscription and the non-liability account subscriptions within all clients Determine all recommended shop articles for a subscription The subscription number is used to determine the relevant order characteristics to get the recommended articles. URL GET: /rest/{client}/subscriptions/{orderNumber}/articlealternatives?sp=xx&filter=PUBLICATION Parameter Description orderNumber subscription order number filter The results can be restricted by using a filter parameter. It is also possible to use more than one filter. In this case the values need to be separated via commas. E.g. FILTER=PUBLICATION,SHOPARTICLES). PUBLICATION: the filter criteria is the publication code of the provided order number. SHOP_ARTICLES: All recommended entries that are available as a shop article (having a shop article ID) are returned. Depending on the subscription model of the client the corresponding articles within their specific structure are returned. Response The response is a JSON document and includes an array of recommended shop article numbers: JSON Artikelalternative Beispiel Beispiel für ein Renewal-Upgrade. Es kann bis zu 2 Upgrade-Optionen geben: Sofort und zum nächsten Zyklus. [ { "RECOM_ID": "6356246726840C20E1008000AC120198", "ARTICLE_ID": "000000000010", "CATEGORY": "RENEW", "CAMPAIGN": "", "CHANNEL": "", "CT_ACTIVIT": "RENEW", "PRIO": 1, "SOURCE_CODE": "ZMIX_PRM", "SOURCE_CODE_VAR": "", "OFFER_CODE": "M_PRM", "VALID_FROM": "2022-10-10", "PUBLICATION": "00081941", "EDITION": "00081941", "MIX_TYPE": "01", "GENERAL_RECOMMENDATION": "Upgrade auf monatliche Zahlweise", "SUBS_TYPE": "", "SALES_SOURCE": "", "AUTO_RENEWAL": true, "DISCOUNT_PERCENT": "", "DISCOUNT_TOTAL": 0, "SAVE_AT_RATE": false, "DELIVERY_TYPE": "", "HANDLING": { "HTTP_METHOD": "", "URL": "", "HEADER_PARAMETER": "", "JSON_BODY": "", "POP_UP": false }, "CONTACTS": [ { "CLASS": "RENEW", "ACTIVITY": "RENEW" } ], "UPGRADE_OPTIONS": [ { "UPGRADE_TIME": "NEXT_CYCLE", "SURCHARGE": 0, "SURCHARGE_CURRENCY": "EUR", "NEXT_PAYMENT": 8.49, "NEXT_PAYMENT_CURRENCY": "EUR", "HANDLING": { "HTTP_METHOD": "GET", "URL": "https://wsportal-cca.dsb.net/rest/XXX/subscriptions/4432042051/flyPayLink?", "HEADER_PARAMETER": "sp=<SP>&offerCode=M_PRM&sourceCode=ZMIX_PRM&billingAgreement=false", "JSON_BODY": "", "POP_UP": true } }, { "UPGRADE_TIME": "NOW", "SURCHARGE": 0.75, "SURCHARGE_CURRENCY": "EUR", "NEXT_PAYMENT": 8.49, "NEXT_PAYMENT_CURRENCY": "EUR", "HANDLING": { "HTTP_METHOD": "GET", "URL": "https://wsportal-cca.dsb.net/rest/XXX/subscriptions/4432042051/flyPayLink?", "HEADER_PARAMETER": "sp=<SP>&offerCode=M_PRM&sourceCode=ZMIX_PRM&surcharge=0.75&billingAgreement=true", "JSON_BODY": "", "POP_UP": true } } ] "ACTION_TYPE": "DM", "EMAIL": "test@dsb-ccb.net", "SALES_DOCUMENT_TYPE": "WBZA" } ] JSON Feld Beschreibung ARTICLE_IDFalls es eine Shop Artikel ID gibt wird diese ausgegeben RECOM_IDEindeutige Kennung der Recom-Definition ARTICLE_IDArtikelnummer CATEGORYKategorie CAMPAIGN CHANNEL CT_ACTIVIT PRIOPriorisierung SOURCE_CODEBestellquelle (BQ) SOURCE_CODE_VARBQ-Variante OFFER_CODEAngebot VALID_FROMBQ Gültig_von PUBLICATIONDRERZ EDITIONPVA MIX_TYPEBEZTYP GENERAL_RECOMMENDATION Freitext SUBS_TYPE SALES_SOURCE AUTO_RENEWAL DISCOUNT_PERCENT DISCOUNT_TOTAL SAVE_AT_RATE DELIVERY_TYPE HANDLING HTTP_METHODHTTP-Methode URLURL HEADER_PARAMETERHeader-Parameter JSON_BODYJSON-Body POP_UPSoll URL in einem POP-UP angezeigt werden UPGRADE_OPTIONS UPGRADE_TIMEZeitpunkt Upgrade (NEXT_CYCLE = Nächster Zyklus, NOW = Sofort) SURCHARGEAufpreis für Sofort-Upgrade SURCHARGE_CURRENCYWährung NEXT_PAYMENTZahlbetrag nächster Zyklus NEXT_PAYMENT_CURRENCYWährung HANDLING HTTP_METHODHTTP-Methode URLURL HEADER_PARAMETERHeader-Parameter JSON_BODYJSON-Body POP_UPSoll URL in einem POP-UP angezeigt werden ACTION_TYPEAction Type EmailEmail Sales Document TypeAuftragsart Determine recommended articles with search criteria It is also possible to provide order specific characteristics within the API call. Below is a list with all possible characteristics to get the recommended shop articles. URL GET: /rest/{client}/articlealternatives?sp=xx&sourceCode=ABC&…. Parameter Description sourceCode source code sourceCodeVariant source code variant validFrom valid from date (ISO Format) publication publication code edition edition code offerCode offer code mixType mix type filter The results can be restricted by using a filter parameter. It is also possible to use more than one filter. In this case the values need to be separated via commas. E.g. FILTER=PUBLICATION,SHOPARTICLES). PUBLICATION: the filter criteria is the publication code of the provided order number. SHOP_ARTICLES: All recommended entries that are available as a shop article (having a shop article ID) are returned. Depending on the subscription model of the client the corresponding articles within their specific structure are returned. Response Der Response ist ein JSON Dokument und beinhaltet ein Array mit Artikelalternativen: HTTP Status for all variants HTTP Response Status Meaning 200 Success 401 Authorization required 500 Internal error VHS articles / back issues, marketing articles, ..- URL GET: /rest/{client}/articles?max-hit-count=xx&from-hit=xx Parameter Description client client id sp service provider. (mandatory if the user account can use different service provider values) response type of response: - articles-complete : return complete article data like the SOAP service ArticleMaster:getArticleComplete. Only “articles-complete” is supported by now max-hit-count maximum number of articles received. (optional) from-hit Number of the first article received. (optional) include-inactive true / false (default). Read inactive articles too articleupdated-since Read changed articles only from a this time. (optional) Timestamp in ISO Format, e.g. 2017-01-01T12:00:00Z price-lists price-lists for which you want to query the prices. Format: price-lists=ABC,DEF. Use price-lists=ALL_PRICES to get all prices. with-sc get source code with price lists (true/false) (default: false) omitProductGroups list of product groups that shouldn't be returned To avoid long running requests and huge responses you should implement a paged request. Use max-hit-count to limit the response. Use from-hit in the next request to get the next page. Corresponing SOAP Service: getArticleComplete. Response The response is a JSON document containing an array of articles. JSON Article Master Example [{ "distributionArticleNumber":"4711TEST", "distributionArticleNumberExternal":"", "stockArticleNumber":"4711TEST", "articleType":"1", "articleStatus":1, "productGroup":"0000", "colorNumber":"0000 ", "isbn":"", "ean":"", "deliveryCode":"F1", "weight":"0.000", "length":"0.0", "width":"0.0", "height":"0.0", "size":"", "vatList": [{ "countryCode":"GB", "distributionChannel":"6580", "code":null, "percentage":null, "vatRateList": [{ "code":"62", "percentage":"100.0", "vatRateValue":"20.0" }] }], "priceList":[], "setComponentList":[], "stockArticleDescription":"Test4711 ", "stockArticleDescriptionSuffix":"", "shippingType":"", "shippingCostGroup":"", "shippingCost":"0.00", "partFamily":"0000", "objectNumber":"0000", "releaseDate":"2019-05-21", "inventoryManager":"", "revenueGroupCode":"", "partFamilyText":"dummy", "accountingArea":"000", "timestampOfLastArticleUpdate":"2013-03-05T16:30:00Z", "kostenstelle":"", "sonderEan":"", "collection": "", "distributionChannelList": [{ "number":"6580", "eshopArticleFlag":"J", "ccArticleFlag":"N" }], "listOfDistributionArticleDescription": [{ "languageCode":"EN", "description1":"Test4711 ", "description2":"", "description3":"", "description4":"", "description5":"" }], "groupedBySetArticleNumberSetComponentList":[], "setArticle":false }] Definitions Field Type Description distribution-article-number AN Distribution-item-No. distribution-article-numberexternal AN Distribution-item-No. (external) stock-article-number AN Stock-item-No article-type N item-typ 1 = stock item 2 = Set/Pseudo item 3 = service provider Artikel article-status N item-Status (1: active; 2: inactive) product-group AN product group colorNumber AN color number is a special attribute for fashion items. isbn AN International default book number ean AN International Article Number (before European Article Number) delivery code AN delivery indicator - A5 Order content incorrect - A6 Order-Adress content incorrect - A7 Order content incorrect - B1 Release Order - L1 Order supplied - L5 Order deliverable - S1-S9 Order lock with differnt reasons - YS Order canceled - R1 Order backlog weight N weight in kg length N length in mm width N width in mm height N height in mm size AN size (example: length) vatList 0 … n - countryCode AN country code: ISO code - distributionChannel AN distribution channel - code AN VAT code (only for createArticle) - percentage N VAT tax rate value (only for createArticle) -vatRateList 0 … n – code N VAT code – percentage N propotion of the vat 040 = 0% D free of tax 041 = 7% D reduced 043 = 19% D full propotion of 100.0 % (Sum must always 100%) Examples Book + CD Book 7% (propotion: 70%) CD 19% (propotion: 30%) Book Book 7% (propotion: 100%) – vatRateValue N VAT tax rate value priceList AN 0 .. n price-list elements for which you want to query the prices. the response contains the following fields - priceList Name of pricelist (example: UK, EUR,ROW, USA) - countryCode in which country the procelist is used - currencyCode currency of pricelist (example: GBP, EUR) - inclusiveVat if the price includes VAT. (true or false) - standardPrice price from this article and pricelist - sourceCode source code of price list (if with-sc request parameter is set) setComponentList AN informations about an item set (VAR_COMPOxx_NR and VAR_COMPOxx_MNGE) stockArticleDescription AN distribution item description, Note: This Value can be in field 'description1' because of compatibility reasons stockArticleDescriptionSuffix AN additional description, Note: This Value can be in field 'description2' because of compatibility reasons shippingType AN shipping type 02 = book shipping 03 = shipping shippingCostGroup AN shipping group shippingCost N shipping costs related to the sales item (not related to the order source or similar) partFamily AN familiy of parts objectNumber AN Object Number releaseDate D release date of the article inventoryManager AN stock manager revenueGroupCode AN revenue group code partFamilyText AN text familiy of parts accountingArea AN booking (in consultation with the customer advisory) timestampOfLastArticleUpdate DT Timestamp of last update article kostenstelle AN cost-center sonderEan AN special International Article Number collection AN collection distributionChannelList 0… 20 - number N distributionchannel - eshopArticleFlag AN Value from eshop flag in this distributionchannel - ccArticleFlag AN Value from Call Center Flag in distributionchannel listOfDistributionArticleDescription 0 … n - languageCode AN ISO-language-code - description1 AN distributiontribution item description - description2 AN additional description - description3 AN additional description - description4 AN additional description - description5 AN additional description HTTP Response Status Meaning 200 Success 401 Authorization required single VHS article BETA URL GET: /rest/{client}/article??sp=xxx&distArticleNr=xxx Parameter Description client client id sp service provider. (mandatory if the user account can use different service provider values) priceLists price lists for which you want to query the prices. Format: priceLists=ABC,DEF. Use priceLists=ALL_PRICES to get all prices. distArticleNr distribution article number of the article. Only one of the two article numbers is required distArticleNrExt external article number of the article. Only one of the two article numbers is required countryCodeType Controls which types of country-code will be returned. car = triple-digit int.car country-code iso = two-digit ISO countycode Corresponing SOAP Service: getarticle_1_0_0. Response The response is a JSON document containing the requested article. JSON Article Master Example [{ "distributionArticleNumber":"4711TEST", "distributionArticleNumberExternal":"", "stockArticleNumber":"4711TEST", "articleType":"1", "articleStatus":1, "productGroup":"0000", "colorNumber":"0000 ", "isbn":"", "ean":"", "deliveryCode":"F1", "weight":"0.000", "length":"0.0", "width":"0.0", "height":"0.0", "size":"", "vatList": [{ "countryCode":"GB", "distributionChannel":"6580", "code":null, "percentage":null, "vatRateList": [{ "code":"62", "percentage":"100.0", "vatRateValue":"20.0" }] }], "priceList":[], "setComponentList":[], "stockArticleDescription":"Test4711 ", "stockArticleDescriptionSuffix":"", "shippingType":"", "shippingCostGroup":"", "shippingCost":"0.00", "partFamily":"0000", "objectNumber":"0000", "releaseDate":"2019-05-21", "inventoryManager":"", "revenueGroupCode":"", "partFamilyText":"dummy", "accountingArea":"000", "timestampOfLastArticleUpdate":"2013-03-05T16:30:00Z", "kostenstelle":"", "sonderEan":"", "collection": "", "distributionChannelList": [{ "number":"6580", "eshopArticleFlag":"J", "ccArticleFlag":"N" }], "listOfDistributionArticleDescription": [{ "languageCode":"EN", "description1":"Test4711 ", "description2":"", "description3":"", "description4":"", "description5":"" }], "groupedBySetArticleNumberSetComponentList":[], "setArticle":false }] Definitions Field Type Description distribution-article-number AN Distribution-item-No. distribution-article-numberexternal AN Distribution-item-No. (external) stock-article-number AN Stock-item-No article-type N item-typ 1 = stock item 2 = Set/Pseudo item 3 = service provider Artikel article-status N item-Status (1: active; 2: inactive) product-group AN product group colorNumber AN color number is a special attribute for fashion items. isbn AN International default book number ean AN International Article Number (before European Article Number) delivery code AN delivery indicator - A5 Order content incorrect - A6 Order-Adress content incorrect - A7 Order content incorrect - B1 Release Order - L1 Order supplied - L5 Order deliverable - S1-S9 Order lock with differnt reasons - YS Order canceled - R1 Order backlog weight N weight in kg length N length in mm width N width in mm height N height in mm size AN size (example: length) vatList 0 … n - countryCode AN country code: ISO code - distributionChannel AN distribution channel - code AN VAT code (only for createArticle) - percentage N VAT tax rate value (only for createArticle) -vatRateList 0 … n – code N VAT code – percentage N propotion of the vat 040 = 0% D free of tax 041 = 7% D reduced 043 = 19% D full propotion of 100.0 % (Sum must always 100%) Examples Book + CD Book 7% (propotion: 70%) CD 19% (propotion: 30%) Book Book 7% (propotion: 100%) – vatRateValue N VAT tax rate value priceList AN 0 .. n price-list elements for which you want to query the prices. the response contains the following fields - priceList Name of pricelist (example: UK, EUR,ROW, USA) - countryCode in which country the procelist is used - currencyCode currency of pricelist (example: GBP, EUR) - inclusiveVat if the price includes VAT. (true or false) - standardPrice price from this article and pricelist - sourceCode source code of price list (if with-sc request parameter is set) setComponentList AN informations about an item set (VAR_COMPOxx_NR and VAR_COMPOxx_MNGE) stockArticleDescription AN distribution item description, Note: This Value can be in field 'description1' because of compatibility reasons stockArticleDescriptionSuffix AN additional description, Note: This Value can be in field 'description2' because of compatibility reasons shippingType AN shipping type 02 = book shipping 03 = shipping shippingCostGroup AN shipping group shippingCost N shipping costs related to the sales item (not related to the order source or similar) partFamily AN familiy of parts objectNumber AN Object Number releaseDate D release date of the article inventoryManager AN stock manager revenueGroupCode AN revenue group code partFamilyText AN text familiy of parts accountingArea AN booking (in consultation with the customer advisory) timestampOfLastArticleUpdate DT Timestamp of last update article kostenstelle AN cost-center sonderEan AN special International Article Number collection AN collection distributionChannelList 0… 20 - number N distributionchannel - eshopArticleFlag AN Value from eshop flag in this distributionchannel - ccArticleFlag AN Value from Call Center Flag in distributionchannel listOfDistributionArticleDescription 0 … n - languageCode AN ISO-language-code - description1 AN distributiontribution item description - description2 AN additional description - description3 AN additional description - description4 AN additional description - description5 AN additional description HTTP Response Status Meaning 200 Success 401 Authorization required This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.OKMore information