User API guide/fr: Difference between revisions

Created page with "if ($bookingsInfo->require_confirm) { foreach ($bookingsInfo->bookings as $booking) { $sign = md5($booking->id . $booking->hash . YOUR_API_SECRET_KEY); $result = $client->confirmBooking($booking->id, $sign); echo ' Confirm result '; var_dump($result); } }</nowiki> <br><br>"
Tags: Mobile edit Mobile web edit
Created page with "'''Exemple de code pour la réservation d'un service et sa confirmation à l'aide d'une clé API secrète''' <br><br> <nowiki>$additionalFields = array( '6740d3bce747107ddb9a789cbb78abf3' => 'value1', 'b0657bafaec7a2c9800b923f959f8163' => 'value2' ); $clientData = array( 'name' => 'Nom du client', 'email' => 'client@email.com', 'phone' => '+13152108338' ); $bookingsInfo = $client->book($eventId, $unitId, $date, $time, $clientData, $additionalF..."
Tags: Mobile edit Mobile web edit
Line 238: Line 238:
<br><br><br>
<br><br><br>


<div lang="en" dir="ltr" class="mw-content-ltr">
= '''FONCTIONNALITÉS PERSONNALISÉES SIMPLYBOOK''' =
='''SIMPLYBOOK CUSTOM FEATURES'''=
<br><br>
<br><br>
If your company specific requires some additional functionality you can activate some of our additional Custom Features. The complete Custom Features list with detailed description is avaiable in your admin interface under the 'Custom Feature' link. After the necessary Custom Feature is enabled the corresponding API methods will be activated so you can use them in your code.
Si votre entreprise a besoin de fonctionnalités supplémentaires, vous pouvez activer certaines de nos fonctionnalités personnalisées. La liste complète des fonctionnalités personnalisées avec une description détaillée est disponible dans votre interface d'administration sous le lien « Fonctionnalités personnalisées ». Une fois la fonctionnalité personnalisée nécessaire activée, les méthodes API correspondantes seront activées afin que vous puissiez les utiliser dans votre code.
<br><br><br>
<br><br><br>
='''BOOKING FUNCTIONALITY CODEFLOW'''=
= '''FONCTIONNALITÉ DE RÉSERVATION CODEFLOW''' =
<br><br>
<br><br>
Authorize in Simplybook API using '''loginClient.getToken(companyLogin, apiKey);''' function.
Autorisez l'accès à l'API Simplybook à l'aide de la fonction '''loginClient.getToken(companyLogin, apiKey) ;'''.
</div>