DigiOffice Gateway Web Services

<back to all web services

GetRegistrationprofileDetailsWithQueuedDocumentAsNewVersion

Requires Authentication
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports IDB.API.DTO.Registrationprofile.Operations
Imports IDB.API.DTO.Registrationprofile
Imports IDB.Core.Diagnostics.Interfaces
Imports IDB.Core.Diagnostics

Namespace Global

    Namespace IDB.API.DTO.Registrationprofile

        Public Partial Class Registrationprofile
            Public Overridable Property ID As Guid
            Public Overridable Property Name As String
            Public Overridable Property Hint As String
            Public Overridable Property Order As Integer
            Public Overridable Property RegisterAutomatically As Boolean
            Public Overridable Property RegisterInBackground As Boolean
            Public Overridable Property ThumbnailUrl As String
            Public Overridable Property ProgCode As String
            Public Overridable Property VersionControlType As Integer
            Public Overridable Property WOPlaceLogo As Integer
            Public Overridable Property WOPrinterBins As String
            Public Overridable Property SelectAllFiles As Boolean
        End Class

        Public Partial Class RegistrationprofileDetails
            Inherits Registrationprofile
            Public Sub New()
                Steps = New List(Of RegistrationprofileStep)
                Messages = New List(Of InformationMessageBase)
            End Sub

            Public Overridable Property Steps As List(Of RegistrationprofileStep)
            Public Overridable Property Messages As List(Of InformationMessageBase)
            Public Overridable Property ReadOnly As Boolean
        End Class

        Public Partial Class RegistrationprofileField
            Public Sub New()
                UserControlProperties = New List(Of SerializableKeyValuePair(Of String,Object))
            End Sub

            Public Overridable Property ID As Guid
            Public Overridable Property DocumentFieldID As Guid
            Public Overridable Property Label As String
            Public Overridable Property UserControlType As String
            Public Overridable Property UserControlProperties As List(Of SerializableKeyValuePair(Of String,Object))
            Public Overridable Property Hint As String
            Public Overridable Property Order As Integer
            Public Overridable Property HasDependableFields As Boolean
            Public Overridable Property EntityName As String
            Public Overridable Property State As RegistrationProfileFieldStateBase
        End Class

        Public Partial Class RegistrationProfileFieldStateBase
            Public Overridable Property DocumentFieldID As Guid
            Public Overridable Property Required As Boolean
            Public Overridable Property Visible As Boolean
            Public Overridable Property Readonly As Boolean
        End Class

        Public Partial Class RegistrationprofileGroup
            Public Sub New()
                Fields = New List(Of RegistrationprofileField)
            End Sub

            Public Overridable Property ID As Guid
            Public Overridable Property Name As String
            Public Overridable Property Label As String
            Public Overridable Property Order As Integer
            Public Overridable Property ColumnIndex As Integer
            Public Overridable Property Fields As List(Of RegistrationprofileField)
            Public Overridable Property LabelLayoutType As Integer
        End Class

        Public Partial Class RegistrationprofileStep
            Public Sub New()
                Groups = New List(Of RegistrationprofileGroup)
            End Sub

            Public Overridable Property ID As Guid
            Public Overridable Property Name As String
            Public Overridable Property Order As Integer
            Public Overridable Property Layout As RegistrationprofileStep.RegistrationprofileStepLayout
            Public Overridable Property Groups As List(Of RegistrationprofileGroup)

            Public Enum RegistrationprofileStepLayout
                OneColumn_12
                TwoColumn_6_6
                TwoColumn_7_5
                ThreeColumn_4_4_4
            End Enum
        End Class
    End Namespace

    Namespace IDB.API.DTO.Registrationprofile.Operations

        Public Partial Class GetRegistrationprofileDetailsWithQueuedDocumentAsNewVersion
            Public Overridable Property DocumentID As Guid
            Public Overridable Property QueueDocumentId As Integer
            Public Overridable Property IsOffice365Context As Boolean
        End Class
    End Namespace

    Namespace IDB.Core.Diagnostics

        Public Enum MessageType
            Information = 1
            Warning = 2
            [Error] = 3
            Success = 4
        End Enum
    End Namespace

    Namespace IDB.Core.Diagnostics.Interfaces

        Public Partial Class InformationMessageBase
            Implements IInformationMessage
            Public Overridable Property Type As MessageType
            Public Overridable Property Summary As String
            Public Overridable Property FullMessage As String
            Public Overridable Property FieldName As String
            Public Overridable Property KeepOpen As Boolean
        End Class
    End Namespace
End Namespace

VB.NET GetRegistrationprofileDetailsWithQueuedDocumentAsNewVersion DTOs

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

HTTP + CSV

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

POST /csv/reply/GetRegistrationprofileDetailsWithQueuedDocumentAsNewVersion HTTP/1.1 
Host: digiofficeapigateway.deltares.nl 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"DocumentID":"00000000-0000-0000-0000-000000000000","QueueDocumentId":0,"IsOffice365Context":false}
HTTP/1.1 200 OK
Content-Type: text/csv
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}]}],"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}