Produkt
Produkt erstellen
Beschreibung | Neues Produkt erstellen |
Endpunkt | {AnalyticsManagerDataManagerApiAddress}/odata/PostProducts |
Versandart | jetzt lesen |
Header anfordern | {AToken} |
Körper – FormData | Schlüssel: Produkte Wert: [ { „ProductSerial“: „ProductA1234“, „Name“: „Produkt A“, „Preis“: „13.00“, „ProductBrandId“: 101, "ProductCategoryId": "0B920541-5F2E-EC11-807E-00155DDF9604", „Beschreibung“: „Beschreibungsinhalt für Produkt A“, „ProductBarcode“: „1111100010101“, „Unit“: „Gramm“, // Maßeinheit angeben „Ermäßigter Preis“: 10.99, „ProductPromotionHeader“: „Gute Werbung“, „UnitNumber“: 10, // Anzahl der physischen Einheiten, die dem Preis des Produkts zugeordnet sind. (z. B. 10 $ pro 100 g, Einheit=100) „QRCodeLink“: „https://product.qr.code.link.com“ }, { „ProductSerial“: „ProductB1234“, „Name“: „Produkt B“, „Preis“: „23.00“, „ProductBrandId“: 102, "ProductCategoryId": "7B84077E-0ABC-EA11-833B-D05099D42A29", „Beschreibung“: „Beschreibungsinhalt für Produkt B“, „ProductBarcode“: „2222200010101“, „Unit“: „Paar“, // Maßeinheit angeben „Ermäßigter Preis“: 19.99, „ProductPromotionHeader“: „Gute Werbung“, „UnitNumber“: 1, // Anzahl der physischen Einheiten, die dem Preis des Produkts zugeordnet sind. (z. B. 10 $ pro 100 g, Einheit=100) „QRCodeLink“: „https://product.qr.code.link.com“ }, { „ProductSerial“: „ProductA1234“, „Name“: „Produkt C“, „Preis“: „33.00“, „ProductBrandId“: 96, "ProductCategoryId": "0D920541-5F2E-EC11-807E-00155DDF9604", „Beschreibung“: „Beschreibungsinhalt für Produkt C“, „ProductBarcode“: „3333300010101“, „Unit“: „kg“, // Maßeinheit angeben „Ermäßigter Preis“: 29.99, „ProductPromotionHeader“: „Gute Werbung“, „UnitNumber“: 2, // Anzahl der physischen Einheiten, die dem Preis des Produkts zugeordnet sind. (z. B. 10 $ pro 100 g, Einheit=100) „QRCodeLink“: „https://product.qr.code.link.com“ } ] |
Antwort | { "Wert": [ { "Id": "76ae9bf3-9a2e-ec11-807e-00155ddf9604", „ProductSerial“: „ProductA1234“, „Name“: „Produkt A“, „Preis“: 13.0, „CompanyId“: 1, "ProductCategoryId": "0b920541-5f2e-ec11-807e-00155ddf9604", „Beschreibung“: „Beschreibungsinhalt für Produkt A“, „ProductBrandId“: 101, „ProductBarcode“: „1111100010101“, „Einheit“: „Gramm“, „Ermäßigter Preis“: 10.99, „ProductPromotionHeader“: „Gute Werbung“, „UnitNumber“: 10.0, „QrcodeLink“: „https://product.qr.code.link.com“, „LastUpdateDateTime“: null, "CreatedDateTime": "2021-10-16T16:05:50.6651175Z", „EslmiscJson“: null, „EslactionLogId“: null, „Firma“: null, „ProductBrand“: null, „ProductCategory“: null, „EslTags“: [], „ProductCurrencyPrices“: [], „ProductCustomPrices“: [], „ProductDailySales“: [] }, { "Id": "77ae9bf3-9a2e-ec11-807e-00155ddf9604", „ProductSerial“: „ProductB1234“, „Name“: „Produkt B“, „Preis“: 23.0, „CompanyId“: 1, "ProductCategoryId": "7b84077e-0abc-ea11-833b-d05099d42a29", „Beschreibung“: „Beschreibungsinhalt für Produkt B“, „ProductBrandId“: 102, „ProductBarcode“: „2222200010101“, „Einheit“: „Paar“, „Ermäßigter Preis“: 19.99, „ProductPromotionHeader“: „Gute Werbung“, „UnitNumber“: 1.0, „QrcodeLink“: „https://product.qr.code.link.com“, „LastUpdateDateTime“: null, "CreatedDateTime": "2021-10-16T16:05:50.6652001Z", „EslmiscJson“: null, „EslactionLogId“: null, „Firma“: null, „ProductBrand“: null, „ProductCategory“: null, „EslTags“: [], „ProductCurrencyPrices“: [], „ProductCustomPrices“: [], „ProductDailySales“: [] }, { "Id": "78ae9bf3-9a2e-ec11-807e-00155ddf9604", „ProductSerial“: „ProductA1234“, „Name“: „Produkt C“, „Preis“: 33.0, „CompanyId“: 1, "ProductCategoryId": "0d920541-5f2e-ec11-807e-00155ddf9604", „Beschreibung“: „Beschreibungsinhalt für Produkt C“, „ProductBrandId“: 96, „ProductBarcode“: „3333300010101“, „Einheit“: „kg“, „Ermäßigter Preis“: 29.99, „ProductPromotionHeader“: „Gute Werbung“, „UnitNumber“: 2.0, „QrcodeLink“: „https://product.qr.code.link.com“, „LastUpdateDateTime“: null, "CreatedDateTime": "2021-10-16T16:05:50.6652005Z", „EslmiscJson“: null, „EslactionLogId“: null, „Firma“: null, „ProductBrand“: null, „ProductCategory“: null, „EslTags“: [], „ProductCurrencyPrices“: [], „ProductCustomPrices“: [], „ProductDailySales“: [] } ], „Anzahl“: 0 } |
Anmerkung | - Bitte notieren Sie sich den „ID“-Wert, da Sie ihn später als Referenzschlüssel für die Aktualisierung/Löschung/Verknüpfung mit einer anderen Entität verwenden müssen - ProductBrandId ist die ID, die Sie beim Erstellen der Produktmarke erhalten haben - ProductCategoryId ist die ID, die Sie erhalten haben, als Sie die Produktkategorie erstellt haben |
Produkt lesen
Beschreibung | Ziehen Sie das erstellte Produkt unter das Firmenkonto |
Endpunkt | {AnalyticsManagerDataManagerApiAddress}/odata/GetProducts |
Versandart | BESTELLE |
Header anfordern | {AToken} |
Antwort | { "Wert": [ { "Id": "76ae9bf3-9a2e-ec11-807e-00155ddf9604", „ProductSerial“: „ProductA1234“, „Name“: „Produkt Ein neuer Name“, „Preis“: 113.0, „CompanyId“: 1, "ProductCategoryId": "0b920541-5f2e-ec11-807e-00155ddf9604", „Beschreibung“: „Beschreibungsinhalt für Produkt A“, „ProductBrandId“: 101, „ProductBarcode“: „1111100010101“, „Einheit“: „Gramm“, „Ermäßigter Preis“: 10.99, „ProductPromotionHeader“: „Gute Werbung“, „UnitNumber“: 10.0, „QrcodeLink“: „https://product.qr.code.link.com“, "LastUpdateDateTime": "2021-10-16T16:12:44.187Z", "CreatedDateTime": "2021-10-16T16:05:50.667Z", „EslmiscJson“: null, „EslactionLogId“: null, „Firma“: null, „ProductBrand“: null, „ProductCategory“: null, „EslTags“: [], „ProductCurrencyPrices“: [], „ProductCustomPrices“: [], „ProductDailySales“: [] }, { "Id": "77ae9bf3-9a2e-ec11-807e-00155ddf9604", „ProductSerial“: „ProductB1234“, „Name“: „Produkt B neuer Name“, „Preis“: 123.0, „CompanyId“: 1, "ProductCategoryId": "7b84077e-0abc-ea11-833b-d05099d42a29", „Beschreibung“: „Beschreibungsinhalt für Produkt B“, „ProductBrandId“: 102, „ProductBarcode“: „2222200010101“, „Einheit“: „Paar“, „Ermäßigter Preis“: 19.99, „ProductPromotionHeader“: „Gute Werbung“, „UnitNumber“: 1.0, „QrcodeLink“: „https://product.qr.code.link.com“, "LastUpdateDateTime": "2021-10-16T16:12:44.213Z", "CreatedDateTime": "2021-10-16T16:05:50.667Z", „EslmiscJson“: null, „EslactionLogId“: null, „Firma“: null, „ProductBrand“: null, „ProductCategory“: null, „EslTags“: [], „ProductCurrencyPrices“: [], „ProductCustomPrices“: [], „ProductDailySales“: [] } ], „Anzahl“: 0 } |
Produkt aktualisieren
Beschreibung | Vorhandenes Produkt aktualisieren |
Endpunkt | {AnalyticsManagerDataManagerApiAddress}/odata/UpdateProducts |
Versandart | PATCH |
Header anfordern | {AToken} |
Körper - JSON | [ { "Id": "76ae9bf3-9a2e-ec11-807e-00155ddf9604", „ProductSerial“: „ProductA1234“, „Name“: „Produkt Ein neuer Name“, „Preis“: 113.0 }, { "Id": "77ae9bf3-9a2e-ec11-807e-00155ddf9604", „ProductSerial“: „ProductB1234“, „Name“: „Produkt B neuer Name“, „Preis“: 123.0 }, { "Id": "78ae9bf3-9a2e-ec11-807e-00155ddf9604", „ProductSerial“: „ProductA1234“, „Name“: „Produkt C neuer Name“, „Preis“: 133.0, „Einheit“: „kg“ } ] |
Anmerkung | Pflichtfeld: - Ausweis |
Produkt löschen
Beschreibung | Vorhandenes Produkt löschen |
Endpunkt | {AnalyticsManagerDataManagerApiAddress}/odata/DeleteProducts |
Versandart | LÖSCHEN |
Header anfordern | {AToken} |
Körper - JSON | [ { "Id": "76ae9bf3-9a2e-ec11-807e-00155ddf9604" }, { "Id": "77ae9bf3-9a2e-ec11-807e-00155ddf9604" }, { "Id": "78ae9bf3-9a2e-ec11-807e-00155ddf9604" } ] |
Anmerkung | Pflichtfeld: - Ausweis |