| GET | /RestApi/translations/connectors |
|---|
namespace Telerik.Sitefinity.Translations.Web.Services.Dto.Request
open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type XliffProxy() =
member val IsXliff:Boolean = new Boolean() with get,set
member val IsFtp:Boolean = new Boolean() with get,set
member val IsMachineTranslation:Boolean = new Boolean() with get,set
[<AllowNullLiteral>]
type LanguageProxy() =
member val Code:String = null with get,set
member val Name:String = null with get,set
member val Count:Int32 = new Int32() with get,set
[<AllowNullLiteral>]
type LanguagePairProxy() =
member val ActualSource:LanguageProxy = null with get,set
member val Target:LanguageProxy = null with get,set
[<AllowNullLiteral>]
type ConnectorProxy() =
member val Name:String = null with get,set
member val Title:String = null with get,set
member val Count:Int32 = new Int32() with get,set
member val Xliff:XliffProxy = null with get,set
member val SupportedLanguages:IEnumerable<LanguagePairProxy> = null with get,set
[<AllowNullLiteral>]
type ConnectorsProxy() =
member val Connectors:IEnumerable<ConnectorProxy> = null with get,set
member val LanguagesMapping:IDictionary<String, String> = null with get,set
[<AllowNullLiteral>]
type GetConnectors() =
class end
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.
GET /RestApi/translations/connectors HTTP/1.1 Host: www.imglobal.com Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{}