| GET | /{WorkspaceId}/Document/{DocumentId}/EmailPreview |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class DocumentEmailPreview
{
public String WorkspaceId = null;
public String DocumentId = null;
public String getWorkspaceId() { return WorkspaceId; }
public DocumentEmailPreview setWorkspaceId(String value) { this.WorkspaceId = value; return this; }
public String getDocumentId() { return DocumentId; }
public DocumentEmailPreview setDocumentId(String value) { this.DocumentId = value; return this; }
}
}
Java DocumentEmailPreview 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 /{WorkspaceId}/Document/{DocumentId}/EmailPreview HTTP/1.1
Host: dev.fieldsquared.com
Accept: application/xml