Trendsic Platform Service

<back to all web services

DispositionBatchesRequest

Requires Authentication
The following routes are available for this service:
GET,OPTIONS/v1/records/disposition/batches
namespace CRM.AgencyPlatform.API.Internal

open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    [<AllowNullLiteral>]
    type DispositionBatchDto() = 
        member val BatchId:Int32 = new Int32() with get,set
        member val BatchKey:String = null with get,set
        member val Title:String = null with get,set
        member val Status:String = null with get,set
        member val MethodSummary:String = null with get,set
        member val CreatedByLbl:String = null with get,set
        member val CreatedLabel:String = null with get,set
        member val ItemsJson:String = null with get,set
        member val ChainJson:String = null with get,set
        member val ReturnReason:String = null with get,set
        member val CertJson:String = null with get,set
        member val LogJson:String = null with get,set

    [<AllowNullLiteral>]
    type DispositionBatchesResponse() = 
        member val ResponseStatus:ResponseStatus = null with get,set
        member val Batches:ResizeArray<DispositionBatchDto> = new ResizeArray<DispositionBatchDto>() with get,set

    [<AllowNullLiteral>]
    type DispositionBatchesRequest() = 
        class end

F# DispositionBatchesRequest 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/disposition/batches 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
		}
	},
	Batches: 
	[
		{
			BatchId: 0,
			BatchKey: String,
			Title: String,
			Status: String,
			MethodSummary: String,
			CreatedByLbl: String,
			CreatedLabel: String,
			ItemsJson: String,
			ChainJson: String,
			ReturnReason: String,
			CertJson: String,
			LogJson: String
		}
	]
}