| GET | /api/temporarylinkdetails/{DocumentID} | 
|---|
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports IDB.API.DMS.Operations
Namespace Global
    Namespace IDB.API.DMS.Operations
        Public Partial Class GetTemporaryLinkDetails
            Public Overridable Property DocumentID As Guid
        End Class
        Public Partial Class TemporaryLinkDetailsResponse
            Public Overridable Property Title As String
            Public Overridable Property Message As String
            Public Overridable Property SubMessage As String
            Public Overridable Property NumberOfAttachments As Integer
            Public Overridable Property TotalSizeInBytes As UInt64
            Public Overridable Property IsValid As Boolean
        End Class
    End Namespace
End Namespace
VB.NET GetTemporaryLinkDetails DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /api/temporarylinkdetails/{DocumentID} HTTP/1.1 
Host: doapigw.baasbv.nl 
Accept: application/xml
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <TemporaryLinkDetailsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IDB.API.DMS.Operations"> <IsValid>false</IsValid> <Message>String</Message> <NumberOfAttachments>0</NumberOfAttachments> <SubMessage>String</SubMessage> <Title>String</Title> <TotalSizeInBytes>0</TotalSizeInBytes> </TemporaryLinkDetailsResponse>