| GET,OPTIONS | /v1/records/settings |
|---|
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*
open class RecordsSettingsRequest
{
}
open class RecordsSettingsResponse
{
open var ResponseStatus:ResponseStatus? = null
open var Settings:RecordsSettingsDto? = null
}
open class RecordsSettingsDto
{
open var ThresholdsJson:String? = null
open var VendorsJson:String? = null
open var ArchivalJson:String? = null
open var PoliciesJson:String? = null
open var VisibilityJson:String? = null
open var WfBindings:ArrayList<WfBindingDto> = ArrayList<WfBindingDto>()
}
open class WfBindingDto
{
open var SourceKey:String? = null
open var WorkflowId:Int? = null
open var Name:String? = null
open var Paused:Boolean? = null
open var Runs30:Int? = null
open var Summary:String? = null
}
Kotlin RecordsSettingsRequest 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.
GET /v1/records/settings HTTP/1.1 Host: api.dev.dynamics.trendsic.com Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
},
Settings:
{
ThresholdsJson: String,
VendorsJson: String,
ArchivalJson: String,
PoliciesJson: String,
VisibilityJson: String,
WfBindings:
[
{
SourceKey: String,
WorkflowId: 0,
Name: String,
Paused: False,
Runs30: 0,
Summary: String
}
]
}
}