All URIs are relative to /
Method | HTTP request | Description |
---|---|---|
getVotingMembers | POST /api/v1/voting/members | Find members who are eligable to vote, based on submitted criteria |
\Membercare\Client\Model\VotingMemberPagedResult getVotingMembers($token, $body, $page, $page_size)
Find members who are eligable to vote, based on submitted criteria
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Membercare\Client\Api\VotingApi(
// 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()
);
$token = "token_example"; // string | access token
$body = new \Membercare\Client\Model\VotingMemberCriteria(); // \Membercare\Client\Model\VotingMemberCriteria |
$page = 1; // int |
$page_size = 50; // int |
try {
$result = $apiInstance->getVotingMembers($token, $body, $page, $page_size);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling VotingApi->getVotingMembers: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
token | string | access token | |
body | \Membercare\Client\Model\VotingMemberCriteria | [optional] | |
page | int | [optional] [default to 1] | |
page_size | int | [optional] [default to 50] |
\Membercare\Client\Model\VotingMemberPagedResult
No authorization required
- Content-Type: application/json, text/json, application/_*+json
- Accept: text/plain, application/json, text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]