Bridge

<back to all web services

SendDealRecap

Deal Recaps
The following routes are available for this service:
GET/Send-Deal-Recap
import java.math.*
import java.util.*
import net.servicestack.client.*


open class SendDealRecap
{
    var Guid:UUID? = null
    var FromEntityContactId:Int? = null
    var ChatGuid:UUID? = null
    var ToBuyerContactId:Int? = null
}

open class APISendDealRecapViewModel
{
    var EnquiryId:Int? = null
    var EnquiryGuid:UUID? = null
    var ChatGuid:UUID? = null
    var IMONumber:Int? = null
    var VesselId:Int? = null
    var VesselName:String? = null
    var BuyerAccountName:String? = null
    var DateFrom:Date? = null
    var DateTo:Date? = null
    var PortId:Int? = null
    var DeliveryMethodId:Int? = null
    var BuyerSellerAccountId:Int? = null
    var RequestedTermsType:String? = null
    var CreditTermDays:Int? = null
    var RecapComments:String? = null
    var Agent:String? = null
    var AdditionalCosts:String? = null
    var FromEntityContactId:Int? = null
    var DocumentTitle:String? = null
    var RecapCanBeSent:Boolean? = null
    var GetPortList:ArrayList<GetPortListViewModel> = ArrayList<GetPortListViewModel>()
    var GetDeliveryMethods:ArrayList<GetDeliveryMethodsViewModel> = ArrayList<GetDeliveryMethodsViewModel>()
    var GetProducts:ArrayList<GetProductsViewModel> = ArrayList<GetProductsViewModel>()
    var GetBuyerSellerAccounts:ArrayList<EntityAccountsViewModel> = ArrayList<EntityAccountsViewModel>()
    var GetVersions:ArrayList<GetVersionsViewModel> = ArrayList<GetVersionsViewModel>()
    var GetGrades:ArrayList<GetGradesViewModel> = ArrayList<GetGradesViewModel>()
    var GetUnits:ArrayList<GetUnitsViewModel> = ArrayList<GetUnitsViewModel>()
    var GetCurrencies:ArrayList<GetCurrenciesViewModel> = ArrayList<GetCurrenciesViewModel>()
    var DealRecapEnquiryGrades:ArrayList<DealRecapEnquiryGradesViewModel> = ArrayList<DealRecapEnquiryGradesViewModel>()
}

open class GetPortListViewModel
{
    var Id:Int? = null
    var Guid:UUID? = null
    var Name:String? = null
    var Code:String? = null
    var Latitude:Double? = null
    var Longitude:Double? = null
    var CountryId:Int? = null
    var CountryName:String? = null
}

open class GetDeliveryMethodsViewModel
{
    var Id:Int? = null
    var Name:String? = null
}

open class GetProductsViewModel
{
    var Id:Int? = null
    var Index:Int? = null
    var Name:String? = null
    var Deleted:Boolean? = null
    var ETSMultiplication:Double? = null
}

open class EntityAccountsViewModel
{
    var Id:Int? = null
    var Type:String? = null
    var Name:String? = null
    var LinkedVesselId:Int? = null
}

open class GetVersionsViewModel
{
    var Id:Int? = null
    var Index:Int? = null
    var Name:String? = null
    var Deleted:Boolean? = null
}

open class GetGradesViewModel
{
    var Id:Int? = null
    var Index:Int? = null
    var Name:String? = null
    var Deleted:Boolean? = null
}

open class GetUnitsViewModel
{
    var Id:Int? = null
    var Code:String? = null
    var Deleted:Boolean? = null
}

open class GetCurrenciesViewModel
{
    var Id:Int? = null
    var Code:String? = null
    var Description:String? = null
    var Symbol:String? = null
    var Index:Int? = null
    var Deleted:Boolean? = null
}

open class DealRecapEnquiryGradesViewModel
{
    var Id:Int? = null
    var Deleted:Boolean? = null
    var ProductId:Int? = null
    var VersionId:Int? = null
    var GradeId:Int? = null
    var SpecificationComments:String? = null
    var VolumeFrom:Int? = null
    var VolumeTo:Int? = null
    var UnitId:Int? = null
    var VolumeUnitId:Int? = null
    var UnitPrice:Double? = null
    var CurrencyId:Int? = null
}

Kotlin SendDealRecap 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 /Send-Deal-Recap HTTP/1.1 
Host: internal.thebunkerbridge.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	EnquiryId: 0,
	EnquiryGuid: 00000000000000000000000000000000,
	ChatGuid: 00000000000000000000000000000000,
	IMONumber: 0,
	VesselId: 0,
	VesselName: String,
	BuyerAccountName: String,
	DateFrom: 0001-01-01,
	DateTo: 0001-01-01,
	PortId: 0,
	DeliveryMethodId: 0,
	BuyerSellerAccountId: 0,
	RequestedTermsType: String,
	CreditTermDays: 0,
	RecapComments: String,
	Agent: String,
	AdditionalCosts: String,
	FromEntityContactId: 0,
	DocumentTitle: String,
	RecapCanBeSent: False,
	GetPortList: 
	[
		{
			Id: 0,
			Guid: 00000000000000000000000000000000,
			Name: String,
			Code: String,
			Latitude: 0,
			Longitude: 0,
			CountryId: 0,
			CountryName: String
		}
	],
	GetDeliveryMethods: 
	[
		{
			Id: 0,
			Name: String
		}
	],
	GetProducts: 
	[
		{
			Id: 0,
			Index: 0,
			Name: String,
			Deleted: False,
			ETSMultiplication: 0
		}
	],
	GetBuyerSellerAccounts: 
	[
		{
			Id: 0,
			Type: String,
			Name: String,
			LinkedVesselId: 0
		}
	],
	GetVersions: 
	[
		{
			Id: 0,
			Index: 0,
			Name: String,
			Deleted: False
		}
	],
	GetGrades: 
	[
		{
			Id: 0,
			Index: 0,
			Name: String,
			Deleted: False
		}
	],
	GetUnits: 
	[
		{
			Id: 0,
			Code: String,
			Deleted: False
		}
	],
	GetCurrencies: 
	[
		{
			Id: 0,
			Code: String,
			Description: String,
			Symbol: String,
			Index: 0,
			Deleted: False
		}
	],
	DealRecapEnquiryGrades: 
	[
		{
			Id: 0,
			Deleted: False,
			ProductId: 0,
			VersionId: 0,
			GradeId: 0,
			SpecificationComments: String,
			VolumeFrom: 0,
			VolumeTo: 0,
			UnitId: 0,
			VolumeUnitId: 0,
			UnitPrice: 0,
			CurrencyId: 0
		}
	]
}