Inhalte aufrufen

Profilbild

Delete Categories via WebAPI


Best Answer Marcus Gesing , 03 February 2021 - 17:11

Please try
https://shop.com/odata/v1/Categories(17)
 
"Does somewhere exists a whole Documentation about supported commands?"
Unfortunately, not at the moment. It is planned to update and complete the interactive Swagger documentation after the ASP.NET Core porting.
More on this can be found at the end of this article.
Go to the full post


  • Bitte melden Sie sich an, um eine Antwort zu verfassen.
4 Antworten zu diesem Thema

#1 nullpunktnull

nullpunktnull

    Newbie

  • Members
  • Punkt
  • 5 Beiträge

Geschrieben: 03 February 2021 - 14:41

Hi there

 

I try to delete Categories as follows:

DELETE https://shop.com/oda...1/Categories/17

 

The response ist just a 404. Creating categories with POST and get Data with GET works fine.

 

Is it possible that this is not implemented?

And: Does somewhere exists a whole Documentation about supported commands?

 

Best regards

nullpunktnull



#2 Marcus Gesing

Marcus Gesing

    SmartStore AG

  • Administrators
  • 3799 Beiträge

Geschrieben: 03 February 2021 - 17:11   Best Answer

Please try
https://shop.com/odata/v1/Categories(17)
 
"Does somewhere exists a whole Documentation about supported commands?"
Unfortunately, not at the moment. It is planned to update and complete the interactive Swagger documentation after the ASP.NET Core porting.
More on this can be found at the end of this article.

  • stefanmueller gefällt das

Marcus Gesing

Smartstore AG


#3 nullpunktnull

nullpunktnull

    Newbie

  • Members
  • Punkt
  • 5 Beiträge

Geschrieben: 04 February 2021 - 10:45

Hi Marcus

 

Unfortunately it is still not working. I used your Github-Webclient aswell.

Could you please check my attachment?

 

Best regards

nullpunktnull

Angehängte Bilder

  • Angehängte Datei  pic1.PNG   46.73K   0 Anzahl Downloads


#4 Marcus Gesing

Marcus Gesing

    SmartStore AG

  • Administrators
  • 3799 Beiträge

Geschrieben: 04 February 2021 - 11:28

Probably the Host\IIS is configured in a way that requests to the shop via DELETE method are not allowed.


Marcus Gesing

Smartstore AG


#5 nullpunktnull

nullpunktnull

    Newbie

  • Members
  • Punkt
  • 5 Beiträge

Geschrieben: 05 February 2021 - 14:56

Thank you Marcus

 

Okay, we will check this. It would be really great to have a full "what-is-implemented-guide" :)

 

Best regards

nullpunktnull