All Verbs | /RestApi/sitefinity/inlineediting/fieldValue |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class FieldValueMessage
{
public String DataItemId = null;
public String ItemType = null;
public String FieldType = null;
public String FieldName = null;
public String Provider = null;
public String getDataItemId() { return DataItemId; }
public FieldValueMessage setDataItemId(String value) { this.DataItemId = value; return this; }
public String getItemType() { return ItemType; }
public FieldValueMessage setItemType(String value) { this.ItemType = value; return this; }
public String getFieldType() { return FieldType; }
public FieldValueMessage setFieldType(String value) { this.FieldType = value; return this; }
public String getFieldName() { return FieldName; }
public FieldValueMessage setFieldName(String value) { this.FieldName = value; return this; }
public String getProvider() { return Provider; }
public FieldValueMessage setProvider(String value) { this.Provider = value; return this; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /RestApi/sitefinity/inlineediting/fieldValue HTTP/1.1
Host: www.asg.com.au
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"DataItemId":"String","ItemType":"String","FieldType":"String","FieldName":"String","Provider":"String"}