No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
This C# SDK is automatically generated by the Swagger Codegen project:
- API version: 1.0.0
- SDK version: 1.0.0
- Build date: 2017-11-21T13:59:55.778Z
- Build package: io.swagger.codegen.languages.CsharpDotNet2ClientCodegen
- .NET 2.0
- Mono compiler
- Newtonsoft.Json.7.0.1
- RestSharp.Net2.1.1.11
Note: NuGet is downloaded by the mono compilation script and packages are installed with it. No dependency DLLs are bundled with this generator
Run the following command to generate the DLL
- [Mac/Linux]
/bin/sh compile-mono.sh
- [Windows] TODO
Then include the DLL (under the bin
folder) in the C# project, and use the namespaces:
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class Example
{
public void main()
{
// Configure API key authorization: APIKeyHeader
Configuration.Default.ApiKey.Add("APIToken", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.ApiKeyPrefix.Add("APIToken", "Bearer");
var apiInstance = new BrandsApi();
var brand = new Brand(); // Brand | Brand to add to the store
try
{
InlineResponse201 result = apiInstance.AddBrands(brand);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling BrandsApi.AddBrands: " + e.Message );
}
}
}
}
All URIs are relative to https://api.facestore.local/v1
Class | Method | HTTP request | Description |
---|---|---|---|
BrandsApi | AddBrands | POST /brands | |
BrandsApi | DeleteBrandById | DELETE /brands/{id}/ | |
BrandsApi | GetBrandById | GET /brands/{id}/ | |
BrandsApi | GetBrands | GET /brands | |
BrandsApi | UpdateCategoryById | PUT /brands/{id}/ | |
BrandsApi | UpdateCategoryById_0 | PATCH /brands/{id}/ | |
CategoriesApi | AddCategories | POST /categories | |
CategoriesApi | DeleteCategoryById | DELETE /categories/{id}/ | |
CategoriesApi | GetCategories | GET /categories | |
CategoriesApi | GetCategoryById | GET /categories/{id}/ | |
CategoriesApi | UpdateCategoryById | PUT /categories/{id}/ | |
CustomersApi | GetCustomerById | GET /customers/{id}/ | |
CustomersApi | GetCustomers | GET /customers | |
OrdersApi | GetOrderById | GET /orders/{id}/ | |
OrdersApi | GetOrders | GET /orders | |
PaymentsApi | GetPaymentById | GET /payments/{id}/ | |
PaymentsApi | GetPayments | GET /payments | |
ProductsApi | AddProduct | POST /products | |
ProductsApi | DeleteProductById | DELETE /products/{id}/ | |
ProductsApi | GetProductById | GET /products/{id}/ | |
ProductsApi | GetProducts | GET /products | |
ProductsApi | UpdateProductById | PUT /products/{id}/ | |
ProductsApi | UpdateProductById_0 | PATCH /products/{id}/ | |
ProductsAttributesApi | AddProductsAttributes | POST /attributes | |
ProductsAttributesApi | DeleteProductAttributeById | DELETE /attributes/{id}/ | |
ProductsAttributesApi | GetProductAttributeById | GET /attributes/{id}/ | |
ProductsAttributesApi | GetProductsAttributes | GET /attributes | |
ProductsAttributesApi | UpdateProductAttributeById | PUT /attributes/{id}/ | |
ShippingsApi | AddShipping | POST /shippings | |
ShippingsApi | DeleteShippingById | DELETE /shippings/{id}/ | |
ShippingsApi | GetShippingById | GET /shippings/{id}/ | |
ShippingsApi | GetShippings | GET /shippings | |
ShippingsApi | UpdateShippingById | PUT /shippings/{id}/ | |
ShippingsApi | UpdateShippingById_0 | PATCH /shippings/{id}/ | |
TaxesApi | AddTaxes | POST /taxes | |
TaxesApi | DeleteTaxById | DELETE /taxes/{id}/ | |
TaxesApi | GetTaxById | GET /taxes/{id}/ | |
TaxesApi | GetTaxes | GET /taxes | |
TaxesApi | UpdateTaxById | PUT /taxes/{id}/ | |
TaxesApi | UpdateTaxById_0 | PATCH /taxes/{id}/ |
- IO.Swagger.Model.Attribute
- IO.Swagger.Model.AttributeOptions
- IO.Swagger.Model.Brand
- IO.Swagger.Model.Category
- IO.Swagger.Model.Customer
- IO.Swagger.Model.DefaultResponse
- IO.Swagger.Model.I18n
- IO.Swagger.Model.I18nProduct
- IO.Swagger.Model.I18nProductSeo
- IO.Swagger.Model.InlineResponse200
- IO.Swagger.Model.InlineResponse2001
- IO.Swagger.Model.InlineResponse2001Meta
- IO.Swagger.Model.InlineResponse2002
- IO.Swagger.Model.InlineResponse2003
- IO.Swagger.Model.InlineResponse2004
- IO.Swagger.Model.InlineResponse2005
- IO.Swagger.Model.InlineResponse2006
- IO.Swagger.Model.InlineResponse201
- IO.Swagger.Model.InlineResponse2011
- IO.Swagger.Model.InlineResponse2012
- IO.Swagger.Model.InlineResponse2013
- IO.Swagger.Model.InlineResponse2014
- IO.Swagger.Model.MetaPartialResponse
- IO.Swagger.Model.NotFoundResponse
- IO.Swagger.Model.Options
- IO.Swagger.Model.Order
- IO.Swagger.Model.Payment
- IO.Swagger.Model.Product
- IO.Swagger.Model.Shipping
- IO.Swagger.Model.Tax
- Type: API key
- API key parameter name: APIToken
- Location: HTTP header