Spezifikationen anlegen
Die Marke beziehungsweise der Hersteller eines Produktes muss für eBay als Spezifikation angelegt werden.
Damit wird gewährleistet, dass das Produkt mit eBay erfolgreicher abgeglichen werden kann.
POST http://sandboxapi.via.de/publicapi/v1/api.svc/ProductSpecifics
Im unteren Beispiel wird dem Products Entity mit der Id (1) die Spezifikation Grösse S zugewiesen.
Die Relation vom EntitySet Products zum EntitySet ProductSpecifics erfolgt über Products.Id = ProductSpecifics.ProductId.
Es darf pro ProductId im EntitySet ProductSpecifics ein Name (z.B. Grösse) nur einmal vergeben werden.
Request Methode
POST http://sandboxapi.via.de/publicapi/v1/api.svc/ProductSpecifics
Request HTTP-Header
Content-Type: application/atom+xml
SubscriptionToken: c039b802-7773-4ab2-a7a7-b1bc2084dd3e
Cookie: .ASPXAUTH=5D98C7C50C5A0E0E6775A4E97FE630A69A529487A4C603245EA61592E1B0AF7E0760219DAA5199965FE2B26EF38B914176604609A5FF39005C627061B663C68BFB975B74A6D3AA14302A845559AE28021568358CADFCC4213F12063F677630F6F971000AAD2A3D3DB15AC707AFA931A7532A30B3AAA875ACF3C3B34787F4CB62A36A5D61A495048BC23BA2DEA42ACE6F71E6E3AD3FB232486BC99A9D557DEBA4599D2BDE
Request Body
Mit dieser Request wird die Grösse S zugewiesen.
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<entry xml:base="http://sandboxapi.via.de/publicapi/v1/api.svc/" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns="http://www.w3.org/2005/Atom">
<content type="application/xml">
<m:properties>
<d:ProductId>1</d:ProductId>
<d:Name>Größe</d:Name>
<d:Value>S</d:Value>
</m:properties>
</content>
</entry>
Response HTTP-Header
Status Code: 201 Created
Cache-Control: no-cache
Content-Length: 1021
Content-Type: application/atom+xml;charset=utf-8
...
Response Body
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<entry xml:base="http://sandboxapi.via.de/PublicApi/v1/Api.svc/" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns="http://www.w3.org/2005/Atom">
<id>http://sandboxapi.via.de/PublicApi/v1/Api.svc/ProductSpecifics(3278739L)</id>
<title type="text"></title>
<updated>2018-01-15T13:33:35Z</updated>
<author>
<name />
</author>
<link rel="edit" title="ProductSpecific" href="ProductSpecifics(3278739L)" />
<link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Product" type="application/atom+xml;type=entry" title="Product" href="ProductSpecifics(3278739L)/Product" />
<category term="Via.BlackBox.Entities.Api.ProductSpecific" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
<content type="application/xml">
<m:properties>
<d:Id m:type="Edm.Int64">1</d:Id>
<d:ProductId m:type="Edm.Int64">1</d:ProductId>
<d:Name>Größe</d:Name>
<d:Value>S</d:Value>
<d:Type m:type="Edm.Int32" m:null="true" />
</m:properties>
</content>
</entry>
Es darf pro ProductId im EntitySet ProductSpecifics ein Name (z.B. Grösse) nur einmal vergeben werden.
Im unteren Beispiel wird dem Products Entity mit der Id (1) die Spezifikation Grösse S zugewiesen.
Die Relation vom EntitySet Products zum EntitySet ProductSpecifics erfolgt über Products.Id = ProductSpecifics.ProductId.
Es darf pro ProductId im EntitySet ProductSpecifics ein Name (z.B. Grösse) nur einmal vergeben werden.
Request Methode
POST http://sandboxapi.via.de/publicapi/v1/api.svc/ProductSpecifics
Request HTTP-Header
Content-Type: application/json
SubscriptionToken: c039b802-7773-4ab2-a7a7-b1bc2084dd3e
Cookie: .ASPXAUTH=28646A648265F319A4676A13B525EF14B198E4EB23248280432BA9A6026D01B88CDBCB17A238A5B9255682CA57D94D554DDF36230AB48C4798CC0D935BCE209FD7DB134187864642D48BF74A47ED6036B2E75686592F4CBA91E8AB0990D3FA33B40DE7BF1E6E0F9421B2F49E14180A6645E2BE40DE14FCDD378BE0348B67A5B75EFCD9C5934AF09549CBB9665D9A5269C66A4B041BADD308A61A089D22BE539BF774F78C; domain=via.de; path=/; HttpOnly
Request Body
Mit dieser Request wird die Grösse S zugewiesen.
{
"ProductId": "1",
"Name": "Größe",
"Value": "S"
}
Response HTTP-Header
Status Code: 201 Created
Cache-Control: no-cache
Content-Length: 709
Content-Type: application/json;charset=utf-8
...
Response Body
{
"d": {
"__metadata": {
"uri": "https://sandboxapi.via.de/PublicApi/v1/Api.svc/ProductSpecifics(1L)",
"type": "Via.BlackBox.Entities.Api.ProductSpecific"
},
"Id": "1",
"ProductId": "1",
"Name": "Größe",
"Value": "S",
"Type": null,
"Product": {
"__deferred": {
"uri": "https://sandboxapi.via.de/PublicApi/v1/Api.svc/ProductSpecifics(1L)/Product"
}
}
}
}
Es darf pro ProductId im EntitySet ProductSpecifics ein Name (z.B. Grösse) nur einmal vergeben werden.
Spezifikationen PIPE getrennt anlegen
Die Marke beziehungsweise der Hersteller eines Produktes muss für eBay als Spezifikation angelegt werden.
Damit wird gewährleistet, dass das Produkt mit eBay erfolgreicher abgeglichen werden kann.
POST http://sandboxapi.via.de/publicapi/v1/api.svc/ProductSpecifics
Im unteren Beispiel wird dem Products Entity mit der Id (1) eine Spezifikation Reference aus mehreren Werten zugewiesen.
Die Relation vom EntitySet Products zum EntitySet ProductSpecifics erfolgt über Products.Id = ProductSpecifics.ProductId.
Es darf pro ProductId im EntitySet ProductSpecifics ein Name (z.B. Referenznummer( n) OE) nur einmal vergeben werden.
Request Methode
POST http://sandboxapi.via.de/publicapi/v1/api.svc/ProductSpecifics
Request HTTP-Header
Content-Type: application/atom+xml
SubscriptionToken: c039b802-7773-4ab2-a7a7-b1bc2084dd3e
Cookie: .ASPXAUTH=5D98C7C50C5A0E0E6775A4E97FE630A69A529487A4C603245EA61592E1B0AF7E0760219DAA5199965FE2B26EF38B914176604609A5FF39005C627061B663C68BFB975B74A6D3AA14302A845559AE28021568358CADFCC4213F12063F677630F6F971000AAD2A3D3DB15AC707AFA931A7532A30B3AAA875ACF3C3B34787F4CB62A36A5D61A495048BC23BA2DEA42ACE6F71E6E3AD3FB232486BC99A9D557DEBA4599D2BDE
Request Body
Mit dieser Request wird das Merkmal Referenznummer( n) zugewiesen. Es können 20 Werte a 50 Zeichen Pipezeichen getrennt übergeben werden.
{
"ProductId": "1",
"Name": "Referenznummer(n) OE",
"Value": "A012346789101112131415161718192021222324252627282|B012345679101112131415161718192021222324252627282|C012345679101112131415161718192021222324252627282|D012345679101112131415161718192021222324252627282|E012346789101112131415161718192021222324252627282|F012346789101112131415161718192021222324252627282|G012346789101112131415161718192021222324252627282|H012346789101112131415161718192021222324252627282|I012346789101112131415161718192021222324252627282|J012346789101112131415161718192021222324252627282|K012346789101112131415161718192021222324252627282|L012346789101112131415161718192021222324252627282|M012346789101112131415161718192021222324252627282|N012346789101112131415161718192021222324252627282|O012346789101112131415161718192021222324252627282|P012346789101112131415161718192021222324252627282|Q012346789101112131415161718192021222324252627282|R012346789101112131415161718192021222324252627282|S012346789101112131415161718192021222324252627282|T012346789101112131415161718192021222324252627282"
}
Response HTTP-Header
Status Code: 201 Created
Cache-Control: no-cache
Content-Type: application/atom+xml;charset=utf-8
...
Response Body
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<entry xml:base="http://sandboxapi.via.de/PublicApi/v1/Api.svc/" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns="http://www.w3.org/2005/Atom">
<id>http://sandboxapi.via.de/PublicApi/v1/Api.svc/ProductSpecifics(3278762L)</id>
<title type="text"></title>
<updated>2018-01-17T09:20:33Z</updated>
<author>
<name />
</author>
<link rel="edit" title="ProductSpecific" href="ProductSpecifics(3278762L)" />
<link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Product" type="application/atom+xml;type=entry" title="Product" href="ProductSpecifics(3278762L)/Product" />
<category term="Via.BlackBox.Entities.Api.ProductSpecific" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
<content type="application/xml">
<m:properties>
<d:Id m:type="Edm.Int64">1</d:Id>
<d:ProductId m:type="Edm.Int64">1</d:ProductId>
<d:Name>Referennummer(N) OE</d:Name>
<d:Value>A012346789101112131415161718192021222324252627282|B012345679101112131415161718192021222324252627282|C012345679101112131415161718192021222324252627282|D012345679101112131415161718192021222324252627282|E012346789101112131415161718192021222324252627282|F012346789101112131415161718192021222324252627282|G012346789101112131415161718192021222324252627282|H012346789101112131415161718192021222324252627282|I012346789101112131415161718192021222324252627282|J012346789101112131415161718192021222324252627282|K012346789101112131415161718192021222324252627282|L012346789101112131415161718192021222324252627282|M012346789101112131415161718192021222324252627282|N012346789101112131415161718192021222324252627282|O012346789101112131415161718192021222324252627282|P012346789101112131415161718192021222324252627282|Q012346789101112131415161718192021222324252627282|R012346789101112131415161718192021222324252627282|S012346789101112131415161718192021222324252627282|T012346789101112131415161718192021222324252627282</d:Value>
<d:Type m:type="Edm.Int32" m:null="true" />
</m:properties>
</content>
</entry>
Achtung diese Option, ist nicht in allen eBay Kategorien verfügbar. Hauptsächlich werden diese bei Fahrzeugteilen verwendet.
Im unteren Beispiel wird dem Products Entity mit der Id (1) die Spezifikation Reference aus mehreren Werten zugewiesen.
Die Relation vom EntitySet Products zum EntitySet ProductSpecifics erfolgt über Products.Id = ProductSpecifics.ProductId.
Es darf pro ProductId im EntitySet ProductSpecifics ein Name (z.B. Referenznummer( n) OE) nur einmal vergeben werden.
Request Methode
POST http://sandboxapi.via.de/publicapi/v1/api.svc/ProductSpecifics
Request HTTP-Header
Content-Type: application/json
SubscriptionToken: c039b802-7773-4ab2-a7a7-b1bc2084dd3e
Cookie: .ASPXAUTH=5D98C7C50C5A0E0E6775A4E97FE630A69A529487A4C603245EA61592E1B0AF7E0760219DAA5199965FE2B26EF38B914176604609A5FF39005C627061B663C68BFB975B74A6D3AA14302A845559AE28021568358CADFCC4213F12063F677630F6F971000AAD2A3D3DB15AC707AFA931A7532A30B3AAA875ACF3C3B34787F4CB62A36A5D61A495048BC23BA2DEA42ACE6F71E6E3AD3FB232486BC99A9D557DEBA4599D2BDE
Accept: application/json
Request Body
Mit dieser Request wird das Merkmal Referenznummer( n) zugewiesen. Es können 20 Werte a 50 Zeichen Pipezeichen getrennt übergeben werden.
{
"ProductId": "1",
"Name": "Referenznummer(n) OE",
"Value": "A012346789101112131415161718192021222324252627282|B012345679101112131415161718192021222324252627282|C012345679101112131415161718192021222324252627282|D012345679101112131415161718192021222324252627282|E012346789101112131415161718192021222324252627282|F012346789101112131415161718192021222324252627282|G012346789101112131415161718192021222324252627282|H012346789101112131415161718192021222324252627282|I012346789101112131415161718192021222324252627282|J012346789101112131415161718192021222324252627282|K012346789101112131415161718192021222324252627282|L012346789101112131415161718192021222324252627282|M012346789101112131415161718192021222324252627282|N012346789101112131415161718192021222324252627282|O012346789101112131415161718192021222324252627282|P012346789101112131415161718192021222324252627282|Q012346789101112131415161718192021222324252627282|R012346789101112131415161718192021222324252627282|S012346789101112131415161718192021222324252627282|T012346789101112131415161718192021222324252627282"
}
Response HTTP-Header
Status Code: 201 Created
Cache-Control: no-cache
Content-Length: 1021
Content-Type: application/json;charset=utf-8
...
Response Body
{
"d": {
"__metadata": {
"uri": "https://sandboxapi.via.de/PublicApi/v1/Api.svc/ProductSpecifics(1L)",
"type": "Via.BlackBox.Entities.Api.ProductSpecific"
},
"Id": "1",
"ProductId": "1",
"Name": "Referenznummer(n) OE",
"Value": "A012346789101112131415161718192021222324252627282|B012345679101112131415161718192021222324252627282|C012345679101112131415161718192021222324252627282|D012345679101112131415161718192021222324252627282|E012346789101112131415161718192021222324252627282|F012346789101112131415161718192021222324252627282|G012346789101112131415161718192021222324252627282|H012346789101112131415161718192021222324252627282|I012346789101112131415161718192021222324252627282|J012346789101112131415161718192021222324252627282|K012346789101112131415161718192021222324252627282|L012346789101112131415161718192021222324252627282|M012346789101112131415161718192021222324252627282|N012346789101112131415161718192021222324252627282|O012346789101112131415161718192021222324252627282|P012346789101112131415161718192021222324252627282|Q012346789101112131415161718192021222324252627282|R012346789101112131415161718192021222324252627282|S012346789101112131415161718192021222324252627282|T012346789101112131415161718192021222324252627282",
"Type": null,
"Product": {
"__deferred": {
"uri": "https://sandboxapi.via.de/PublicApi/v1/Api.svc/ProductSpecifics(1L)/Product"
}
}
}
}
Achtung diese Option, ist nicht in allen eBay Kategorien verfügbar. Hauptsächlich werden diese bei Fahrzeugteilen verwendet.
Beispiel Darstellung
