/* Options: Date: 2026-03-31 18:39:52 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://test-do-services.klokgroep.nl/api //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ImportData.* //ExcludeTypes: //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.* import java.util.* import java.io.InputStream import net.servicestack.client.* /** * Import entity data into DigiOffice (v1) */ @Route(Path="/importdata", Verbs="PUT") @Api(Description="Import entity data into DigiOffice (v1)") open class ImportData : IReturn { /** * Entityname in which the data will be imported */ @ApiMember(Description="Entityname in which the data will be imported", IsRequired=true) open var EntityType:String? = null /** * Reports errors with a reference to this field (for example ID) */ @ApiMember(Description="Reports errors with a reference to this field (for example ID)") open var ErrorField:String? = null /** * Should import continue on errors? (Default true) */ @ApiMember(Description="Should import continue on errors? (Default true)") open var ContinueOnError:Boolean? = null /** * Rows to be imported */ @ApiMember(Description="Rows to be imported", IsRequired=true) open var Rows:ArrayList = ArrayList() /** * Additional values to be imported on every row */ @ApiMember(Description="Additional values to be imported on every row") open var FixedValues:ArrayList? = null companion object { private val responseType = ImportResult::class.java } override fun getResponseType(): Any? = ImportData.responseType } open class ImportResult { open var TotalRows:Int? = null open var TotalAdded:Int? = null open var TotalUpdated:Int? = null open var SuccesfullRows:Int? = null open var ErrorRows:Int? = null open var Errors:ArrayList? = null } open class Row { open var Fields:ArrayList? = null } open class FixedValue { open var Name:String? = null open var Value:String? = null } open class ImportField { open var Name:String? = null open var Value:String? = null }