internal SentralRestClient(string uri, ApiHeader header)
 {
     Uri      = uri;
     Method   = ApiMethod.GET;
     PostData = "";
     headers  = header;
 }
 internal SentralRestClient(string uri, ApiHeader header, ApiMethod method, string postData)
 {
     Uri      = uri;
     Method   = method;
     PostData = postData;
     headers  = header;
 }
Example #3
0
 protected AbstractApi(string baseUrl, string apiKey, string tenantCode)
 {
     _baseUrl = baseUrl;
     _header  = new ApiHeader(apiKey, tenantCode);
 }