| POST,OPTIONS | /v1/integrations/{Provider}/{Action} |
|---|
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*
open class IntegrationsActionRequest
{
open var Provider:String? = null
open var Action:String? = null
open var ApiKey:String? = null
open var FromDate:String? = null
open var ToDate:String? = null
}
open class IntegrationsActionResponse
{
open var Ok:Boolean? = null
open var Message:String? = null
open var Url:String? = null
open var Provider:ProviderView? = null
open var ResponseStatus:ResponseStatus? = null
}
open class ProviderView
{
open var Key:String? = null
open var Name:String? = null
open var Category:String? = null
open var Blurb:String? = null
open var Mono:String? = null
open var AuthMode:String? = null
open var Available:Boolean? = null
open var Status:String? = null
open var Health:String? = null
open var StatusDetail:String? = null
open var AccountLabel:String? = null
open var Environment:String? = null
open var LastActivityAt:Date? = null
open var ManageRoute:String? = null
open var Actions:ArrayList<String> = ArrayList<String>()
}
Kotlin IntegrationsActionRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /v1/integrations/{Provider}/{Action} HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"Provider":"String","Action":"String","ApiKey":"String","FromDate":"String","ToDate":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"Ok":false,"Message":"String","Url":"String","Provider":{"Key":"String","Name":"String","Category":"String","Blurb":"String","Mono":"String","AuthMode":"String","Available":false,"Status":"String","Health":"String","StatusDetail":"String","AccountLabel":"String","Environment":"String","LastActivityAt":"0001-01-01T00:00:00.0000000","ManageRoute":"String","Actions":["String"]},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}