Skip to content

Resources List

Brad Ploeger edited this page Apr 4, 2019 · 2 revisions

Services \ Resources \ List

Purpose

Retrieve all supplier resources.

NOTE: Paging using limit and offset is applied to the result list.

Basic Usage:

$rezdyApi->resources->list($request);

Required Parameters

  • none

Optional Parameters

Returns

Throws

Code Example

use Rezdy\RezdyAPI;
use Rezdy\SimpleSearch;

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

$searchParams = [
   'limit' = 10,
   'offset' = 2 ];

$search = new SimpleSearch($searchParams);

// Send the request to the API
$response = $rezdyAPI->resources->list($search);

// View the response
echo $response;

Clone this wiki locally