Bridge

<back to all web services

SendDealRecap

Deal Recaps
The following routes are available for this service:
GET/Send-Deal-Recap
SendDealRecap Parameters:
NameParameterData TypeRequiredDescription
GuidqueryGuidNo
FromEntityContactIdqueryintNo
ChatGuidqueryGuidNo
ToBuyerContactIdqueryintNo
APISendDealRecapViewModel Parameters:
NameParameterData TypeRequiredDescription
EnquiryIdformintNo
EnquiryGuidformGuidNo
ChatGuidformGuidNo
IMONumberformintNo
VesselIdformintNo
VesselNameformstringNo
BuyerAccountNameformstringNo
DateFromformDateTime?No
DateToformDateTime?No
PortIdformint?No
DeliveryMethodIdformint?No
BuyerSellerAccountIdformint?No
RequestedTermsTypeformstringNo
CreditTermDaysformint?No
RecapCommentsformstringNo
AgentformstringNo
AdditionalCostsformstringNo
FromEntityContactIdformintNo
DocumentTitleformstringNo
RecapCanBeSentformboolNo
GetPortListformList<GetPortListViewModel>No
GetDeliveryMethodsformList<GetDeliveryMethodsViewModel>No
GetProductsformList<GetProductsViewModel>No
GetBuyerSellerAccountsformList<EntityAccountsViewModel>No
GetVersionsformList<GetVersionsViewModel>No
GetGradesformList<GetGradesViewModel>No
GetUnitsformList<GetUnitsViewModel>No
GetCurrenciesformList<GetCurrenciesViewModel>No
DealRecapEnquiryGradesformList<DealRecapEnquiryGradesViewModel>No
GetPortListViewModel Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
GuidformGuidNo
NameformstringNo
CodeformstringNo
LatitudeformdoubleNo
LongitudeformdoubleNo
CountryIdformintNo
CountryNameformstringNo
GetDeliveryMethodsViewModel Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
NameformstringNo
GetProductsViewModel Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
IndexformintNo
NameformstringNo
DeletedformboolNo
ETSMultiplicationformdoubleNo
EntityAccountsViewModel Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
TypeformstringNo
NameformstringNo
LinkedVesselIdformintNo
GetVersionsViewModel Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
IndexformintNo
NameformstringNo
DeletedformboolNo
GetGradesViewModel Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
IndexformintNo
NameformstringNo
DeletedformboolNo
GetUnitsViewModel Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
CodeformstringNo
DeletedformboolNo
GetCurrenciesViewModel Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
CodeformstringNo
DescriptionformstringNo
SymbolformstringNo
IndexformintNo
DeletedformboolNo
DealRecapEnquiryGradesViewModel Parameters:
NameParameterData TypeRequiredDescription
Idformint?No
DeletedformboolNo
ProductIdformint?No
VersionIdformint?No
GradeIdformint?No
SpecificationCommentsformstringNo
VolumeFromformint?No
VolumeToformint?No
UnitIdformint?No
VolumeUnitIdformint?No
UnitPriceformdouble?No
CurrencyIdformint?No

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
		}
	]
}