<back to all web services

MobileFormatDefinitionInfoDto

The following routes are available for this service:
PUT/RestApi/Sitefinity/mobile-formats/info
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class MobileFormatDefinitionInfoDto
    {
        public String SiteId = null;
        public String MobileFormatName = null;
        public Boolean Active = null;
        public String MobileDefinitionSettingName = null;
        public String MobileDefinitionTitle = null;
        
        public String getSiteId() { return SiteId; }
        public MobileFormatDefinitionInfoDto setSiteId(String value) { this.SiteId = value; return this; }
        public String getMobileFormatName() { return MobileFormatName; }
        public MobileFormatDefinitionInfoDto setMobileFormatName(String value) { this.MobileFormatName = value; return this; }
        public Boolean isActive() { return Active; }
        public MobileFormatDefinitionInfoDto setActive(Boolean value) { this.Active = value; return this; }
        public String getMobileDefinitionSettingName() { return MobileDefinitionSettingName; }
        public MobileFormatDefinitionInfoDto setMobileDefinitionSettingName(String value) { this.MobileDefinitionSettingName = value; return this; }
        public String getMobileDefinitionTitle() { return MobileDefinitionTitle; }
        public MobileFormatDefinitionInfoDto setMobileDefinitionTitle(String value) { this.MobileDefinitionTitle = value; return this; }
    }

}

Java MobileFormatDefinitionInfoDto DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

PUT /RestApi/Sitefinity/mobile-formats/info HTTP/1.1 
Host: www.asg.com.au 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"SiteId":"String","MobileFormatName":"String","Active":false,"MobileDefinitionSettingName":"String","MobileDefinitionTitle":"String"}