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
Namespace Global
Namespace IDB.API.DTO.Registrationprofile
Public Partial Class RegistrationProfileFieldValue
Public Overridable Property DocumentFieldID As Guid
Public Overridable Property Value As String
Public Overridable Property ShadowValue As String
Public Overridable Property IsModifiedByUser As Boolean
End Class
End Namespace
Namespace IDB.API.DTO.Registrationprofile.Operations
Public Partial Class GetMultiRegistrationProfileFieldStates
Public Sub New()
MultiRegistrationProfileFieldStates = New List(Of GetRegistrationprofileFieldStates)
End Sub
Public Overridable Property MultiRegistrationProfileFieldStates As List(Of GetRegistrationprofileFieldStates)
End Class
Public Partial Class GetRegistrationprofileFieldStates
Public Sub New()
RequestTriggeredByDependentDocumentFieldIds = New List(Of Guid)
CurrentRegistrationprofileFieldValues = New List(Of RegistrationProfileFieldValue)
End Sub
Public Overridable Property RegistrationprofileID As Guid
Public Overridable Property DocumentID As Nullable(Of Guid)
Public Overridable Property QueueDocumentID As Nullable(Of Integer)
Public Overridable Property StandardDocumentID As Nullable(Of Guid)
Public Overridable Property RequestTriggeredByDependentDocumentFieldIds As List(Of Guid)
Public Overridable Property CurrentRegistrationprofileFieldValues As List(Of RegistrationProfileFieldValue)
Public Overridable Property IsOffice365Context As Boolean
Public Overridable Property IsOpenedFromNonDMSLocation As Nullable(Of Boolean)
Public Overridable Property PidTag As String
End Class
End Namespace
End Namespace
VB.NET GetMultiRegistrationProfileFieldStates DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /jsonl/reply/GetMultiRegistrationProfileFieldStates HTTP/1.1
Host: doapigw.baasbv.nl
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"MultiRegistrationProfileFieldStates":[{"RegistrationprofileID":"00000000-0000-0000-0000-000000000000","DocumentID":"00000000-0000-0000-0000-000000000000","QueueDocumentID":0,"StandardDocumentID":"00000000-0000-0000-0000-000000000000","RequestTriggeredByDependentDocumentFieldIds":["00000000-0000-0000-0000-000000000000"],"CurrentRegistrationprofileFieldValues":[{"DocumentFieldID":"00000000-0000-0000-0000-000000000000","Value":"String","ShadowValue":"String","IsModifiedByUser":false}],"IsOffice365Context":false,"IsOpenedFromNonDMSLocation":false,"PidTag":"String"}]}
HTTP/1.1 200 OK Content-Type: text/jsonl Content-Length: length [{"DocumentUploadID":0,"ReadOnly":false,"Messages":[{}],"ControlStates":[{"DocumentFieldID":"00000000-0000-0000-0000-000000000000","Required":false,"Visible":false,"Readonly":false}]}]