C# Class Nedap.Retail.Api.Client

Nedap Retail API client
Inheritance: IDisposable
Show file Open project: nedap/retail-services-API

Public Methods

Method Description
Client ( string clientId, string secret ) : Nedap.Retail.Api.System.V1.System

Create a API client instance

Dispose ( ) : void

Dispose client

SetApiBaseUrl ( Uri ApiBaseUrl ) : void

Set base URL for the API calls (default: https://api.nedapretail.com/)

Private Methods

Method Description
Dispose ( bool disposing ) : void

Method Details

Client() public method

Create a API client instance
public Client ( string clientId, string secret ) : Nedap.Retail.Api.System.V1.System
clientId string OAuth 2.0 client ID
secret string OAuth 2.0 secret
return Nedap.Retail.Api.System.V1.System

Dispose() public method

Dispose client
public Dispose ( ) : void
return void

SetApiBaseUrl() public method

Set base URL for the API calls (default: https://api.nedapretail.com/)
public SetApiBaseUrl ( Uri ApiBaseUrl ) : void
ApiBaseUrl System.Uri The URL to use to resolve partial and relative URLs
return void