You are here

protected function MoxtraService::getCreateMeetingUrl in Opigno Moxtra 8

Same name and namespace in other branches
  1. 3.x src/MoxtraService.php \Drupal\opigno_moxtra\MoxtraService::getCreateMeetingUrl()

Returns URL to schedule a meeting.

Parameters

int $owner_id: User ID.

Return value

string URL.

1 call to MoxtraService::getCreateMeetingUrl()
MoxtraService::createMeeting in src/MoxtraService.php
Creates meeting.

File

src/MoxtraService.php, line 213

Class

MoxtraService
Implements Moxtra REST API.

Namespace

Drupal\opigno_moxtra

Code

protected function getCreateMeetingUrl($owner_id) {
  $token = $this->moxtraConnector
    ->getToken($owner_id);
  return $this->moxtraConnector
    ->getUrl() . "/v1/meets/schedule?access_token={$token}";
}