Skip to content

Latest commit

 

History

History
72 lines (50 loc) · 1.93 KB

ContactApi.md

File metadata and controls

72 lines (50 loc) · 1.93 KB

AkeneoPresales\DescrbAPI\ContactApi

All URIs are relative to https://app.descrb.com.

Method HTTP request Description
contactFormApiV1ContactPost() POST /api/v1/contact/ Contact Form

contactFormApiV1ContactPost()

contactFormApiV1ContactPost($language, $name, $email, $message, $phone_number): mixed

Contact Form

Contact form

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');



$apiInstance = new AkeneoPresales\DescrbAPI\Api\ContactApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client()
);
$language = 'language_example'; // string
$name = 'name_example'; // string | Name
$email = 'email_example'; // string | Email
$message = 'message_example'; // string | Email Message
$phone_number = ''; // string | Phone Number

try {
    $result = $apiInstance->contactFormApiV1ContactPost($language, $name, $email, $message, $phone_number);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ContactApi->contactFormApiV1ContactPost: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
language string
name string Name
email string Email
message string Email Message
phone_number string Phone Number [optional] [default to '']

Return type

mixed

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/x-www-form-urlencoded
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]