v4FlightRequestDetailApiKeyUsernameRequestNumberPost
/V4/FlightRequest/Detail/{ApiKey}/{Username}/{RequestNumber}
Usage and SDK Samples
curl -X POST "https://api.apieco.ir/hiholiday/V4/FlightRequest/Detail/{ApiKey}/{Username}/{RequestNumber}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.RequestDetailApi;
import java.io.File;
import java.util.*;
public class RequestDetailApiExample {
public static void main(String[] args) {
RequestDetailApi apiInstance = new RequestDetailApi();
String apiecoKey = apiecoKey_example; // String | apikey for use API
String apiKey = apiKey_example; // String |
String username = username_example; // String |
String requestNumber = requestNumber_example; // String |
try {
apiInstance.v4FlightRequestDetailApiKeyUsernameRequestNumberPost(apiecoKey, apiKey, username, requestNumber);
} catch (ApiException e) {
System.err.println("Exception when calling RequestDetailApi#v4FlightRequestDetailApiKeyUsernameRequestNumberPost");
e.printStackTrace();
}
}
}
import io.swagger.client.api.RequestDetailApi;
public class RequestDetailApiExample {
public static void main(String[] args) {
RequestDetailApi apiInstance = new RequestDetailApi();
String apiecoKey = apiecoKey_example; // String | apikey for use API
String apiKey = apiKey_example; // String |
String username = username_example; // String |
String requestNumber = requestNumber_example; // String |
try {
apiInstance.v4FlightRequestDetailApiKeyUsernameRequestNumberPost(apiecoKey, apiKey, username, requestNumber);
} catch (ApiException e) {
System.err.println("Exception when calling RequestDetailApi#v4FlightRequestDetailApiKeyUsernameRequestNumberPost");
e.printStackTrace();
}
}
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *apiKey = apiKey_example; //
String *username = username_example; //
String *requestNumber = requestNumber_example; //
RequestDetailApi *apiInstance = [[RequestDetailApi alloc] init];
[apiInstance v4FlightRequestDetailApiKeyUsernameRequestNumberPostWith:apiecoKey
apiKey:apiKey
username:username
requestNumber:requestNumber
completionHandler: ^(NSError* error) {
if (error) {
NSLog(@"Error: %@", error);
}
}];
var _ = require('_');
var api = new _.RequestDetailApi()
var apiecoKey = apiecoKey_example; // {String} apikey for use API
var apiKey = apiKey_example; // {String}
var username = username_example; // {String}
var requestNumber = requestNumber_example; // {String}
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
api.v4FlightRequestDetailApiKeyUsernameRequestNumberPost(apiecoKey, apiKey, username, requestNumber, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class v4FlightRequestDetailApiKeyUsernameRequestNumberPostExample
{
public void main()
{
var apiInstance = new RequestDetailApi();
var apiecoKey = apiecoKey_example; // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
var apiKey = apiKey_example; // String |
var username = username_example; // String |
var requestNumber = requestNumber_example; // String |
try
{
apiInstance.v4FlightRequestDetailApiKeyUsernameRequestNumberPost(apiecoKey, apiKey, username, requestNumber);
}
catch (Exception e)
{
Debug.Print("Exception when calling RequestDetailApi.v4FlightRequestDetailApiKeyUsernameRequestNumberPost: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\Api\RequestDetailApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$apiKey = apiKey_example; // String |
$username = username_example; // String |
$requestNumber = requestNumber_example; // String |
try {
$api_instance->v4FlightRequestDetailApiKeyUsernameRequestNumberPost($apiecoKey, $apiKey, $username, $requestNumber);
} catch (Exception $e) {
echo 'Exception when calling RequestDetailApi->v4FlightRequestDetailApiKeyUsernameRequestNumberPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::RequestDetailApi;
my $api_instance = WWW::SwaggerClient::RequestDetailApi->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $apiKey = apiKey_example; # String |
my $username = username_example; # String |
my $requestNumber = requestNumber_example; # String |
eval {
$api_instance->v4FlightRequestDetailApiKeyUsernameRequestNumberPost(apiecoKey => $apiecoKey, apiKey => $apiKey, username => $username, requestNumber => $requestNumber);
};
if ($@) {
warn "Exception when calling RequestDetailApi->v4FlightRequestDetailApiKeyUsernameRequestNumberPost: $@\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.RequestDetailApi()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
apiKey = apiKey_example # String |
username = username_example # String |
requestNumber = requestNumber_example # String |
try:
api_instance.v4_flight_request_detail_api_key_username_request_number_post(apiecoKey, apiKey, username, requestNumber)
except ApiException as e:
print("Exception when calling RequestDetailApi->v4FlightRequestDetailApiKeyUsernameRequestNumberPost: %s\n" % e)
Parameters
Path parameters
Name | Description |
---|---|
ApiKey* |
String
Required
|
Username* |
String
Required
|
RequestNumber* |
String
Required
|
Header parameters
Name | Description |
---|---|
apieco-key* |
String
apikey for use API
Required
|