healthcheckGet
/healthcheck
Usage and SDK Samples
curl -X GET\
"//healthcheck"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CostcoDataHubCommonAPIApi;
import java.io.File;
import java.util.*;
public class CostcoDataHubCommonAPIApiExample {
public static void main(String[] args) {
CostcoDataHubCommonAPIApi apiInstance = new CostcoDataHubCommonAPIApi();
String accept = accept_example; // String |
String authorization = authorization_example; // String |
String contentType = contentType_example; // String |
Date costcoTimestamp = 2013-10-20T19:20:30+01:00; // Date |
String costcoSendingApplication = costcoSendingApplication_example; // String |
String costcoUserId = costcoUserId_example; // String |
UUID costcoTrackingId = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID |
try {
apiInstance.healthcheckGet(accept, authorization, contentType, costcoTimestamp, costcoSendingApplication, costcoUserId, costcoTrackingId);
} catch (ApiException e) {
System.err.println("Exception when calling CostcoDataHubCommonAPIApi#healthcheckGet");
e.printStackTrace();
}
}
}
import io.swagger.client.api.CostcoDataHubCommonAPIApi;
public class CostcoDataHubCommonAPIApiExample {
public static void main(String[] args) {
CostcoDataHubCommonAPIApi apiInstance = new CostcoDataHubCommonAPIApi();
String accept = accept_example; // String |
String authorization = authorization_example; // String |
String contentType = contentType_example; // String |
Date costcoTimestamp = 2013-10-20T19:20:30+01:00; // Date |
String costcoSendingApplication = costcoSendingApplication_example; // String |
String costcoUserId = costcoUserId_example; // String |
UUID costcoTrackingId = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID |
try {
apiInstance.healthcheckGet(accept, authorization, contentType, costcoTimestamp, costcoSendingApplication, costcoUserId, costcoTrackingId);
} catch (ApiException e) {
System.err.println("Exception when calling CostcoDataHubCommonAPIApi#healthcheckGet");
e.printStackTrace();
}
}
}
String *accept = accept_example; //
String *authorization = authorization_example; //
String *contentType = contentType_example; //
Date *costcoTimestamp = 2013-10-20T19:20:30+01:00; //
String *costcoSendingApplication = costcoSendingApplication_example; //
String *costcoUserId = costcoUserId_example; //
UUID *costcoTrackingId = 38400000-8cf0-11bd-b23e-10b96e4ef00d; //
CostcoDataHubCommonAPIApi *apiInstance = [[CostcoDataHubCommonAPIApi alloc] init];
[apiInstance healthcheckGetWith:accept
authorization:authorization
contentType:contentType
costcoTimestamp:costcoTimestamp
costcoSendingApplication:costcoSendingApplication
costcoUserId:costcoUserId
costcoTrackingId:costcoTrackingId
completionHandler: ^(NSError* error) {
if (error) {
NSLog(@"Error: %@", error);
}
}];
var CommonApi = require('common_api');
var api = new CommonApi.CostcoDataHubCommonAPIApi()
var accept = accept_example; // {{String}}
var authorization = authorization_example; // {{String}}
var contentType = contentType_example; // {{String}}
var costcoTimestamp = 2013-10-20T19:20:30+01:00; // {{Date}}
var costcoSendingApplication = costcoSendingApplication_example; // {{String}}
var costcoUserId = costcoUserId_example; // {{String}}
var costcoTrackingId = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {{UUID}}
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
api.healthcheckGet(accept, authorization, contentType, costcoTimestamp, costcoSendingApplication, costcoUserId, costcoTrackingId, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class healthcheckGetExample
{
public void main()
{
var apiInstance = new CostcoDataHubCommonAPIApi();
var accept = accept_example; // String |
var authorization = authorization_example; // String |
var contentType = contentType_example; // String |
var costcoTimestamp = 2013-10-20T19:20:30+01:00; // Date |
var costcoSendingApplication = costcoSendingApplication_example; // String |
var costcoUserId = costcoUserId_example; // String |
var costcoTrackingId = new UUID(); // UUID |
try
{
apiInstance.healthcheckGet(accept, authorization, contentType, costcoTimestamp, costcoSendingApplication, costcoUserId, costcoTrackingId);
}
catch (Exception e)
{
Debug.Print("Exception when calling CostcoDataHubCommonAPIApi.healthcheckGet: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\ApiCostcoDataHubCommonAPIApi();
$accept = accept_example; // String |
$authorization = authorization_example; // String |
$contentType = contentType_example; // String |
$costcoTimestamp = 2013-10-20T19:20:30+01:00; // Date |
$costcoSendingApplication = costcoSendingApplication_example; // String |
$costcoUserId = costcoUserId_example; // String |
$costcoTrackingId = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID |
try {
$api_instance->healthcheckGet($accept, $authorization, $contentType, $costcoTimestamp, $costcoSendingApplication, $costcoUserId, $costcoTrackingId);
} catch (Exception $e) {
echo 'Exception when calling CostcoDataHubCommonAPIApi->healthcheckGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CostcoDataHubCommonAPIApi;
my $api_instance = WWW::SwaggerClient::CostcoDataHubCommonAPIApi->new();
my $accept = accept_example; # String |
my $authorization = authorization_example; # String |
my $contentType = contentType_example; # String |
my $costcoTimestamp = 2013-10-20T19:20:30+01:00; # Date |
my $costcoSendingApplication = costcoSendingApplication_example; # String |
my $costcoUserId = costcoUserId_example; # String |
my $costcoTrackingId = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID |
eval {
$api_instance->healthcheckGet(accept => $accept, authorization => $authorization, contentType => $contentType, costcoTimestamp => $costcoTimestamp, costcoSendingApplication => $costcoSendingApplication, costcoUserId => $costcoUserId, costcoTrackingId => $costcoTrackingId);
};
if ($@) {
warn "Exception when calling CostcoDataHubCommonAPIApi->healthcheckGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.CostcoDataHubCommonAPIApi()
accept = accept_example # String |
authorization = authorization_example # String |
contentType = contentType_example # String |
costcoTimestamp = 2013-10-20T19:20:30+01:00 # Date |
costcoSendingApplication = costcoSendingApplication_example # String |
costcoUserId = costcoUserId_example # String |
costcoTrackingId = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID |
try:
api_instance.healthcheck_get(accept, authorization, contentType, costcoTimestamp, costcoSendingApplication, costcoUserId, costcoTrackingId)
except ApiException as e:
print("Exception when calling CostcoDataHubCommonAPIApi->healthcheckGet: %s\n" % e)
Parameters
Header parameters
Name | Description |
---|---|
Accept* |
String
Required
|
Authorization* | |
Content-Type* |
String
Required
|
Costco-Timestamp* |
Date
(date-time)
Required
|
Costco-Sending-Application* |
String
Required
|
Costco-User-Id* |
String
Required
|
Costco-Tracking-Id* |
UUID
(uuid)
Required
|