message1010
Endpoint de déclenchement d'un message 1010
Endpoint de déclenchement d'un message 1010
/1010
Usage and SDK Samples
curl -X POST\
-H "Accept: text/plain"\
-H "Content-Type: application/json"\
"//1010"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DestinataireApi;
import java.io.File;
import java.util.*;
public class DestinataireApiExample {
public static void main(String[] args) {
DestinataireApi apiInstance = new DestinataireApi();
String correlationId = correlationId_example; // String | Identifiant corrélé au messageId du message initial
BodyType1010 body = ; // BodyType1010 |
try {
retour200 result = apiInstance.message1010(correlationId, body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DestinataireApi#message1010");
e.printStackTrace();
}
}
}
import io.swagger.client.api.DestinataireApi;
public class DestinataireApiExample {
public static void main(String[] args) {
DestinataireApi apiInstance = new DestinataireApi();
String correlationId = correlationId_example; // String | Identifiant corrélé au messageId du message initial
BodyType1010 body = ; // BodyType1010 |
try {
retour200 result = apiInstance.message1010(correlationId, body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DestinataireApi#message1010");
e.printStackTrace();
}
}
}
String *correlationId = correlationId_example; // Identifiant corrélé au messageId du message initial
BodyType1010 *body = ; // (optional)
DestinataireApi *apiInstance = [[DestinataireApi alloc] init];
// Endpoint de déclenchement d'un message 1010
[apiInstance message1010With:correlationId
body:body
completionHandler: ^(retour200 output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var ApiFaccediladeGunGamma2VersEdi = require('api_faccedilade_gun__gamma_2_vers_edi');
var api = new ApiFaccediladeGunGamma2VersEdi.DestinataireApi()
var correlationId = correlationId_example; // {{String}} Identifiant corrélé au messageId du message initial
var opts = {
'body': // {{BodyType1010}}
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.message1010(correlationId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class message1010Example
{
public void main()
{
var apiInstance = new DestinataireApi();
var correlationId = correlationId_example; // String | Identifiant corrélé au messageId du message initial
var body = new BodyType1010(); // BodyType1010 | (optional)
try
{
// Endpoint de déclenchement d'un message 1010
retour200 result = apiInstance.message1010(correlationId, body);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling DestinataireApi.message1010: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\ApiDestinataireApi();
$correlationId = correlationId_example; // String | Identifiant corrélé au messageId du message initial
$body = ; // BodyType1010 |
try {
$result = $api_instance->message1010($correlationId, $body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DestinataireApi->message1010: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DestinataireApi;
my $api_instance = WWW::SwaggerClient::DestinataireApi->new();
my $correlationId = correlationId_example; # String | Identifiant corrélé au messageId du message initial
my $body = WWW::SwaggerClient::Object::BodyType1010->new(); # BodyType1010 |
eval {
my $result = $api_instance->message1010(correlationId => $correlationId, body => $body);
print Dumper($result);
};
if ($@) {
warn "Exception when calling DestinataireApi->message1010: $@\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.DestinataireApi()
correlationId = correlationId_example # String | Identifiant corrélé au messageId du message initial
body = # BodyType1010 | (optional)
try:
# Endpoint de déclenchement d'un message 1010
api_response = api_instance.message1010(correlationId, body=body)
pprint(api_response)
except ApiException as e:
print("Exception when calling DestinataireApi->message1010: %s\n" % e)
Parameters
Name | Description |
---|---|
correlationId* |
String
Identifiant corrélé au messageId du message initial
Required
|
Name | Description |
---|---|
body |