GET | /api/temporarylinkdetails/{DocumentID} |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class GetTemporaryLinkDetails
{
public UUID DocumentID = null;
public UUID getDocumentID() { return DocumentID; }
public GetTemporaryLinkDetails setDocumentID(UUID value) { this.DocumentID = value; return this; }
}
public static class TemporaryLinkDetailsResponse
{
public String Title = null;
public String Message = null;
public String SubMessage = null;
public Integer NumberOfAttachments = null;
public BigInteger TotalSizeInBytes = null;
public Boolean IsValid = null;
public String getTitle() { return Title; }
public TemporaryLinkDetailsResponse setTitle(String value) { this.Title = value; return this; }
public String getMessage() { return Message; }
public TemporaryLinkDetailsResponse setMessage(String value) { this.Message = value; return this; }
public String getSubMessage() { return SubMessage; }
public TemporaryLinkDetailsResponse setSubMessage(String value) { this.SubMessage = value; return this; }
public Integer getNumberOfAttachments() { return NumberOfAttachments; }
public TemporaryLinkDetailsResponse setNumberOfAttachments(Integer value) { this.NumberOfAttachments = value; return this; }
public BigInteger getTotalSizeInBytes() { return TotalSizeInBytes; }
public TemporaryLinkDetailsResponse setTotalSizeInBytes(BigInteger value) { this.TotalSizeInBytes = value; return this; }
public Boolean getIsValid() { return IsValid; }
public TemporaryLinkDetailsResponse setIsValid(Boolean value) { this.IsValid = value; return this; }
}
}
Java GetTemporaryLinkDetails DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
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: digiofficeapigateway.deltares.nl Accept: text/jsv
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { Title: String, Message: String, SubMessage: String, NumberOfAttachments: 0, TotalSizeInBytes: 0, IsValid: False }