Skip to content

Latest commit

 

History

History
61 lines (41 loc) · 1.63 KB

FormsApi.md

File metadata and controls

61 lines (41 loc) · 1.63 KB

Swagger\Client\FormsApi

All URIs are relative to https://api.bombbomb.com/v2

Method HTTP request Description
getFormTrackingAsCsv GET /forms/{id}/tracking/export Get csv

getFormTrackingAsCsv

getFormTrackingAsCsv($id)

Get csv

Get form tracking as csv

Example

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

// Configure OAuth2 access token for authorization: BBOAuth2
$config = Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

$apiInstance = new Swagger\Client\Api\FormsApi(
    // 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(),
    $config
);
$id = "id_example"; // string | Id of the form

try {
    $apiInstance->getFormTrackingAsCsv($id);
} catch (Exception $e) {
    echo 'Exception when calling FormsApi->getFormTrackingAsCsv: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
id string Id of the form

Return type

void (empty response body)

Authorization

BBOAuth2

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]