e2e/e2e-curl-php

E2E.pt PHP client lib

1.18.0 2023-06-15 12:59 UTC

README

Exemplos de invocação da API E2E.pt utilizando o modelo de dados e cliente CURL.

Account

GET

$class = '\Swagger\Client\Model\AccountListContainer';
$params = array('vatNumber'=>'123456789');
$result = self::request('GET', 'account', $class, $params);

POST

$class = '\Swagger\Client\Model\Account';
$body = $account->__toString();
$account = self::request('POST', 'account', $class, null, $body);