All URIs are relative to https://api.wall.et, except if the operation defines another base path.
Method | HTTP request | Description |
---|---|---|
fetchAppleWalletSubscriberActivity() | GET /v2/apple/wallet/pass/subscriber/activity/{subscriptionID} | Fetch subscriber activity |
fetchAppleWalletSubscribers() | GET /v2/apple/wallet/pass/subscribers/all | Fetch all subscribers |
fetchAppleWalletSubscriberActivity($subscription_id): mixed[]
Fetch subscriber activity
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\AppleWalletSubscribersApi(
// 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()
);
$subscription_id = NULL; // mixed
try {
$result = $apiInstance->fetchAppleWalletSubscriberActivity($subscription_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AppleWalletSubscribersApi->fetchAppleWalletSubscriberActivity: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
subscription_id | mixed |
mixed[]
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fetchAppleWalletSubscribers($start_date_time, $end_date_time): mixed[]
Fetch all subscribers
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\AppleWalletSubscribersApi(
// 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()
);
$start_date_time = new \DateTime("2013-10-20T19:20:30+01:00"); // \DateTime
$end_date_time = new \DateTime("2013-10-20T19:20:30+01:00"); // \DateTime
try {
$result = $apiInstance->fetchAppleWalletSubscribers($start_date_time, $end_date_time);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AppleWalletSubscribersApi->fetchAppleWalletSubscribers: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
start_date_time | \DateTime | [optional] | |
end_date_time | \DateTime | [optional] |
mixed[]
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]