Skip to content

Companies Get

Brad Ploeger edited this page Apr 3, 2019 · 3 revisions

Services \ Companies \ Get

Purpose

Load an existing Company by it's alias in Rezdy.

Basic Usage:

$rezdyApi->companies->get($companyAlias);

Required Parameters

  • string: $companyAlias

Optional Parameters

  • none

Returns

Throws (with errors)

Code Example

use Rezdy\RezdyAPI;

// Initialize the API
$rezdyAPI = new RezdyAPI('your api key');

$companyAlias = 'Some-Great-Company';

// Send the request to the API
$response = $rezdyAPI->companies->get($companyAlias);

// View the Response
echo $response;

Clone this wiki locally