search
/supplychainmaps/address/search
Usage and SDK Samples
curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json,text/json,application/*+json"\
"//supplychainmaps/address/search"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AddressApi;
import java.io.File;
import java.util.*;
public class AddressApiExample {
public static void main(String[] args) {
AddressApi apiInstance = new AddressApi();
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 |
AddressSearchRequest body = ; // AddressSearchRequest |
try {
AddressResponse result = apiInstance.search(accept, authorization, contentType, costcoTimestamp, costcoSendingApplication, costcoUserId, costcoTrackingId, body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AddressApi#search");
e.printStackTrace();
}
}
}
import io.swagger.client.api.AddressApi;
public class AddressApiExample {
public static void main(String[] args) {
AddressApi apiInstance = new AddressApi();
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 |
AddressSearchRequest body = ; // AddressSearchRequest |
try {
AddressResponse result = apiInstance.search(accept, authorization, contentType, costcoTimestamp, costcoSendingApplication, costcoUserId, costcoTrackingId, body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AddressApi#search");
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; //
AddressSearchRequest *body = ; // (optional)
AddressApi *apiInstance = [[AddressApi alloc] init];
[apiInstance searchWith:accept
authorization:authorization
contentType:contentType
costcoTimestamp:costcoTimestamp
costcoSendingApplication:costcoSendingApplication
costcoUserId:costcoUserId
costcoTrackingId:costcoTrackingId
body:body
completionHandler: ^(AddressResponse output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var SupplyChainApi = require('supply_chain_api');
var api = new SupplyChainApi.AddressApi()
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 opts = {
'body': // {{AddressSearchRequest}}
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.search(acceptauthorizationcontentTypecostcoTimestampcostcoSendingApplicationcostcoUserIdcostcoTrackingId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class searchExample
{
public void main()
{
var apiInstance = new AddressApi();
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 |
var body = new AddressSearchRequest(); // AddressSearchRequest | (optional)
try
{
AddressResponse result = apiInstance.search(accept, authorization, contentType, costcoTimestamp, costcoSendingApplication, costcoUserId, costcoTrackingId, body);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling AddressApi.search: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\ApiAddressApi();
$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 |
$body = ; // AddressSearchRequest |
try {
$result = $api_instance->search($accept, $authorization, $contentType, $costcoTimestamp, $costcoSendingApplication, $costcoUserId, $costcoTrackingId, $body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AddressApi->search: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AddressApi;
my $api_instance = WWW::SwaggerClient::AddressApi->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 |
my $body = WWW::SwaggerClient::Object::AddressSearchRequest->new(); # AddressSearchRequest |
eval {
my $result = $api_instance->search(accept => $accept, authorization => $authorization, contentType => $contentType, costcoTimestamp => $costcoTimestamp, costcoSendingApplication => $costcoSendingApplication, costcoUserId => $costcoUserId, costcoTrackingId => $costcoTrackingId, body => $body);
print Dumper($result);
};
if ($@) {
warn "Exception when calling AddressApi->search: $@\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.AddressApi()
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 |
body = # AddressSearchRequest | (optional)
try:
api_response = api_instance.search(accept, authorization, contentType, costcoTimestamp, costcoSendingApplication, costcoUserId, costcoTrackingId, body=body)
pprint(api_response)
except ApiException as e:
print("Exception when calling AddressApi->search: %s\n" % e)
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
|
| Name | Description |
|---|---|
| body |