Trendsic Platform Service

<back to all web services

SmartsheetsSplitRequest

Requires Authentication
The following routes are available for this service:
GET,POST,PUT,DELETE,OPTIONS/v1/SmartsheetsSplit
GET,POST,PUT,DELETE,OPTIONS/v1/SmartsheetsSplit/{PolicyNumber}/{TransactionId}
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using CRM.AgencyPlatform.API.Internal;

namespace CRM.AgencyPlatform.API.Internal
{
    public partial class SmartsheetsSplit
    {
        public virtual int SmartsheetSplitId { get; set; }
        public virtual int AgentId { get; set; }
        public virtual int Split { get; set; }
        public virtual string PolicyNumber { get; set; }
        public virtual string FullName { get; set; }
        public virtual string TransactionId { get; set; }
    }

    public partial class SmartsheetsSplitRequest
    {
        public virtual string PolicyNumber { get; set; }
        public virtual List<SmartsheetsSplit> SmartsheetsSplit { get; set; } = [];
        public virtual string TransactionId { get; set; }
    }

    public partial class SmartsheetsSplitResponse
    {
        public virtual ResponseStatus ResponseStatus { get; set; }
        public virtual List<SmartsheetsSplit> SmartsheetsSplit { get; set; } = [];
    }

}

C# SmartsheetsSplitRequest 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.

POST /v1/SmartsheetsSplit HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	PolicyNumber: String,
	SmartsheetsSplit: 
	[
		{
			SmartsheetSplitId: 0,
			AgentId: 0,
			Split: 0,
			PolicyNumber: String,
			FullName: String,
			TransactionId: String
		}
	],
	TransactionId: String
}
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
		}
	},
	SmartsheetsSplit: 
	[
		{
			SmartsheetSplitId: 0,
			AgentId: 0,
			Split: 0,
			PolicyNumber: String,
			FullName: String,
			TransactionId: String
		}
	]
}