Inhalte aufrufen

Profilbild

WebApi: Alias must be unique?


  • Bitte melden Sie sich an, um eine Antwort zu verfassen.
Keine Antworten zum Thema vorhanden

#1 TripleNico

TripleNico

    Advanced Member

  • Members
  • PunktPunktPunkt
  • 124 Beiträge

Geschrieben: 17 April 2020 - 09:44

so i start working on SpecificationAttributeOptions and i noticed than when i delete a value and then add a complete new one but set the same Alias i get a error back saying: ""message":"An alias \"2\" already exists. Please choose a different value."" Is this by design? In my opinion a Alias doesn't have to be unique, to confirm i use the alias of different objects and they don't give this type of error?
 
additional question: How would one assign a SpecificationAttributeOptions to a product?

Something like:

$"{serverBaseUrlOData}Products({ProductID})/SpecificationAttributeOptions({SpecificationAttributeOptionID})"