POST | /RestApi/sitefinity/data-intelligence/enable-content-analysis |
---|
namespace Telerik.Sitefinity.DataIntelligenceConnector.Services
open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type DECEnableContentAnalysisDto() =
member val Progress:Int32 = new Int32() with get,set
member val DataCenterApiKey:String = null with get,set
member val SiteNames:ResizeArray<String> = new ResizeArray<String>() with get,set
member val StatusMessage:String = null with get,set
F# DECEnableContentAnalysisDto 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.
POST /RestApi/sitefinity/data-intelligence/enable-content-analysis HTTP/1.1
Host: www.asg.com.au
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
Progress: 0,
DataCenterApiKey: String,
SiteNames:
[
String
],
StatusMessage: String
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { Progress: 0, DataCenterApiKey: String, SiteNames: [ String ], StatusMessage: String }