AVACloud API specification
This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.
- API version: 1.16.0
- Package version: 1.16.0
- Build package: org.openapitools.codegen.languages.GoClientCodegen
Install the following dependencies:
go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context
go get github.com/antihax/optional
Put the package under your project folder and add the following in import:
import "./avaclient"
All URIs are relative to https://avacloud-api.dangl-it.com
Class | Method | HTTP request | Description |
---|---|---|---|
AslvConversionApi | AslvConversionConvertToAva | Post /conversion/aslv/ava | Converts Aslv files to Dangl.AVA projects |
AslvConversionApi | AslvConversionConvertToExcel | Post /conversion/aslv/excel | Converts Aslv files to Excel |
AslvConversionApi | AslvConversionConvertToGaeb | Post /conversion/aslv/gaeb | Converts Aslv files to GAEB files |
AslvConversionApi | AslvConversionConvertToOenorm | Post /conversion/aslv/oenorm | Converts Aslv files to Oenorm files |
AvaConversionApi | AvaConversionConvertToAva | Post /conversion/ava/ava | Converts Dangl.AVA projects to Dangl.AVA. This is useful when you want to generate the calculated properties. |
AvaConversionApi | AvaConversionConvertToExcel | Post /conversion/ava/excel | Converts Dangl.AVA projects to Excel |
AvaConversionApi | AvaConversionConvertToGaeb | Post /conversion/ava/gaeb | Converts Dangl.AVA projects to GAEB |
AvaConversionApi | AvaConversionConvertToOenorm | Post /conversion/ava/oenorm | Converts Dangl.AVA projects to Oenorm |
AvaConversionApi | AvaConversionConvertToReb | Post /conversion/ava/reb | Converts Dangl.AVA projects to REB |
AvaConversionApi | AvaConversionConvertToSia | Post /conversion/ava/sia | Converts Dangl.AVA projects to SIA 451 |
DanglIdentityApi | DanglIdentityLoginAndReturnToken | Post /identity/token-login | |
DanglIdentityApi | DanglIdentityLoginWithCookie | Post /identity/login | |
DanglIdentityApi | DanglIdentityRefreshToken | Post /identity/token-refresh | |
DanglIdentityApi | DanglIdentityRegister | Post /identity/register | |
DanglIdentityApi | DanglIdentityRequestPasswordReset | Post /identity/password-forgotten | |
DanglIdentityApi | DanglIdentitySignOutWithSignInManager | Delete /identity/login | |
ExcelConversionApi | ExcelConversionConvertToAva | Post /conversion/excel/ava | Converts Excel files to Dangl.AVA projects. |
ExcelConversionApi | ExcelConversionConvertToExcel | Post /conversion/excel/excel | Converts Excel files to Excel files. Used, for example, when elements were added in excel to generate or modify a project. The Excel file can then be shared containing the full project with all formattings, formulas and styles applied. |
ExcelConversionApi | ExcelConversionConvertToGaeb | Post /conversion/excel/gaeb | Converts Excel files to GAEB files. |
ExcelConversionApi | ExcelConversionConvertToOenorm | Post /conversion/excel/oenorm | Converts Excel files to Oenorm files. |
GaebConversionApi | GaebConversionConvertToAva | Post /conversion/gaeb/ava | Converts GAEB files to Dangl.AVA projects |
GaebConversionApi | GaebConversionConvertToExcel | Post /conversion/gaeb/excel | Converts GAEB files to Excel |
GaebConversionApi | GaebConversionConvertToGaeb | Post /conversion/gaeb/gaeb | Converts GAEB files to GAEB files. Used for example when transforming or repairing GAEB files. |
GaebConversionApi | GaebConversionConvertToOenorm | Post /conversion/gaeb/oenorm | Converts GAEB files to Oenorm files |
OenormConversionApi | OenormConversionConvertToAva | Post /conversion/oenorm/ava | Converts ÖNorm files to Dangl.AVA projects |
OenormConversionApi | OenormConversionConvertToExcel | Post /conversion/oenorm/excel | Converts ÖNorm files to Excel |
OenormConversionApi | OenormConversionConvertToGaeb | Post /conversion/oenorm/gaeb | Converts ÖNorm files to GAEB files. |
OenormConversionApi | OenormConversionConvertToOenorm | Post /conversion/oenorm/oenorm | Converts ÖNorm files to Oenorm files. |
RebConversionApi | RebConversionConvertToAva | Post /conversion/reb/ava | Converts REB files to Dangl.AVA projects |
RebConversionApi | RebConversionConvertToExcel | Post /conversion/reb/excel | Converts REB files to Excel |
RebConversionApi | RebConversionConvertToGaeb | Post /conversion/reb/gaeb | Converts REB files to GAEB files |
RebConversionApi | RebConversionConvertToOenorm | Post /conversion/reb/oenorm | Converts REB files to Oenorm |
SiaConversionApi | SiaConversionConvertToAva | Post /conversion/sia/ava | Converts SIA 451 files to Dangl.AVA projects |
SiaConversionApi | SiaConversionConvertToExcel | Post /conversion/sia/excel | Converts SIA 451 files to Excel |
SiaConversionApi | SiaConversionConvertToGaeb | Post /conversion/sia/gaeb | Converts SIA 451 files to GAEB files |
SiaConversionApi | SiaConversionConvertToOenorm | Post /conversion/sia/oenorm | Converts SIA 451 files to Oenorm files |
StatusApi | StatusGetStatus | Get /status | Reports the health status of the AVACloud API |
- AdditionTypeDto
- ApiError
- ArticleDataDto
- AwardTypeDto
- BankingInformationDto
- CalculationDto
- CatalogueDto
- CatalogueReferenceDto
- CatalogueTypeDto
- ComissionStatusDto
- CommercePropertiesDto
- ComplementedByQuantityDto
- DestinationGaebExchangePhase
- DestinationGaebType
- DestinationOenormType
- DurationUnitDto
- ExchangePhaseDto
- ExecutionDescriptionDto
- ExecutionDescriptionDtoAllOf
- ForgotPasswordPost
- GetStatus
- GrossPriceComponentDto
- HttpStatusCode
- IElementDto
- ItemNumberDto
- ItemNumberSchemaDto
- ItemNumberSchemaTierDto
- ItemNumberSchemaTierTypeDto
- ItemNumberTypeDto
- LabourPriceComponentDto
- LoginPost
- NoteTextDto
- NoteTextDtoAllOf
- OriginDto
- PartyInformationDto
- PositionDto
- PositionDtoAllOf
- PositionTypeDto
- PriceComponentDto
- PriceInformationDto
- PriceRoundingModeDto
- PriceTypeDto
- ProductDataDto
- ProjectDto
- ProjectInformationDto
- QuantityAssignmentDto
- RegisterPost
- ResponseErrorType
- ServiceSpecificationDto
- ServiceSpecificationGroupDto
- ServiceSpecificationGroupDtoAllOf
- ServiceTypeDto
- SpecialAwardKindDto
- StandardReferenceTypeDto
- StandardizedDescriptionDto
- StlbKeyDto
- StlbReferenceDto
- SubDescriptionDto
- TokenLoginPost
- TokenRefreshPost
- TokenResponseGet
- TradeDiscountDto
- WarrantyDurationDto
- Type: OAuth
- Flow: implicit
- Authorization URL: https://identity.dangl-it.com/connect/authorize
- Scopes:
- avacloud: Access to the AVACloud API
Example
auth := context.WithValue(context.Background(), sw.ContextAccessToken, "ACCESSTOKENSTRING")
r, err := client.Service.Operation(auth, args)
Or via OAuth2 module to automatically refresh tokens and perform user authentication.
import "golang.org/x/oauth2"
/* Perform OAuth2 round trip request and obtain a token */
tokenSource := oauth2cfg.TokenSource(createContext(httpClient), &token)
auth := context.WithValue(oauth2.NoContext, sw.ContextOAuth2, tokenSource)
r, err := client.Service.Operation(auth, args)