dangl / avacloud
Installs: 29 973
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 2
Open Issues: 0
Requires
- php: >=5.5
- ext-curl: *
- ext-json: *
- ext-mbstring: *
- guzzlehttp/guzzle: ^7.4.4
Requires (Dev)
- friendsofphp/php-cs-fixer: ~2.6
- phpunit/phpunit: ^4.8
- squizlabs/php_codesniffer: ~2.6
This package is auto-updated.
Last update: 2024-11-28 19:48:49 UTC
README
Please see the offical site for more information and further documentation: https://www.dangl-it.com/products/avacloud-gaeb-saas/
To get started, you can use the PHP demo application: https://github.com/Dangl-IT/avacloud-demo-php
AVACloud API specification
This PHP package is automatically generated by the Swagger Codegen project:
- API version: 1.52.1
- Package version: 1.52.1
- Build package: io.swagger.codegen.languages.PhpClientCodegen
Requirements
PHP 5.5 and later
Installation & Usage
Composer
To install the bindings via Composer, add the following to composer.json
:
{
"repositories": [
{
"type": "git",
"url": "https://github.com/Dangl-IT/avacloud-client-php.git"
}
],
"require": {
"dangl/avacloud": "*@dev"
}
}
Then run composer install
Manual Installation
Download the files and include autoload.php
:
require_once('/path/to/Dangl\AVACloud/vendor/autoload.php');
Tests
To run the unit tests:
composer install
./vendor/bin/phpunit
Getting Started
Please follow the installation procedure and then run the following:
<?php require_once(__DIR__ . '/vendor/autoload.php'); // Configure OAuth2 access token for authorization: Dangl.Identity $config = Dangl\AVACloud\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); $apiInstance = new Dangl\AVACloud\Api\AslvConversionApi( // 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 ); $aslv_file = "/path/to/file.txt"; // \SplFileObject | The input file $remove_plain_text_long_texts = true; // bool | If set to true, plain text long texts will be removed from the output to reduce response sizes $remove_html_long_texts = true; // bool | If set to true, html long texts will be removed from the output to reduce response sizes try { $result = $apiInstance->aslvConversionConvertToAva($aslv_file, $remove_plain_text_long_texts, $remove_html_long_texts); print_r($result); } catch (Exception $e) { echo 'Exception when calling AslvConversionApi->aslvConversionConvertToAva: ', $e->getMessage(), PHP_EOL; } ?>
Documentation for API Endpoints
All URIs are relative to https://avacloud-api.dangl-it.com
Documentation For Models
- AddendumStatusDto
- AdditionTypeDto
- ApiError
- ArticleDataDto
- AttachmentMimeType
- AvaProjectWrapper
- AwardTypeDto
- BankingInformationDto
- CalculationDto
- CatalogueDto
- CatalogueReferenceDto
- CatalogueTypeDto
- ClaimGet
- ComissionStatusDto
- CommerceInquiryTypeDto
- CommercePropertiesDto
- ComplementedByQuantityDto
- DatanormDestinationVersion
- DestinationGaebExchangePhase
- DestinationGaebType
- DestinationOenormType
- DestinationRebType
- DurationUnitDto
- ExchangePhaseDto
- ExecutionDescriptionDto
- FileValidationSourceType
- FlatAvaProject
- FlatElementDto
- ForgotPasswordPost
- GetStatus
- GrossPriceComponentDto
- HoldOutDurationUnitDto
- HoldOutTypeDto
- HttpStatusCode
- IElementDto
- IdsConnectVersion
- Invoice
- InvoiceAllowance
- InvoiceCharge
- InvoiceLineItem
- InvoiceNote
- InvoicePeriod
- InvoiceTotals
- InvoiceType
- ItemNumberDto
- ItemNumberSchemaDto
- ItemNumberSchemaTierDto
- ItemNumberSchemaTierTypeDto
- ItemNumberTypeDto
- LabourPriceComponentDto
- LineItemAllowance
- LineItemAttribute
- LineItemCharge
- LineItemInformation
- LineItemPriceDetail
- LineItemVatInformation
- LoginPost
- NoteTextDto
- ObjectValidationCheckDetails
- OenormNoteTextPropertiesDto
- OenormOriginCodeDto
- OenormPositionPropertiesDto
- OenormPropertiesDto
- Organization
- OriginDto
- PartyInformationDto
- Payee
- PaymentInstructions
- PaymentMeans
- PositionComplementingTypeDto
- PositionDto
- PositionHoldOutPropertiesDto
- PositionTypeDto
- PostAvaProjectValidationSourceOptions
- PostAvaSourceOptions
- PostGaebDestinationOptions
- PostOenormDestinationOptions
- PreviousInvoice
- PriceCatalogueDataDto
- PriceComponentDto
- PriceComponentTypeDto
- PriceInformationDto
- PriceRoundingModeDto
- PriceTypeDto
- ProductDataDto
- ProjectDto
- ProjectInformationDto
- ProjectValidationCheckDetails
- QuantityAssignmentDto
- References
- RegisterPost
- ResponseErrorType
- STLBKeyDto
- STLBReferenceDto
- ServiceSpecificationCommercePropertiesDto
- ServiceSpecificationDto
- ServiceSpecificationGroupDto
- ServiceTypeDto
- SiaDestinationType
- SourceType
- SpecialAwardKindDto
- StandardReferenceTypeDto
- StandardizedDescriptionDto
- SubDescriptionDto
- SupportingDocument
- TokenLoginPost
- TokenRefreshPost
- TokenResponseGet
- TradeDiscountDto
- UglDestinationVersion
- UserInfoGet
- ValidationCheckResult
- ValidationCheckType
- ValidationResult
- ValidationSeverity
- ValidationType
- VatBreakdown
- VatCategory
- WarrantyDurationDto
- XmlSchemaValidationCheckDetails
Documentation For Authorization
Dangl.Identity
- Type: OAuth
- Flow: implicit
- Authorization URL: https://identity.dangl-it.com/connect/authorize
- Scopes:
- avacloud: Access to the AVACloud API