POST | /RestApi/Sitefinity/packaging/export-for-packaging |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class ExportForAddonConfigurationMessage
{
public ArrayList<String> StructureExportConfiguration = null;
public ArrayList<String> ContentExportConfiguration = null;
public String ExportDirectory = null;
public ArrayList<String> getStructureExportConfiguration() { return StructureExportConfiguration; }
public ExportForAddonConfigurationMessage setStructureExportConfiguration(ArrayList<String> value) { this.StructureExportConfiguration = value; return this; }
public ArrayList<String> getContentExportConfiguration() { return ContentExportConfiguration; }
public ExportForAddonConfigurationMessage setContentExportConfiguration(ArrayList<String> value) { this.ContentExportConfiguration = value; return this; }
public String getExportDirectory() { return ExportDirectory; }
public ExportForAddonConfigurationMessage setExportDirectory(String value) { this.ExportDirectory = value; return this; }
}
}
Java ExportForAddonConfigurationMessage DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /RestApi/Sitefinity/packaging/export-for-packaging HTTP/1.1
Host: www.asg.com.au
Accept: application/json
Content-Type: application/json
Content-Length: length
{"ExportDirectory":"String"}