Skip to content

Latest commit

 

History

History
394 lines (265 loc) · 11 KB

VirtualBusinessCardApi.md

File metadata and controls

394 lines (265 loc) · 11 KB

OpenAPI\Client\VirtualBusinessCardApi

All URIs are relative to https://api.wall.et, except if the operation defines another base path.

Method HTTP request Description
archiveVirtualBusinessCard() DELETE /v2/virtualBusinessCard/{id} Archive VirtualBusinessCard
createVirtualBusinessCard() POST /v2/virtualBusinessCard Create VirtualBusinessCard
fetchAllVirtualBusinessCards() GET /v2/virtualBusinessCard/all Fetch all VirtualBusinessCards
fetchVirtualBusinessCard() GET /v2/virtualBusinessCard/{id} Fetch virtual business card
fetchVirtualBusinessCardRequests() GET /v2/virtualBusinessCard/requests/{id} Fetch requests
restoreVirtualBusinessCard() PATCH /v2/virtualBusinessCard/{id} Restore VirtualBusinessCard
updateVirtualBusinessCard() PUT /v2/virtualBusinessCard/{id} Update VirtualBusinessCard

archiveVirtualBusinessCard()

archiveVirtualBusinessCard($id): \OpenAPI\Client\Model\VirtualBusinessCard

Archive VirtualBusinessCard

Example

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



$apiInstance = new OpenAPI\Client\Api\VirtualBusinessCardApi(
    // 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()
);
$id = NULL; // mixed

try {
    $result = $apiInstance->archiveVirtualBusinessCard($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VirtualBusinessCardApi->archiveVirtualBusinessCard: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id mixed

Return type

\OpenAPI\Client\Model\VirtualBusinessCard

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

createVirtualBusinessCard()

createVirtualBusinessCard($wt_virtual_business_card_create_params): \OpenAPI\Client\Model\VirtualBusinessCard

Create VirtualBusinessCard

Example

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



$apiInstance = new OpenAPI\Client\Api\VirtualBusinessCardApi(
    // 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()
);
$wt_virtual_business_card_create_params = new \OpenAPI\Client\Model\WTVirtualBusinessCardCreateParams(); // \OpenAPI\Client\Model\WTVirtualBusinessCardCreateParams

try {
    $result = $apiInstance->createVirtualBusinessCard($wt_virtual_business_card_create_params);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VirtualBusinessCardApi->createVirtualBusinessCard: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
wt_virtual_business_card_create_params \OpenAPI\Client\Model\WTVirtualBusinessCardCreateParams

Return type

\OpenAPI\Client\Model\VirtualBusinessCard

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

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

fetchAllVirtualBusinessCards()

fetchAllVirtualBusinessCards($is_archive_included): mixed

Fetch all VirtualBusinessCards

Example

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



$apiInstance = new OpenAPI\Client\Api\VirtualBusinessCardApi(
    // 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()
);
$is_archive_included = True; // bool

try {
    $result = $apiInstance->fetchAllVirtualBusinessCards($is_archive_included);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VirtualBusinessCardApi->fetchAllVirtualBusinessCards: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
is_archive_included bool [optional]

Return type

mixed

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

fetchVirtualBusinessCard()

fetchVirtualBusinessCard($id): \OpenAPI\Client\Model\VirtualBusinessCard

Fetch virtual business card

Example

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



$apiInstance = new OpenAPI\Client\Api\VirtualBusinessCardApi(
    // 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()
);
$id = NULL; // mixed

try {
    $result = $apiInstance->fetchVirtualBusinessCard($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VirtualBusinessCardApi->fetchVirtualBusinessCard: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id mixed

Return type

\OpenAPI\Client\Model\VirtualBusinessCard

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

fetchVirtualBusinessCardRequests()

fetchVirtualBusinessCardRequests($id): \OpenAPI\Client\Model\WalletPageView[]

Fetch requests

Example

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



$apiInstance = new OpenAPI\Client\Api\VirtualBusinessCardApi(
    // 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()
);
$id = NULL; // mixed

try {
    $result = $apiInstance->fetchVirtualBusinessCardRequests($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VirtualBusinessCardApi->fetchVirtualBusinessCardRequests: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id mixed

Return type

\OpenAPI\Client\Model\WalletPageView[]

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

restoreVirtualBusinessCard()

restoreVirtualBusinessCard($id): \OpenAPI\Client\Model\VirtualBusinessCard

Restore VirtualBusinessCard

Example

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



$apiInstance = new OpenAPI\Client\Api\VirtualBusinessCardApi(
    // 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()
);
$id = NULL; // mixed

try {
    $result = $apiInstance->restoreVirtualBusinessCard($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VirtualBusinessCardApi->restoreVirtualBusinessCard: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id mixed

Return type

\OpenAPI\Client\Model\VirtualBusinessCard

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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

updateVirtualBusinessCard()

updateVirtualBusinessCard($id, $wt_virtual_business_card_update_params): \OpenAPI\Client\Model\VirtualBusinessCard

Update VirtualBusinessCard

Example

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



$apiInstance = new OpenAPI\Client\Api\VirtualBusinessCardApi(
    // 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()
);
$id = NULL; // mixed
$wt_virtual_business_card_update_params = new \OpenAPI\Client\Model\WTVirtualBusinessCardUpdateParams(); // \OpenAPI\Client\Model\WTVirtualBusinessCardUpdateParams

try {
    $result = $apiInstance->updateVirtualBusinessCard($id, $wt_virtual_business_card_update_params);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VirtualBusinessCardApi->updateVirtualBusinessCard: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id mixed
wt_virtual_business_card_update_params \OpenAPI\Client\Model\WTVirtualBusinessCardUpdateParams

Return type

\OpenAPI\Client\Model\VirtualBusinessCard

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

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