Questions tagged [c#]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
94 views

Restful API working in postman, C# not Working [Magento Integration]

I am integrating with Magento 2, using RESTful APIs. When I use postman, it works like charm, while in C# code, it returns "Unauthorized 401" exception. However, It was working in C# code earlier, ...
1
vote
0answers
21 views

The .NET NuGet Package `Magento.NetCore` Has No Sample Code - How to use it?

I want to use C# to call against the Magento 2 REST API. The NuGet package Magento.NetCore seems like it might be a fairly complete C# library, but there is no sample code. Even just to create a ...
0
votes
0answers
19 views

Magento Soap integration with C#

I added Magento Ref. As web service to my project also i create admin role and assigned to user and enable WS-I Compliance then i got this error System.Web.Services.Protocols.SoapHeaderException: '...
2
votes
0answers
48 views

Magento2 SOAP with C#

I am trying to read Magento customer from a C# third-party software. When I enter SOAP into the browser, its throwing error. URL:- http://localhost:81/magento2-2.2.5/soap/default?wsdl&...
2
votes
1answer
702 views

magento api 2 create product error

I have used C# to call magento rest API to create a new product (magento version 2.2.5) this is the body data: { "product": { "id": 0, "sku": "MS-Champ11", "name": "Champ Tee11", "...
0
votes
1answer
28 views

Why Magento SOAP multiLocationInventoryStockList is not accepting any filter request?

I am trying from magento soap to get info about inventory from individual "sku", but object "multiLocationInventoryStockList" is getting me back result from all locations Id's. Here is my code in C#:...
1
vote
0answers
413 views

Magento 2 soap API in C#

I've been searching for ways to use soap api in c# (with visual studio 2015). First I thought it was simple, just add web reference like this site (http://tdmts.net/2017/02/07/magento-2-soap-api-with-...
0
votes
1answer
1k views

How to use access Magento 2 API from C# with REST and Token-based authentication

I create an Integration -> Activate -> Obtained the Access Token Like is described here: http://devdocs.magento.com/guides/v2.2/get-started/authentication/gs-authentication-token.html And in my test ...
1
vote
2answers
1k views

Magento 2 REST API Get TaxRate by Tax Class ID

i'm using RestSharp in C# to connect with Magento2 REST API. Everythings fine, except one simple thing: lets say i've got a product, in its JSON-DATA there is a tax_class_id "4". Inside of this ...
1
vote
0answers
378 views

Using magento2 Soap api in .NET

I am trying to consume magento2 soap api in .NET C#, and can find that to consume sales api's we need to be authorize, i have the authorization token , but can anybody help me how we can add this in ....
0
votes
2answers
2k views

Invoke rest api from c#

I am successfully getting access token, but when I call customer service it is throwing error. Error:Bad Request/Unauthorized for this I have tried below code. using System; using System....