All URIs are relative to https://api.wall.et, except if the operation defines another base path.
Method | HTTP request | Description |
---|---|---|
archiveMember() | DELETE /v2/membership/member/{id} | Archive member |
createMember() | POST /v2/membership/member | Create member |
fetchMemberById() | GET /v2/membership/member/{id} | Fetch member |
fetchMemberHistoryLog() | POST /v2/membership/member/history/log | Fetch history |
fetchMemberRedemptionLog() | POST /v2/membership/member/redemption/log | Fetch redemption log |
fetchMembersByPage() | POST /v2/membership/member/page | Fetch members by page |
fetchMembersCount() | GET /v2/membership/member/count | Count active members |
restoreMember() | PATCH /v2/membership/member/{id} | Restore member |
searchMembers() | POST /v2/membership/member/search | Search for members |
updateMember() | PUT /v2/membership/member/{id} | Update member |
archiveMember($id): \OpenAPI\Client\Model\WTMember
Archive member
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\ClubMembersPointsApi(
// 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->archiveMember($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ClubMembersPointsApi->archiveMember: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
id | mixed |
\OpenAPI\Client\Model\WTMember
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
createMember($wt_member_creation_params): \OpenAPI\Client\Model\WTMember
Create member
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\ClubMembersPointsApi(
// 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_member_creation_params = new \OpenAPI\Client\Model\WTMemberCreationParams(); // \OpenAPI\Client\Model\WTMemberCreationParams
try {
$result = $apiInstance->createMember($wt_member_creation_params);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ClubMembersPointsApi->createMember: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
wt_member_creation_params | \OpenAPI\Client\Model\WTMemberCreationParams |
\OpenAPI\Client\Model\WTMember
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fetchMemberById($id): \OpenAPI\Client\Model\WTMember
Fetch member
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\ClubMembersPointsApi(
// 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->fetchMemberById($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ClubMembersPointsApi->fetchMemberById: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
id | mixed |
\OpenAPI\Client\Model\WTMember
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fetchMemberHistoryLog($pagination_request_with_id_and_without_sort_options): \OpenAPI\Client\Model\MSMemberHistoryPagination
Fetch history
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\ClubMembersPointsApi(
// 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()
);
$pagination_request_with_id_and_without_sort_options = new \OpenAPI\Client\Model\PaginationRequestWithIDAndWithoutSortOptions(); // \OpenAPI\Client\Model\PaginationRequestWithIDAndWithoutSortOptions
try {
$result = $apiInstance->fetchMemberHistoryLog($pagination_request_with_id_and_without_sort_options);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ClubMembersPointsApi->fetchMemberHistoryLog: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
pagination_request_with_id_and_without_sort_options | \OpenAPI\Client\Model\PaginationRequestWithIDAndWithoutSortOptions |
\OpenAPI\Client\Model\MSMemberHistoryPagination
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fetchMemberRedemptionLog($pagination_request_with_id_and_without_sort_options): \OpenAPI\Client\Model\MSMemberRedemptionPagination
Fetch redemption log
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\ClubMembersPointsApi(
// 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()
);
$pagination_request_with_id_and_without_sort_options = new \OpenAPI\Client\Model\PaginationRequestWithIDAndWithoutSortOptions(); // \OpenAPI\Client\Model\PaginationRequestWithIDAndWithoutSortOptions
try {
$result = $apiInstance->fetchMemberRedemptionLog($pagination_request_with_id_and_without_sort_options);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ClubMembersPointsApi->fetchMemberRedemptionLog: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
pagination_request_with_id_and_without_sort_options | \OpenAPI\Client\Model\PaginationRequestWithIDAndWithoutSortOptions |
\OpenAPI\Client\Model\MSMemberRedemptionPagination
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fetchMembersByPage($pagination_request_with_sort_options): \OpenAPI\Client\Model\WTMember[]
Fetch members by page
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\ClubMembersPointsApi(
// 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()
);
$pagination_request_with_sort_options = new \OpenAPI\Client\Model\PaginationRequestWithSortOptions(); // \OpenAPI\Client\Model\PaginationRequestWithSortOptions
try {
$result = $apiInstance->fetchMembersByPage($pagination_request_with_sort_options);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ClubMembersPointsApi->fetchMembersByPage: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
pagination_request_with_sort_options | \OpenAPI\Client\Model\PaginationRequestWithSortOptions |
\OpenAPI\Client\Model\WTMember[]
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fetchMembersCount(): \OpenAPI\Client\Model\FetchMembersCount200Response
Count active members
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\ClubMembersPointsApi(
// 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()
);
try {
$result = $apiInstance->fetchMembersCount();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ClubMembersPointsApi->fetchMembersCount: ', $e->getMessage(), PHP_EOL;
}
This endpoint does not need any parameter.
\OpenAPI\Client\Model\FetchMembersCount200Response
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
restoreMember($id): \OpenAPI\Client\Model\WTMember
Restore member
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\ClubMembersPointsApi(
// 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->restoreMember($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ClubMembersPointsApi->restoreMember: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
id | mixed |
\OpenAPI\Client\Model\WTMember
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
searchMembers($member_search): \OpenAPI\Client\Model\PaginatedWTMembers
Search for members
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\ClubMembersPointsApi(
// 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()
);
$member_search = new \OpenAPI\Client\Model\MemberSearch(); // \OpenAPI\Client\Model\MemberSearch
try {
$result = $apiInstance->searchMembers($member_search);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ClubMembersPointsApi->searchMembers: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
member_search | \OpenAPI\Client\Model\MemberSearch |
\OpenAPI\Client\Model\PaginatedWTMembers
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
updateMember($id, $pick_wt_member_member_idor_first_name_or_last_name_or_membership_tier_idor_points_accrued_or_mobile_number_or_email_or_birthday): \OpenAPI\Client\Model\WTMember
Update member
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\ClubMembersPointsApi(
// 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
$pick_wt_member_member_idor_first_name_or_last_name_or_membership_tier_idor_points_accrued_or_mobile_number_or_email_or_birthday = new \OpenAPI\Client\Model\PickWTMemberMemberIDOrFirstNameOrLastNameOrMembershipTierIDOrPointsAccruedOrMobileNumberOrEmailOrBirthday(); // \OpenAPI\Client\Model\PickWTMemberMemberIDOrFirstNameOrLastNameOrMembershipTierIDOrPointsAccruedOrMobileNumberOrEmailOrBirthday
try {
$result = $apiInstance->updateMember($id, $pick_wt_member_member_idor_first_name_or_last_name_or_membership_tier_idor_points_accrued_or_mobile_number_or_email_or_birthday);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ClubMembersPointsApi->updateMember: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
id | mixed | ||
pick_wt_member_member_idor_first_name_or_last_name_or_membership_tier_idor_points_accrued_or_mobile_number_or_email_or_birthday | \OpenAPI\Client\Model\PickWTMemberMemberIDOrFirstNameOrLastNameOrMembershipTierIDOrPointsAccruedOrMobileNumberOrEmailOrBirthday |
\OpenAPI\Client\Model\WTMember
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]