Skip to content

Latest commit

 

History

History
73 lines (51 loc) · 2.57 KB

File metadata and controls

73 lines (51 loc) · 2.57 KB

Swagger\Client\ProjectresourceplanApi

All URIs are relative to https://api.tripletex.io/v2

Method HTTP request Description
projectResourcePlanBudgetGet GET /project/resourcePlanBudget Get resource plan entries in the specified period.

projectResourcePlanBudgetGet

\Swagger\Client\Model\ResponseWrapperResourcePlanBudget projectResourcePlanBudgetGet($period_type, $project_id, $period_start, $period_end, $fields)

Get resource plan entries in the specified period.

Example

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

// Configure HTTP basic authorization: tokenAuthScheme
$config = Swagger\Client\Configuration::getDefaultConfiguration()
              ->setUsername('YOUR_USERNAME')
              ->setPassword('YOUR_PASSWORD');


$apiInstance = new Swagger\Client\Api\ProjectresourceplanApi(
    // 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
);
$period_type = "period_type_example"; // string | Equals
$project_id = 56; // int | Equals
$period_start = "period_start_example"; // string | From and including
$period_end = "period_end_example"; // string | To and excluding
$fields = "fields_example"; // string | Fields filter pattern

try {
    $result = $apiInstance->projectResourcePlanBudgetGet($period_type, $project_id, $period_start, $period_end, $fields);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProjectresourceplanApi->projectResourcePlanBudgetGet: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
period_type string Equals
project_id int Equals [optional]
period_start string From and including [optional]
period_end string To and excluding [optional]
fields string Fields filter pattern [optional]

Return type

\Swagger\Client\Model\ResponseWrapperResourcePlanBudget

Authorization

tokenAuthScheme

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

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