DigiOffice API Services Services

<back to all web services

GetRegistrationprofileDetailsWithStandardDocument

Requires Authentication
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*


open class GetRegistrationprofileDetailsWithStandardDocument
{
    open var StandardDocumentID:UUID? = null
    open var IsOffice365Context:Boolean? = null
}

open class RegistrationprofileDetails : Registrationprofile()
{
    open var Steps:ArrayList<RegistrationprofileStep>? = null
    open var Messages:ArrayList<InformationMessageBase>? = null
    open var ReadOnly:Boolean? = null
}

open class Registrationprofile
{
    open var ID:UUID? = null
    open var Name:String? = null
    open var Hint:String? = null
    open var Order:Int? = null
    open var RegisterAutomatically:Boolean? = null
    open var RegisterInBackground:Boolean? = null
    open var ThumbnailUrl:String? = null
    open var ProgCode:String? = null
    open var VersionControlType:Int? = null
    open var WOPlaceLogo:Int? = null
    open var WOPrinterBins:String? = null
    open var SelectAllFiles:Boolean? = null
    open var ShowSaveDialog:Boolean? = null
}

open class RegistrationprofileStep
{
    open var ID:UUID? = null
    open var Name:String? = null
    open var Order:Int? = null
    open var Layout:RegistrationprofileStepLayout? = null
    open var Groups:ArrayList<RegistrationprofileGroup>? = null
}

enum class RegistrationprofileStepLayout
{
    OneColumn12,
    TwoColumn66,
    TwoColumn75,
    ThreeColumn444,
}

open class RegistrationprofileGroup
{
    open var ID:UUID? = null
    open var Name:String? = null
    open var Label:String? = null
    open var Order:Int? = null
    open var ColumnIndex:Int? = null
    open var Fields:ArrayList<RegistrationprofileField>? = null
    open var LabelLayoutType:Int? = null
    open var State:RegistrationprofileGroupState? = null
}

open class RegistrationprofileField
{
    open var ID:UUID? = null
    open var DocumentFieldID:UUID? = null
    open var Label:String? = null
    open var UserControlType:String? = null
    open var UserControlProperties:ArrayList<SerializableKeyValuePair<String,Object>>? = null
    open var Hint:String? = null
    open var Order:Int? = null
    open var HasDependableFields:Boolean? = null
    open var EntityName:String? = null
    open var State:RegistrationProfileFieldStateBase? = null
}

open class RegistrationProfileFieldStateBase : FieldState()
{
    open var DocumentFieldID:UUID? = null
}

open class FieldState
{
    open var Required:Boolean? = null
    open var Visible:Boolean? = null
    open var Readonly:Boolean? = null
}

open class RegistrationprofileGroupState
{
    open var Collapsed:Boolean? = null
}

open class InformationMessageBase : IInformationMessage
{
    override var Type:MessageType? = null
    override var Summary:String? = null
    override var FullMessage:String? = null
    override var FieldName:String? = null
    override var KeepOpen:Boolean? = null
}

enum class MessageType(val value:Int)
{
    Information(1),
    Warning(2),
    Error(3),
    Success(4),
}

Kotlin GetRegistrationprofileDetailsWithStandardDocument DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/reply/GetRegistrationprofileDetailsWithStandardDocument HTTP/1.1 
Host: test-do-services.klokgroep.nl 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"StandardDocumentID":"00000000-0000-0000-0000-000000000000","IsOffice365Context":false}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Steps":[{"ID":"00000000-0000-0000-0000-000000000000","Name":"String","Order":0,"Layout":"OneColumn_12","Groups":[{"ID":"00000000-0000-0000-0000-000000000000","Name":"String","Label":"String","Order":0,"ColumnIndex":0,"Fields":[{"ID":"00000000-0000-0000-0000-000000000000","DocumentFieldID":"00000000-0000-0000-0000-000000000000","Label":"String","UserControlType":"String","UserControlProperties":[{}],"Hint":"String","Order":0,"HasDependableFields":false,"EntityName":"String","State":{"DocumentFieldID":"00000000-0000-0000-0000-000000000000","Required":false,"Visible":false,"Readonly":false}}],"LabelLayoutType":0,"State":{"Collapsed":false}}]}],"Messages":[{}],"ReadOnly":false,"ID":"00000000-0000-0000-0000-000000000000","Name":"String","Hint":"String","Order":0,"RegisterAutomatically":false,"RegisterInBackground":false,"ThumbnailUrl":"String","ProgCode":"String","VersionControlType":0,"WOPlaceLogo":0,"WOPrinterBins":"String","SelectAllFiles":false,"ShowSaveDialog":false}