All URIs are relative to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest
Method | HTTP request | Description |
---|---|---|
CreditcardmerchantGetAutocompleteV2 | GET /2/object/creditcardmerchant/getAutocomplete/{sSelector} | Retrieve Creditcardmerchants and IDs |
CreditcardmerchantGetListV1 | GET /1/object/creditcardmerchant/getList | Retrieve Creditcardmerchant list |
CreditcardmerchantGetObjectV2 | GET /2/object/creditcardmerchant/{pkiCreditcardmerchantID} | Retrieve an existing Creditcardmerchant |
CreditcardmerchantGetAutocompleteV2Response CreditcardmerchantGetAutocompleteV2 (string sSelector, string? eFilterActive = null, string? sQuery = null, HeaderAcceptLanguage? acceptLanguage = null)
Retrieve Creditcardmerchants and IDs
Get the list of Creditcardmerchant to be used in a dropdown or autocomplete control.
using System.Collections.Generic;
using System.Diagnostics;
using eZmaxApi.Api;
using eZmaxApi.Client;
using eZmaxApi.Model;
namespace Example
{
public class CreditcardmerchantGetAutocompleteV2Example
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest";
// Configure API key authorization: Authorization
config.AddApiKey("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.AddApiKeyPrefix("Authorization", "Bearer");
var apiInstance = new ObjectCreditcardmerchantApi(config);
var sSelector = "All"; // string | The type of Creditcardmerchants to return
var eFilterActive = "All"; // string? | Specify which results we want to display. (optional) (default to Active)
var sQuery = "sQuery_example"; // string? | Allow to filter the returned results (optional)
var acceptLanguage = new HeaderAcceptLanguage?(); // HeaderAcceptLanguage? | (optional)
try
{
// Retrieve Creditcardmerchants and IDs
CreditcardmerchantGetAutocompleteV2Response result = apiInstance.CreditcardmerchantGetAutocompleteV2(sSelector, eFilterActive, sQuery, acceptLanguage);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ObjectCreditcardmerchantApi.CreditcardmerchantGetAutocompleteV2: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// Retrieve Creditcardmerchants and IDs
ApiResponse<CreditcardmerchantGetAutocompleteV2Response> response = apiInstance.CreditcardmerchantGetAutocompleteV2WithHttpInfo(sSelector, eFilterActive, sQuery, acceptLanguage);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ObjectCreditcardmerchantApi.CreditcardmerchantGetAutocompleteV2WithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
Name | Type | Description | Notes |
---|---|---|---|
sSelector | string | The type of Creditcardmerchants to return | |
eFilterActive | string? | Specify which results we want to display. | [optional] [default to Active] |
sQuery | string? | Allow to filter the returned results | [optional] |
acceptLanguage | HeaderAcceptLanguage? | [optional] |
CreditcardmerchantGetAutocompleteV2Response
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful response | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CreditcardmerchantGetListV1Response CreditcardmerchantGetListV1 (string? eOrderBy = null, int? iRowMax = null, int? iRowOffset = null, HeaderAcceptLanguage? acceptLanguage = null, string? sFilter = null)
Retrieve Creditcardmerchant list
using System.Collections.Generic;
using System.Diagnostics;
using eZmaxApi.Api;
using eZmaxApi.Client;
using eZmaxApi.Model;
namespace Example
{
public class CreditcardmerchantGetListV1Example
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest";
// Configure API key authorization: Authorization
config.AddApiKey("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.AddApiKeyPrefix("Authorization", "Bearer");
var apiInstance = new ObjectCreditcardmerchantApi(config);
var eOrderBy = "pkiCreditcardmerchantID_ASC"; // string? | Specify how you want the results to be sorted (optional)
var iRowMax = 56; // int? | (optional)
var iRowOffset = 0; // int? | (optional) (default to 0)
var acceptLanguage = new HeaderAcceptLanguage?(); // HeaderAcceptLanguage? | (optional)
var sFilter = "sFilter_example"; // string? | (optional)
try
{
// Retrieve Creditcardmerchant list
CreditcardmerchantGetListV1Response result = apiInstance.CreditcardmerchantGetListV1(eOrderBy, iRowMax, iRowOffset, acceptLanguage, sFilter);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ObjectCreditcardmerchantApi.CreditcardmerchantGetListV1: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// Retrieve Creditcardmerchant list
ApiResponse<CreditcardmerchantGetListV1Response> response = apiInstance.CreditcardmerchantGetListV1WithHttpInfo(eOrderBy, iRowMax, iRowOffset, acceptLanguage, sFilter);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ObjectCreditcardmerchantApi.CreditcardmerchantGetListV1WithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
Name | Type | Description | Notes |
---|---|---|---|
eOrderBy | string? | Specify how you want the results to be sorted | [optional] |
iRowMax | int? | [optional] | |
iRowOffset | int? | [optional] [default to 0] | |
acceptLanguage | HeaderAcceptLanguage? | [optional] | |
sFilter | string? | [optional] |
CreditcardmerchantGetListV1Response
- Content-Type: Not defined
- Accept: application/json, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Status code | Description | Response headers |
---|---|---|
200 | Successful response | - |
406 | The URL is valid, but one of the Accept header is not defined or invalid. For example, you set the header "Accept: application/json" but the function can only return "Content-type: image/png" | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CreditcardmerchantGetObjectV2Response CreditcardmerchantGetObjectV2 (int pkiCreditcardmerchantID)
Retrieve an existing Creditcardmerchant
using System.Collections.Generic;
using System.Diagnostics;
using eZmaxApi.Api;
using eZmaxApi.Client;
using eZmaxApi.Model;
namespace Example
{
public class CreditcardmerchantGetObjectV2Example
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest";
// Configure API key authorization: Authorization
config.AddApiKey("Authorization", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.AddApiKeyPrefix("Authorization", "Bearer");
var apiInstance = new ObjectCreditcardmerchantApi(config);
var pkiCreditcardmerchantID = 56; // int | The unique ID of the Creditcardmerchant
try
{
// Retrieve an existing Creditcardmerchant
CreditcardmerchantGetObjectV2Response result = apiInstance.CreditcardmerchantGetObjectV2(pkiCreditcardmerchantID);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ObjectCreditcardmerchantApi.CreditcardmerchantGetObjectV2: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// Retrieve an existing Creditcardmerchant
ApiResponse<CreditcardmerchantGetObjectV2Response> response = apiInstance.CreditcardmerchantGetObjectV2WithHttpInfo(pkiCreditcardmerchantID);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling ObjectCreditcardmerchantApi.CreditcardmerchantGetObjectV2WithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
Name | Type | Description | Notes |
---|---|---|---|
pkiCreditcardmerchantID | int | The unique ID of the Creditcardmerchant |
CreditcardmerchantGetObjectV2Response
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful response | - |
404 | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]