Trendsic Platform Service

<back to all web services

RecordsSettingsSaveRequest

Requires Authentication
The following routes are available for this service:
PATCH,PUT,OPTIONS/v1/records/settings
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*


open class RecordsSettingsSaveRequest
{
    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 class RecordsOkResponse
{
    open var ResponseStatus:ResponseStatus? = null
    open var Ok:Boolean? = null
    open var Id:Int? = null
    open var Key:String? = null
    open var Matches:ArrayList<String> = ArrayList<String>()
}

Kotlin RecordsSettingsSaveRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

PUT /v1/records/settings HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"ThresholdsJson":"String","VendorsJson":"String","ArchivalJson":"String","PoliciesJson":"String","VisibilityJson":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Ok":false,"Id":0,"Key":"String","Matches":["String"]}