Trendsic Platform Service

<back to all web services

RecordsRequestsRequest

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


open class RecordsRequestsRequest
{
}

open class RecordsRequestsResponse
{
    open var ResponseStatus:ResponseStatus? = null
    open var Requests:ArrayList<RecordsRequestDto> = ArrayList<RecordsRequestDto>()
}

open class RecordsRequestDto
{
    open var RequestId:Int? = null
    open var RequestKey:String? = null
    open var Subject:String? = null
    open var Body:String? = null
    open var RequesterName:String? = null
    open var RequesterContact:String? = null
    open var Channel:String? = null
    open var ReceivedLabel:String? = null
    open var Status:String? = null
    open var ExtendedDays:Int? = null
    open var ItemsJson:String? = null
    open var LogJson:String? = null
    open var DueDate:String? = null
    open var DueDays:Int? = null
}

Kotlin RecordsRequestsRequest DTOs

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

HTTP + JSV

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

GET /v1/records/requests 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
		}
	},
	Requests: 
	[
		{
			RequestId: 0,
			RequestKey: String,
			Subject: String,
			Body: String,
			RequesterName: String,
			RequesterContact: String,
			Channel: String,
			ReceivedLabel: String,
			Status: String,
			ExtendedDays: 0,
			ItemsJson: String,
			LogJson: String,
			DueDate: String,
			DueDays: 0
		}
	]
}