Developer forum

Forum » Integration » "Delete" request type on endpoints

"Delete" request type on endpoints

Jonas Krarup Dam
Reply

Hey,

I'm doing a custom integration against BC OData. I need to be able to send "delete" requests.

I can do "Get", "Post" and "Patch" by doing :
 

 Endpoint createProductEndpoint = endpointService.GetEndpointById(20);
 createProductEndpoint = createProductEndpoint.Clone();

 createProductEndpoint.RequestType = EndpointRequestType.GET;

Can you please add "Delete" to the EndpointRequestType enum?

Thanks, Jonas


Replies

 
Dmitriy Benyuk Dynamicweb Employee
Dmitriy Benyuk
Reply
This post has been marked as an answer

Hi Jonas,

it is present in DW10 api, so maybe you can look on to upgrade to DW10 instead?

BR, Dmitrij

Votes for this answer: 1
 
Jonas Krarup Dam
Reply

Hey Dmitrij, 

Good to hear that it is in DW10. I hadn't checked :-) 
For this solution, I'm working around it, so it should be fine.

Thanks! 

 

You must be logged in to post in the forum