Skip to content

Latest commit

 

History

History
185 lines (109 loc) · 6.52 KB

SiaConversionApi.md

File metadata and controls

185 lines (109 loc) · 6.52 KB

\SiaConversionApi

All URIs are relative to https://avacloud-api.dangl-it.com

Method HTTP request Description
SiaConversionConvertToAva Post /conversion/sia/ava Converts SIA 451 files to Dangl.AVA projects
SiaConversionConvertToExcel Post /conversion/sia/excel Converts SIA 451 files to Excel
SiaConversionConvertToGaeb Post /conversion/sia/gaeb Converts SIA 451 files to GAEB files
SiaConversionConvertToOenorm Post /conversion/sia/oenorm Converts SIA 451 files to Oenorm files

SiaConversionConvertToAva

ProjectDto SiaConversionConvertToAva(ctx, optional)

Converts SIA 451 files to Dangl.AVA projects

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
optional *SiaConversionConvertToAvaOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a SiaConversionConvertToAvaOpts struct

Name Type Description Notes
removePlainTextLongTexts optional.Bool If set to true, plain text long texts will be removed from the output to reduce response sizes
removeHtmlLongTexts optional.Bool If set to true, html long texts will be removed from the output to reduce response sizes
siaFile *optional.Interface of os.File***optional.os.File The input file

Return type

ProjectDto

Authorization

Dangl.Identity

HTTP request headers

  • Content-Type: multipart/form-data
  • Accept: application/vnd.com.dangl-it.ProjectDto.v1+json, application/problem+json

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

SiaConversionConvertToExcel

*os.File SiaConversionConvertToExcel(ctx, optional)

Converts SIA 451 files to Excel

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
optional *SiaConversionConvertToExcelOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a SiaConversionConvertToExcelOpts struct

Name Type Description Notes
writePrices optional.Bool Defaults to true
writeLongTexts optional.Bool Defaults to true
conversionCulture optional.String The culture that should be used for the conversion process, to have localized Excel files
siaFile *optional.Interface of os.File***optional.os.File The input file

Return type

*os.File

Authorization

Dangl.Identity

HTTP request headers

  • Content-Type: multipart/form-data
  • Accept: text/plain, application/json, text/json, application/problem+json

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

SiaConversionConvertToGaeb

*os.File SiaConversionConvertToGaeb(ctx, optional)

Converts SIA 451 files to GAEB files

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
optional *SiaConversionConvertToGaebOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a SiaConversionConvertToGaebOpts struct

Name Type Description Notes
destinationGaebType optional.String Defaults to GAEB XML V3.2
targetExchangePhaseTransform optional.String Defaults to none, meaning no transformation will be done
siaFile *optional.Interface of os.File***optional.os.File The input file

Return type

*os.File

Authorization

Dangl.Identity

HTTP request headers

  • Content-Type: multipart/form-data
  • Accept: text/plain, application/json, text/json, application/problem+json

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

SiaConversionConvertToOenorm

*os.File SiaConversionConvertToOenorm(ctx, optional)

Converts SIA 451 files to Oenorm files

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
optional *SiaConversionConvertToOenormOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a SiaConversionConvertToOenormOpts struct

Name Type Description Notes
destinationOenormType optional.String Defaults to Lv2015
tryRepairProjectStructure optional.Bool Defaults to false. If this is enabled, the converter will try to ensure that the project structure can be mapped to Oenorm. It might introduce additional group levels to ensure a compatible target
siaFile *optional.Interface of os.File***optional.os.File The input file

Return type

*os.File

Authorization

Dangl.Identity

HTTP request headers

  • Content-Type: multipart/form-data
  • Accept: text/plain, application/json, text/json, application/problem+json

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