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 .xml suffix or ?format=xml

HTTP + XML

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: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<APISendDealRecapViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bridge.Core.ViewModels">
  <AdditionalCosts>String</AdditionalCosts>
  <Agent>String</Agent>
  <BuyerAccountName>String</BuyerAccountName>
  <BuyerSellerAccountId>0</BuyerSellerAccountId>
  <ChatGuid>00000000-0000-0000-0000-000000000000</ChatGuid>
  <CreditTermDays>0</CreditTermDays>
  <DateFrom>0001-01-01T00:00:00</DateFrom>
  <DateTo>0001-01-01T00:00:00</DateTo>
  <DealRecapEnquiryGrades>
    <DealRecapEnquiryGradesViewModel>
      <CurrencyId>0</CurrencyId>
      <Deleted>false</Deleted>
      <GradeId>0</GradeId>
      <Id>0</Id>
      <ProductId>0</ProductId>
      <SpecificationComments>String</SpecificationComments>
      <UnitId>0</UnitId>
      <UnitPrice>0</UnitPrice>
      <VersionId>0</VersionId>
      <VolumeFrom>0</VolumeFrom>
      <VolumeTo>0</VolumeTo>
      <VolumeUnitId>0</VolumeUnitId>
    </DealRecapEnquiryGradesViewModel>
  </DealRecapEnquiryGrades>
  <DeliveryMethodId>0</DeliveryMethodId>
  <DocumentTitle>String</DocumentTitle>
  <EnquiryGuid>00000000-0000-0000-0000-000000000000</EnquiryGuid>
  <EnquiryId>0</EnquiryId>
  <FromEntityContactId>0</FromEntityContactId>
  <GetBuyerSellerAccounts>
    <EntityAccountsViewModel>
      <Id>0</Id>
      <LinkedVesselId>0</LinkedVesselId>
      <Name>String</Name>
      <Type>String</Type>
    </EntityAccountsViewModel>
  </GetBuyerSellerAccounts>
  <GetCurrencies>
    <GetCurrenciesViewModel>
      <Code>String</Code>
      <Deleted>false</Deleted>
      <Description>String</Description>
      <Id>0</Id>
      <Index>0</Index>
      <Symbol>String</Symbol>
    </GetCurrenciesViewModel>
  </GetCurrencies>
  <GetDeliveryMethods>
    <GetDeliveryMethodsViewModel>
      <Id>0</Id>
      <Name>String</Name>
    </GetDeliveryMethodsViewModel>
  </GetDeliveryMethods>
  <GetGrades>
    <GetGradesViewModel>
      <Deleted>false</Deleted>
      <Id>0</Id>
      <Index>0</Index>
      <Name>String</Name>
    </GetGradesViewModel>
  </GetGrades>
  <GetPortList>
    <GetPortListViewModel>
      <Code>String</Code>
      <CountryId>0</CountryId>
      <CountryName>String</CountryName>
      <Guid>00000000-0000-0000-0000-000000000000</Guid>
      <Id>0</Id>
      <Latitude>0</Latitude>
      <Longitude>0</Longitude>
      <Name>String</Name>
    </GetPortListViewModel>
  </GetPortList>
  <GetProducts>
    <GetProductsViewModel>
      <Deleted>false</Deleted>
      <ETSMultiplication>0</ETSMultiplication>
      <Id>0</Id>
      <Index>0</Index>
      <Name>String</Name>
    </GetProductsViewModel>
  </GetProducts>
  <GetUnits>
    <GetUnitsViewModel>
      <Code>String</Code>
      <Deleted>false</Deleted>
      <Id>0</Id>
    </GetUnitsViewModel>
  </GetUnits>
  <GetVersions>
    <GetVersionsViewModel>
      <Deleted>false</Deleted>
      <Id>0</Id>
      <Index>0</Index>
      <Name>String</Name>
    </GetVersionsViewModel>
  </GetVersions>
  <IMONumber>0</IMONumber>
  <PortId>0</PortId>
  <RecapCanBeSent>false</RecapCanBeSent>
  <RecapComments>String</RecapComments>
  <RequestedTermsType>String</RequestedTermsType>
  <VesselId>0</VesselId>
  <VesselName>String</VesselName>
</APISendDealRecapViewModel>