atrf2014ToGda2020DdDdPost
Input: Decimal degrees / Output: Decimal degrees
/atrf2014_to_gda2020/dd/dd
Usage and SDK Samples
curl -X POST "https://api.geodesyapps.ga.gov.au/atrf2014_to_gda2020/dd/dd"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ATRF2014ToGDA2020Api;
import java.io.File;
import java.util.*;
public class ATRF2014ToGDA2020ApiExample {
public static void main(String[] args) {
ATRF2014ToGDA2020Api apiInstance = new ATRF2014ToGDA2020Api();
DecimalDegreeWithEpochRequest body = ; // DecimalDegreeWithEpochRequest |
try {
DecimalDegreeWithEpochResponse result = apiInstance.atrf2014ToGda2020DdDdPost(body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ATRF2014ToGDA2020Api#atrf2014ToGda2020DdDdPost");
e.printStackTrace();
}
}
}
import io.swagger.client.api.ATRF2014ToGDA2020Api;
public class ATRF2014ToGDA2020ApiExample {
public static void main(String[] args) {
ATRF2014ToGDA2020Api apiInstance = new ATRF2014ToGDA2020Api();
DecimalDegreeWithEpochRequest body = ; // DecimalDegreeWithEpochRequest |
try {
DecimalDegreeWithEpochResponse result = apiInstance.atrf2014ToGda2020DdDdPost(body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ATRF2014ToGDA2020Api#atrf2014ToGda2020DdDdPost");
e.printStackTrace();
}
}
}
DecimalDegreeWithEpochRequest *body = ; //
ATRF2014ToGDA2020Api *apiInstance = [[ATRF2014ToGDA2020Api alloc] init];
// Input: Decimal degrees / Output: Decimal degrees
[apiInstance atrf2014ToGda2020DdDdPostWith:body
completionHandler: ^(DecimalDegreeWithEpochResponse output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var GeodeticCalculatorsApi = require('geodetic_calculators_api');
var api = new GeodeticCalculatorsApi.ATRF2014ToGDA2020Api()
var body = ; // {DecimalDegreeWithEpochRequest}
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.atrf2014ToGda2020DdDdPost(body, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class atrf2014ToGda2020DdDdPostExample
{
public void main()
{
var apiInstance = new ATRF2014ToGDA2020Api();
var body = new DecimalDegreeWithEpochRequest(); // DecimalDegreeWithEpochRequest |
try
{
// Input: Decimal degrees / Output: Decimal degrees
DecimalDegreeWithEpochResponse result = apiInstance.atrf2014ToGda2020DdDdPost(body);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ATRF2014ToGDA2020Api.atrf2014ToGda2020DdDdPost: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\Api\ATRF2014ToGDA2020Api();
$body = ; // DecimalDegreeWithEpochRequest |
try {
$result = $api_instance->atrf2014ToGda2020DdDdPost($body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ATRF2014ToGDA2020Api->atrf2014ToGda2020DdDdPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ATRF2014ToGDA2020Api;
my $api_instance = WWW::SwaggerClient::ATRF2014ToGDA2020Api->new();
my $body = WWW::SwaggerClient::Object::DecimalDegreeWithEpochRequest->new(); # DecimalDegreeWithEpochRequest |
eval {
my $result = $api_instance->atrf2014ToGda2020DdDdPost(body => $body);
print Dumper($result);
};
if ($@) {
warn "Exception when calling ATRF2014ToGDA2020Api->atrf2014ToGda2020DdDdPost: $@\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.ATRF2014ToGDA2020Api()
body = # DecimalDegreeWithEpochRequest |
try:
# Input: Decimal degrees / Output: Decimal degrees
api_response = api_instance.atrf2014_to_gda2020_dd_dd_post(body)
pprint(api_response)
except ApiException as e:
print("Exception when calling ATRF2014ToGDA2020Api->atrf2014ToGda2020DdDdPost: %s\n" % e)
Parameters
Name | Description |
---|---|
body * |