.NET client for retailCRM API
Go to file
2014-11-03 14:24:10 +03:00
lib initial commit 2014-11-03 13:12:22 +03:00
RetailCrm initial commit 2014-11-03 13:06:52 +03:00
.gitignore Initial commit 2014-11-03 12:26:10 +03:00
LICENSE Initial commit 2014-11-03 12:26:10 +03:00
README.md initial commit 2014-11-03 14:24:10 +03:00
RetailCrm.sln initial commit 2014-11-03 13:08:48 +03:00

RetailCRM REST API client for .NET

Java Client for RetailCRM REST API. version: 3.0.0

Requirements

Usage

Create API client class

using RetailCrm;
...
RestApi api = new RestApi(
    "https://demo.intarocrm.ru",
    "T9DMPvuNt7FQJMszHUdG8Fkt6xHsqngH"
);

Constructor arguments are:

  1. Your RetailCRM acount URL-address
  2. Your site API Token

Example: get order types list


string url, key;
Dictionary<string, object> orderTypes = new Dictionary<string, object>();

RestApi api = new RestApi(url, key);
try {
    orderTypes = api.orderTypesList();
} catch (ApiException e) {
    Console.WriteLine(ex.Message);
} catch (CurlException e) {
    Console.WriteLine(ex.Message);
}