apiV2OrdersOrderIdAddressAddressIdHiddenDescriptionPost
/api/v2/orders/{order_id}/address/{address_id}/hidden_description
Usage and SDK Samples
curl -X POST "https://api.apieco.ir/alopeyk/api/v2/orders/{order_id}/address/{address_id}/hidden_description"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AddHiddenDescriptionApi;
import java.io.File;
import java.util.*;
public class AddHiddenDescriptionApiExample {
public static void main(String[] args) {
AddHiddenDescriptionApi apiInstance = new AddHiddenDescriptionApi();
String authorization = authorization_example; // String | apikey for use API
String xRequestedWith = xRequestedWith_example; // String |
String contentType = contentType_example; // String |
String orderId = orderId_example; // String |
String addressId = addressId_example; // String |
Body_5 body = ; // Body_5 | Request Parameters
try {
inline_response_200_6 result = apiInstance.apiV2OrdersOrderIdAddressAddressIdHiddenDescriptionPost(authorization, xRequestedWith, contentType, orderId, addressId, body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AddHiddenDescriptionApi#apiV2OrdersOrderIdAddressAddressIdHiddenDescriptionPost");
e.printStackTrace();
}
}
}
import io.swagger.client.api.AddHiddenDescriptionApi;
public class AddHiddenDescriptionApiExample {
public static void main(String[] args) {
AddHiddenDescriptionApi apiInstance = new AddHiddenDescriptionApi();
String authorization = authorization_example; // String | apikey for use API
String xRequestedWith = xRequestedWith_example; // String |
String contentType = contentType_example; // String |
String orderId = orderId_example; // String |
String addressId = addressId_example; // String |
Body_5 body = ; // Body_5 | Request Parameters
try {
inline_response_200_6 result = apiInstance.apiV2OrdersOrderIdAddressAddressIdHiddenDescriptionPost(authorization, xRequestedWith, contentType, orderId, addressId, body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AddHiddenDescriptionApi#apiV2OrdersOrderIdAddressAddressIdHiddenDescriptionPost");
e.printStackTrace();
}
}
}
String *authorization = authorization_example; // apikey for use API (default to Bearer {$token})
String *xRequestedWith = xRequestedWith_example; // (default to XMLHttpRequest)
String *contentType = contentType_example; // (default to application/json; charset=utf-8)
String *orderId = orderId_example; //
String *addressId = addressId_example; //
Body_5 *body = ; // Request Parameters (optional)
AddHiddenDescriptionApi *apiInstance = [[AddHiddenDescriptionApi alloc] init];
[apiInstance apiV2OrdersOrderIdAddressAddressIdHiddenDescriptionPostWith:authorization
xRequestedWith:xRequestedWith
contentType:contentType
orderId:orderId
addressId:addressId
body:body
completionHandler: ^(inline_response_200_6 output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var Introduction = require('introduction');
var api = new Introduction.AddHiddenDescriptionApi()
var authorization = authorization_example; // {String} apikey for use API
var xRequestedWith = xRequestedWith_example; // {String}
var contentType = contentType_example; // {String}
var orderId = orderId_example; // {String}
var addressId = addressId_example; // {String}
var opts = {
'body': // {Body_5} Request Parameters
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.apiV2OrdersOrderIdAddressAddressIdHiddenDescriptionPost(authorization, xRequestedWith, contentType, orderId, addressId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class apiV2OrdersOrderIdAddressAddressIdHiddenDescriptionPostExample
{
public void main()
{
var apiInstance = new AddHiddenDescriptionApi();
var authorization = authorization_example; // String | apikey for use API (default to Bearer {$token})
var xRequestedWith = xRequestedWith_example; // String | (default to XMLHttpRequest)
var contentType = contentType_example; // String | (default to application/json; charset=utf-8)
var orderId = orderId_example; // String |
var addressId = addressId_example; // String |
var body = new Body_5(); // Body_5 | Request Parameters (optional)
try
{
inline_response_200_6 result = apiInstance.apiV2OrdersOrderIdAddressAddressIdHiddenDescriptionPost(authorization, xRequestedWith, contentType, orderId, addressId, body);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling AddHiddenDescriptionApi.apiV2OrdersOrderIdAddressAddressIdHiddenDescriptionPost: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\Api\AddHiddenDescriptionApi();
$authorization = authorization_example; // String | apikey for use API
$xRequestedWith = xRequestedWith_example; // String |
$contentType = contentType_example; // String |
$orderId = orderId_example; // String |
$addressId = addressId_example; // String |
$body = ; // Body_5 | Request Parameters
try {
$result = $api_instance->apiV2OrdersOrderIdAddressAddressIdHiddenDescriptionPost($authorization, $xRequestedWith, $contentType, $orderId, $addressId, $body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AddHiddenDescriptionApi->apiV2OrdersOrderIdAddressAddressIdHiddenDescriptionPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AddHiddenDescriptionApi;
my $api_instance = WWW::SwaggerClient::AddHiddenDescriptionApi->new();
my $authorization = authorization_example; # String | apikey for use API
my $xRequestedWith = xRequestedWith_example; # String |
my $contentType = contentType_example; # String |
my $orderId = orderId_example; # String |
my $addressId = addressId_example; # String |
my $body = WWW::SwaggerClient::Object::Body_5->new(); # Body_5 | Request Parameters
eval {
my $result = $api_instance->apiV2OrdersOrderIdAddressAddressIdHiddenDescriptionPost(authorization => $authorization, xRequestedWith => $xRequestedWith, contentType => $contentType, orderId => $orderId, addressId => $addressId, body => $body);
print Dumper($result);
};
if ($@) {
warn "Exception when calling AddHiddenDescriptionApi->apiV2OrdersOrderIdAddressAddressIdHiddenDescriptionPost: $@\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.AddHiddenDescriptionApi()
authorization = authorization_example # String | apikey for use API (default to Bearer {$token})
xRequestedWith = xRequestedWith_example # String | (default to XMLHttpRequest)
contentType = contentType_example # String | (default to application/json; charset=utf-8)
orderId = orderId_example # String |
addressId = addressId_example # String |
body = # Body_5 | Request Parameters (optional)
try:
api_response = api_instance.api_v2_orders_order_id_address_address_id_hidden_description_post(authorization, xRequestedWith, contentType, orderId, addressId, body=body)
pprint(api_response)
except ApiException as e:
print("Exception when calling AddHiddenDescriptionApi->apiV2OrdersOrderIdAddressAddressIdHiddenDescriptionPost: %s\n" % e)
Parameters
Path parameters
Name | Description |
---|---|
order_id* |
String
Required
|
address_id* |
String
Required
|
Header parameters
Name | Description |
---|---|
Authorization* | |
X-Requested-With* |
String
Required
|
Content-Type* |
String
Required
|
Body parameters
Name | Description |
---|---|
body |