WeFact API versie 2.4.0
Abonnementen
Abonnementen zijn te beheren via de controller 'subscription'.
show
Middels deze functie kunt u meer informatie over een overige dienst ophalen.
Voorbeeldbestand: /voorbeelden/subscription/subscription.show.php
Invoerparameters:
Veldnaam | Waarde | Omschrijving |
---|---|---|
Identifier | int | De unieke ID van een overige dienst |
Voorbeeld invoer:
$api->sendRequest('subscription', 'show', array( 'Identifier' => '1' ));
Voorbeeld uitvoer:
Array ( [controller] => subscription [action] => show [status] => success [date] => 2016-10-01T12:30:00+00:00 [subscription] => Array ( [Identifier] => 1 [Debtor] => 1 [DebtorCode] => DB0001 [Number] => 1 [NumberSuffix] => [ProductCode] => P0002 [Description] => Service contract [PriceExcl] => 75 [PriceIncl] => 90.75 [TaxPercentage] => 21 [DiscountPercentage] => 0 [Periods] => 1 [Periodic] => m [StartDate] => 2014-05-16 [EndDate] => 2014-06-15 [NextDate] => 2014-05-15 [Comment] => [TerminateAfter] => 0 [TerminationDate] => [AmountExcl] => 75 [AmountIncl] => 90.75 [Created] => 2016-10-01 12:00:00 [Modified] => 2016-10-01 12:00:00 ) )