HostFact API versie 3.1
Groepen
Debiteurgroepen, crediteurgroepen en productgroepen zijn te beheren via de controller 'group'.
show
Middels deze functie kunt u meer informatie over een groep ophalen.
Voorbeeldbestand: /voorbeelden/group/group.show.php
Invoerparameters:
Veldnaam | Waarde | Omschrijving |
---|---|---|
Identifier | int | De unieke ID van de groep |
Voorbeeld invoer:
<?php require_once("../hostfact_api.php"); $api = new HostFactAPI(); $groupParams = array( 'Identifier' => 1 ); $response = $api->sendRequest('group', 'show', $groupParams); print_r_pre($response); ?>
Voorbeeld uitvoer:
Array ( [controller] => group [action] => show [status] => success [date] => 2022-11-24T12:00:00+02:00 [group] => Array ( [Identifier] => 1 [GroupName] => Domeinnamen bestelformulier [Type] => product [Items] => Array ( [2] => Array ( [Identifier] => 2 [ProductCode] => P003 [ProductName] => Domain .com ) ) ) )