Skip to content

Latest commit

 

History

History
381 lines (282 loc) · 12.1 KB

SeriesApi.md

File metadata and controls

381 lines (282 loc) · 12.1 KB

FacturaCom\FacturaComSdk\SeriesApi

All URIs are relative to https://sandbox.factura.com

Method HTTP request Description
apiV4Series19843Get GET /api/v4/series/19843 Listar serie por UID
apiV4Series19844DownPost POST /api/v4/series/19844/down Desactivar una serie
apiV4Series19844DropPost POST /api/v4/series/19844/drop Elminar una serie
apiV4Series19844UpPost POST /api/v4/series/19844/up Activar una serie
apiV4SeriesCreatePost POST /api/v4/series/create Crear nueva serie
apiV4SeriesGet GET /api/v4/series Listar series

apiV4Series19843Get

apiV4Series19843Get($content_type, $f_plugin, $f_api_key, $f_secret_key)

Listar serie por UID

Método para listar las series disponibles.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: apikeyAuth
$config = FacturaCom\FacturaComSdk\Configuration::getDefaultConfiguration()
              ->setUsername('YOUR_USERNAME')
              ->setPassword('YOUR_PASSWORD');


$apiInstance = new FacturaCom\FacturaComSdk\Api\SeriesApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$content_type = "content_type_example"; // string | 
$f_plugin = "f_plugin_example"; // string | 
$f_api_key = "f_api_key_example"; // string | 
$f_secret_key = "f_secret_key_example"; // string | 

try {
    $apiInstance->apiV4Series19843Get($content_type, $f_plugin, $f_api_key, $f_secret_key);
} catch (Exception $e) {
    echo 'Exception when calling SeriesApi->apiV4Series19843Get: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
content_type string [optional]
f_plugin string [optional]
f_api_key string [optional]
f_secret_key string [optional]

Return type

void (empty response body)

Authorization

apikeyAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

apiV4Series19844DownPost

apiV4Series19844DownPost($body, $content_type, $f_plugin, $f_api_key, $f_secret_key)

Desactivar una serie

Método para listar las series disponibles.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: apikeyAuth
$config = FacturaCom\FacturaComSdk\Configuration::getDefaultConfiguration()
              ->setUsername('YOUR_USERNAME')
              ->setPassword('YOUR_PASSWORD');


$apiInstance = new FacturaCom\FacturaComSdk\Api\SeriesApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$body = "body_example"; // string | 
$content_type = "content_type_example"; // string | 
$f_plugin = "f_plugin_example"; // string | 
$f_api_key = "f_api_key_example"; // string | 
$f_secret_key = "f_secret_key_example"; // string | 

try {
    $apiInstance->apiV4Series19844DownPost($body, $content_type, $f_plugin, $f_api_key, $f_secret_key);
} catch (Exception $e) {
    echo 'Exception when calling SeriesApi->apiV4Series19844DownPost: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
body string [optional]
content_type string [optional]
f_plugin string [optional]
f_api_key string [optional]
f_secret_key string [optional]

Return type

void (empty response body)

Authorization

apikeyAuth

HTTP request headers

  • Content-Type: /
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

apiV4Series19844DropPost

apiV4Series19844DropPost($body, $content_type, $f_plugin, $f_api_key, $f_secret_key)

Elminar una serie

Método para listar las series disponibles.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: apikeyAuth
$config = FacturaCom\FacturaComSdk\Configuration::getDefaultConfiguration()
              ->setUsername('YOUR_USERNAME')
              ->setPassword('YOUR_PASSWORD');


$apiInstance = new FacturaCom\FacturaComSdk\Api\SeriesApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$body = "body_example"; // string | 
$content_type = "content_type_example"; // string | 
$f_plugin = "f_plugin_example"; // string | 
$f_api_key = "f_api_key_example"; // string | 
$f_secret_key = "f_secret_key_example"; // string | 

try {
    $apiInstance->apiV4Series19844DropPost($body, $content_type, $f_plugin, $f_api_key, $f_secret_key);
} catch (Exception $e) {
    echo 'Exception when calling SeriesApi->apiV4Series19844DropPost: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
body string [optional]
content_type string [optional]
f_plugin string [optional]
f_api_key string [optional]
f_secret_key string [optional]

Return type

void (empty response body)

Authorization

apikeyAuth

HTTP request headers

  • Content-Type: /
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

apiV4Series19844UpPost

apiV4Series19844UpPost($body, $content_type, $f_plugin, $f_api_key, $f_secret_key)

Activar una serie

Método para listar las series disponibles.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: apikeyAuth
$config = FacturaCom\FacturaComSdk\Configuration::getDefaultConfiguration()
              ->setUsername('YOUR_USERNAME')
              ->setPassword('YOUR_PASSWORD');


$apiInstance = new FacturaCom\FacturaComSdk\Api\SeriesApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$body = "body_example"; // string | 
$content_type = "content_type_example"; // string | 
$f_plugin = "f_plugin_example"; // string | 
$f_api_key = "f_api_key_example"; // string | 
$f_secret_key = "f_secret_key_example"; // string | 

try {
    $apiInstance->apiV4Series19844UpPost($body, $content_type, $f_plugin, $f_api_key, $f_secret_key);
} catch (Exception $e) {
    echo 'Exception when calling SeriesApi->apiV4Series19844UpPost: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
body string [optional]
content_type string [optional]
f_plugin string [optional]
f_api_key string [optional]
f_secret_key string [optional]

Return type

void (empty response body)

Authorization

apikeyAuth

HTTP request headers

  • Content-Type: /
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

apiV4SeriesCreatePost

apiV4SeriesCreatePost($body, $content_type, $f_plugin, $f_api_key, $f_secret_key)

Crear nueva serie

Método para listar las series disponibles.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: apikeyAuth
$config = FacturaCom\FacturaComSdk\Configuration::getDefaultConfiguration()
              ->setUsername('YOUR_USERNAME')
              ->setPassword('YOUR_PASSWORD');


$apiInstance = new FacturaCom\FacturaComSdk\Api\SeriesApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$body = "body_example"; // string | 
$content_type = "content_type_example"; // string | 
$f_plugin = "f_plugin_example"; // string | 
$f_api_key = "f_api_key_example"; // string | 
$f_secret_key = "f_secret_key_example"; // string | 

try {
    $apiInstance->apiV4SeriesCreatePost($body, $content_type, $f_plugin, $f_api_key, $f_secret_key);
} catch (Exception $e) {
    echo 'Exception when calling SeriesApi->apiV4SeriesCreatePost: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
body string [optional]
content_type string [optional]
f_plugin string [optional]
f_api_key string [optional]
f_secret_key string [optional]

Return type

void (empty response body)

Authorization

apikeyAuth

HTTP request headers

  • Content-Type: /
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

apiV4SeriesGet

apiV4SeriesGet($content_type, $f_plugin, $f_api_key, $f_secret_key)

Listar series

Método para listar las series disponibles.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: apikeyAuth
$config = FacturaCom\FacturaComSdk\Configuration::getDefaultConfiguration()
              ->setUsername('YOUR_USERNAME')
              ->setPassword('YOUR_PASSWORD');


$apiInstance = new FacturaCom\FacturaComSdk\Api\SeriesApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client(),
    $config
);
$content_type = "content_type_example"; // string | 
$f_plugin = "f_plugin_example"; // string | 
$f_api_key = "f_api_key_example"; // string | 
$f_secret_key = "f_secret_key_example"; // string | 

try {
    $apiInstance->apiV4SeriesGet($content_type, $f_plugin, $f_api_key, $f_secret_key);
} catch (Exception $e) {
    echo 'Exception when calling SeriesApi->apiV4SeriesGet: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
content_type string [optional]
f_plugin string [optional]
f_api_key string [optional]
f_secret_key string [optional]

Return type

void (empty response body)

Authorization

apikeyAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]