Skip to content

Commit

Permalink
Merge pull request #4 from kronostechnologies/update_dsf_api
Browse files Browse the repository at this point in the history
update DSFApi
  • Loading branch information
GTony authored Aug 3, 2021
2 parents 7cdd19d + 045db2e commit 02892e2
Show file tree
Hide file tree
Showing 4 changed files with 392 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*DSFApi* | [**createDsfFinancialCenter**](docs/Api/DSFApi.md#createdsffinancialcenter) | **POST** /crm/api/v1/dsf/financialCenters |
*DSFApi* | [**deleteDsfFinancialCenter**](docs/Api/DSFApi.md#deletedsffinancialcenter) | **DELETE** /crm/api/v1/dsf/financialCenters/{financialCenterId} |
*DSFApi* | [**getDsfFinancialCenters**](docs/Api/DSFApi.md#getdsffinancialcenters) | **GET** /crm/api/v1/dsf/financialCenters/{financialCenterId} |
*DSFApi* | [**listDsfFinancialCenters**](docs/Api/DSFApi.md#listdsffinancialcenters) | **GET** /crm/api/v1/dsf/financialCenters |
*DSFApi* | [**updateDsfFinancialCenter**](docs/Api/DSFApi.md#updatedsffinancialcenter) | **POST** /crm/api/v1/dsf/financialCenters/{financialCenterId} |
*DatabasesApi* | [**getUser**](docs/Api/DatabasesApi.md#getuser) | **GET** /crm/api/v1/databases/{uuid}/users/{id} |
Expand Down
59 changes: 59 additions & 0 deletions docs/Api/DSFApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Method | HTTP request | Description
------------- | ------------- | -------------
[**createDsfFinancialCenter()**](DSFApi.md#createDsfFinancialCenter) | **POST** /crm/api/v1/dsf/financialCenters |
[**deleteDsfFinancialCenter()**](DSFApi.md#deleteDsfFinancialCenter) | **DELETE** /crm/api/v1/dsf/financialCenters/{financialCenterId} |
[**getDsfFinancialCenters()**](DSFApi.md#getDsfFinancialCenters) | **GET** /crm/api/v1/dsf/financialCenters/{financialCenterId} |
[**listDsfFinancialCenters()**](DSFApi.md#listDsfFinancialCenters) | **GET** /crm/api/v1/dsf/financialCenters |
[**updateDsfFinancialCenter()**](DSFApi.md#updateDsfFinancialCenter) | **POST** /crm/api/v1/dsf/financialCenters/{financialCenterId} |

Expand Down Expand Up @@ -125,6 +126,64 @@ void (empty response body)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)

## `getDsfFinancialCenters()`

```php
getDsfFinancialCenters($financialCenterId): \Equisoft\SDK\EquisoftConnect\Model\DsfFinancialCenter
```



### Example

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


// Configure OAuth2 access token for authorization: OAuth2
$config = Equisoft\SDK\EquisoftConnect\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');


$apiInstance = new Equisoft\SDK\EquisoftConnect\Api\DSFApi(
// 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
);
$financialCenterId = 56; // int

try {
$result = $apiInstance->getDsfFinancialCenters($financialCenterId);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DSFApi->getDsfFinancialCenters: ', $e->getMessage(), PHP_EOL;
}
```

### Parameters

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**financialCenterId** | **int**| |

### Return type

[**\Equisoft\SDK\EquisoftConnect\Model\DsfFinancialCenter**](../Model/DsfFinancialCenter.md)

### Authorization

[OAuth2](../../README.md#OAuth2)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: `application/json`

[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)

## `listDsfFinancialCenters()`

```php
Expand Down
Loading

0 comments on commit 02892e2

Please sign in to comment.