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.*;

public class dtos
{

    public static class SendDealRecap
    {
        public UUID Guid = null;
        public Integer FromEntityContactId = null;
        public UUID ChatGuid = null;
        public Integer ToBuyerContactId = null;
        
        public UUID getGuid() { return Guid; }
        public SendDealRecap setGuid(UUID value) { this.Guid = value; return this; }
        public Integer getFromEntityContactId() { return FromEntityContactId; }
        public SendDealRecap setFromEntityContactId(Integer value) { this.FromEntityContactId = value; return this; }
        public UUID getChatGuid() { return ChatGuid; }
        public SendDealRecap setChatGuid(UUID value) { this.ChatGuid = value; return this; }
        public Integer getToBuyerContactId() { return ToBuyerContactId; }
        public SendDealRecap setToBuyerContactId(Integer value) { this.ToBuyerContactId = value; return this; }
    }

    public static class APISendDealRecapViewModel
    {
        public Integer EnquiryId = null;
        public UUID EnquiryGuid = null;
        public UUID ChatGuid = null;
        public Integer IMONumber = null;
        public Integer VesselId = null;
        public String VesselName = null;
        public String BuyerAccountName = null;
        public Date DateFrom = null;
        public Date DateTo = null;
        public Integer PortId = null;
        public Integer DeliveryMethodId = null;
        public Integer BuyerSellerAccountId = null;
        public String RequestedTermsType = null;
        public Integer CreditTermDays = null;
        public String RecapComments = null;
        public String Agent = null;
        public String AdditionalCosts = null;
        public Integer FromEntityContactId = null;
        public String DocumentTitle = null;
        public Boolean RecapCanBeSent = null;
        public ArrayList<GetPortListViewModel> GetPortList = null;
        public ArrayList<GetDeliveryMethodsViewModel> GetDeliveryMethods = null;
        public ArrayList<GetProductsViewModel> GetProducts = null;
        public ArrayList<EntityAccountsViewModel> GetBuyerSellerAccounts = null;
        public ArrayList<GetVersionsViewModel> GetVersions = null;
        public ArrayList<GetGradesViewModel> GetGrades = null;
        public ArrayList<GetUnitsViewModel> GetUnits = null;
        public ArrayList<GetCurrenciesViewModel> GetCurrencies = null;
        public ArrayList<DealRecapEnquiryGradesViewModel> DealRecapEnquiryGrades = null;
        
        public Integer getEnquiryId() { return EnquiryId; }
        public APISendDealRecapViewModel setEnquiryId(Integer value) { this.EnquiryId = value; return this; }
        public UUID getEnquiryGuid() { return EnquiryGuid; }
        public APISendDealRecapViewModel setEnquiryGuid(UUID value) { this.EnquiryGuid = value; return this; }
        public UUID getChatGuid() { return ChatGuid; }
        public APISendDealRecapViewModel setChatGuid(UUID value) { this.ChatGuid = value; return this; }
        public Integer getImoNumber() { return IMONumber; }
        public APISendDealRecapViewModel setImoNumber(Integer value) { this.IMONumber = value; return this; }
        public Integer getVesselId() { return VesselId; }
        public APISendDealRecapViewModel setVesselId(Integer value) { this.VesselId = value; return this; }
        public String getVesselName() { return VesselName; }
        public APISendDealRecapViewModel setVesselName(String value) { this.VesselName = value; return this; }
        public String getBuyerAccountName() { return BuyerAccountName; }
        public APISendDealRecapViewModel setBuyerAccountName(String value) { this.BuyerAccountName = value; return this; }
        public Date getDateFrom() { return DateFrom; }
        public APISendDealRecapViewModel setDateFrom(Date value) { this.DateFrom = value; return this; }
        public Date getDateTo() { return DateTo; }
        public APISendDealRecapViewModel setDateTo(Date value) { this.DateTo = value; return this; }
        public Integer getPortId() { return PortId; }
        public APISendDealRecapViewModel setPortId(Integer value) { this.PortId = value; return this; }
        public Integer getDeliveryMethodId() { return DeliveryMethodId; }
        public APISendDealRecapViewModel setDeliveryMethodId(Integer value) { this.DeliveryMethodId = value; return this; }
        public Integer getBuyerSellerAccountId() { return BuyerSellerAccountId; }
        public APISendDealRecapViewModel setBuyerSellerAccountId(Integer value) { this.BuyerSellerAccountId = value; return this; }
        public String getRequestedTermsType() { return RequestedTermsType; }
        public APISendDealRecapViewModel setRequestedTermsType(String value) { this.RequestedTermsType = value; return this; }
        public Integer getCreditTermDays() { return CreditTermDays; }
        public APISendDealRecapViewModel setCreditTermDays(Integer value) { this.CreditTermDays = value; return this; }
        public String getRecapComments() { return RecapComments; }
        public APISendDealRecapViewModel setRecapComments(String value) { this.RecapComments = value; return this; }
        public String getAgent() { return Agent; }
        public APISendDealRecapViewModel setAgent(String value) { this.Agent = value; return this; }
        public String getAdditionalCosts() { return AdditionalCosts; }
        public APISendDealRecapViewModel setAdditionalCosts(String value) { this.AdditionalCosts = value; return this; }
        public Integer getFromEntityContactId() { return FromEntityContactId; }
        public APISendDealRecapViewModel setFromEntityContactId(Integer value) { this.FromEntityContactId = value; return this; }
        public String getDocumentTitle() { return DocumentTitle; }
        public APISendDealRecapViewModel setDocumentTitle(String value) { this.DocumentTitle = value; return this; }
        public Boolean isRecapCanBeSent() { return RecapCanBeSent; }
        public APISendDealRecapViewModel setRecapCanBeSent(Boolean value) { this.RecapCanBeSent = value; return this; }
        public ArrayList<GetPortListViewModel> getGetPortList() { return GetPortList; }
        public APISendDealRecapViewModel setGetPortList(ArrayList<GetPortListViewModel> value) { this.GetPortList = value; return this; }
        public ArrayList<GetDeliveryMethodsViewModel> getGetDeliveryMethods() { return GetDeliveryMethods; }
        public APISendDealRecapViewModel setGetDeliveryMethods(ArrayList<GetDeliveryMethodsViewModel> value) { this.GetDeliveryMethods = value; return this; }
        public ArrayList<GetProductsViewModel> getGetProducts() { return GetProducts; }
        public APISendDealRecapViewModel setGetProducts(ArrayList<GetProductsViewModel> value) { this.GetProducts = value; return this; }
        public ArrayList<EntityAccountsViewModel> getGetBuyerSellerAccounts() { return GetBuyerSellerAccounts; }
        public APISendDealRecapViewModel setGetBuyerSellerAccounts(ArrayList<EntityAccountsViewModel> value) { this.GetBuyerSellerAccounts = value; return this; }
        public ArrayList<GetVersionsViewModel> getGetVersions() { return GetVersions; }
        public APISendDealRecapViewModel setGetVersions(ArrayList<GetVersionsViewModel> value) { this.GetVersions = value; return this; }
        public ArrayList<GetGradesViewModel> getGetGrades() { return GetGrades; }
        public APISendDealRecapViewModel setGetGrades(ArrayList<GetGradesViewModel> value) { this.GetGrades = value; return this; }
        public ArrayList<GetUnitsViewModel> getGetUnits() { return GetUnits; }
        public APISendDealRecapViewModel setGetUnits(ArrayList<GetUnitsViewModel> value) { this.GetUnits = value; return this; }
        public ArrayList<GetCurrenciesViewModel> getGetCurrencies() { return GetCurrencies; }
        public APISendDealRecapViewModel setGetCurrencies(ArrayList<GetCurrenciesViewModel> value) { this.GetCurrencies = value; return this; }
        public ArrayList<DealRecapEnquiryGradesViewModel> getDealRecapEnquiryGrades() { return DealRecapEnquiryGrades; }
        public APISendDealRecapViewModel setDealRecapEnquiryGrades(ArrayList<DealRecapEnquiryGradesViewModel> value) { this.DealRecapEnquiryGrades = value; return this; }
    }

    public static class GetPortListViewModel
    {
        public Integer Id = null;
        public UUID Guid = null;
        public String Name = null;
        public String Code = null;
        public Double Latitude = null;
        public Double Longitude = null;
        public Integer CountryId = null;
        public String CountryName = null;
        
        public Integer getId() { return Id; }
        public GetPortListViewModel setId(Integer value) { this.Id = value; return this; }
        public UUID getGuid() { return Guid; }
        public GetPortListViewModel setGuid(UUID value) { this.Guid = value; return this; }
        public String getName() { return Name; }
        public GetPortListViewModel setName(String value) { this.Name = value; return this; }
        public String getCode() { return Code; }
        public GetPortListViewModel setCode(String value) { this.Code = value; return this; }
        public Double getLatitude() { return Latitude; }
        public GetPortListViewModel setLatitude(Double value) { this.Latitude = value; return this; }
        public Double getLongitude() { return Longitude; }
        public GetPortListViewModel setLongitude(Double value) { this.Longitude = value; return this; }
        public Integer getCountryId() { return CountryId; }
        public GetPortListViewModel setCountryId(Integer value) { this.CountryId = value; return this; }
        public String getCountryName() { return CountryName; }
        public GetPortListViewModel setCountryName(String value) { this.CountryName = value; return this; }
    }

    public static class GetDeliveryMethodsViewModel
    {
        public Integer Id = null;
        public String Name = null;
        
        public Integer getId() { return Id; }
        public GetDeliveryMethodsViewModel setId(Integer value) { this.Id = value; return this; }
        public String getName() { return Name; }
        public GetDeliveryMethodsViewModel setName(String value) { this.Name = value; return this; }
    }

    public static class GetProductsViewModel
    {
        public Integer Id = null;
        public Integer Index = null;
        public String Name = null;
        public Boolean Deleted = null;
        public Double ETSMultiplication = null;
        
        public Integer getId() { return Id; }
        public GetProductsViewModel setId(Integer value) { this.Id = value; return this; }
        public Integer getIndex() { return Index; }
        public GetProductsViewModel setIndex(Integer value) { this.Index = value; return this; }
        public String getName() { return Name; }
        public GetProductsViewModel setName(String value) { this.Name = value; return this; }
        public Boolean isDeleted() { return Deleted; }
        public GetProductsViewModel setDeleted(Boolean value) { this.Deleted = value; return this; }
        public Double getEtsMultiplication() { return ETSMultiplication; }
        public GetProductsViewModel setEtsMultiplication(Double value) { this.ETSMultiplication = value; return this; }
    }

    public static class EntityAccountsViewModel
    {
        public Integer Id = null;
        public String Type = null;
        public String Name = null;
        public Integer LinkedVesselId = null;
        
        public Integer getId() { return Id; }
        public EntityAccountsViewModel setId(Integer value) { this.Id = value; return this; }
        public String getType() { return Type; }
        public EntityAccountsViewModel setType(String value) { this.Type = value; return this; }
        public String getName() { return Name; }
        public EntityAccountsViewModel setName(String value) { this.Name = value; return this; }
        public Integer getLinkedVesselId() { return LinkedVesselId; }
        public EntityAccountsViewModel setLinkedVesselId(Integer value) { this.LinkedVesselId = value; return this; }
    }

    public static class GetVersionsViewModel
    {
        public Integer Id = null;
        public Integer Index = null;
        public String Name = null;
        public Boolean Deleted = null;
        
        public Integer getId() { return Id; }
        public GetVersionsViewModel setId(Integer value) { this.Id = value; return this; }
        public Integer getIndex() { return Index; }
        public GetVersionsViewModel setIndex(Integer value) { this.Index = value; return this; }
        public String getName() { return Name; }
        public GetVersionsViewModel setName(String value) { this.Name = value; return this; }
        public Boolean isDeleted() { return Deleted; }
        public GetVersionsViewModel setDeleted(Boolean value) { this.Deleted = value; return this; }
    }

    public static class GetGradesViewModel
    {
        public Integer Id = null;
        public Integer Index = null;
        public String Name = null;
        public Boolean Deleted = null;
        
        public Integer getId() { return Id; }
        public GetGradesViewModel setId(Integer value) { this.Id = value; return this; }
        public Integer getIndex() { return Index; }
        public GetGradesViewModel setIndex(Integer value) { this.Index = value; return this; }
        public String getName() { return Name; }
        public GetGradesViewModel setName(String value) { this.Name = value; return this; }
        public Boolean isDeleted() { return Deleted; }
        public GetGradesViewModel setDeleted(Boolean value) { this.Deleted = value; return this; }
    }

    public static class GetUnitsViewModel
    {
        public Integer Id = null;
        public String Code = null;
        public Boolean Deleted = null;
        
        public Integer getId() { return Id; }
        public GetUnitsViewModel setId(Integer value) { this.Id = value; return this; }
        public String getCode() { return Code; }
        public GetUnitsViewModel setCode(String value) { this.Code = value; return this; }
        public Boolean isDeleted() { return Deleted; }
        public GetUnitsViewModel setDeleted(Boolean value) { this.Deleted = value; return this; }
    }

    public static class GetCurrenciesViewModel
    {
        public Integer Id = null;
        public String Code = null;
        public String Description = null;
        public String Symbol = null;
        public Integer Index = null;
        public Boolean Deleted = null;
        
        public Integer getId() { return Id; }
        public GetCurrenciesViewModel setId(Integer value) { this.Id = value; return this; }
        public String getCode() { return Code; }
        public GetCurrenciesViewModel setCode(String value) { this.Code = value; return this; }
        public String getDescription() { return Description; }
        public GetCurrenciesViewModel setDescription(String value) { this.Description = value; return this; }
        public String getSymbol() { return Symbol; }
        public GetCurrenciesViewModel setSymbol(String value) { this.Symbol = value; return this; }
        public Integer getIndex() { return Index; }
        public GetCurrenciesViewModel setIndex(Integer value) { this.Index = value; return this; }
        public Boolean isDeleted() { return Deleted; }
        public GetCurrenciesViewModel setDeleted(Boolean value) { this.Deleted = value; return this; }
    }

    public static class DealRecapEnquiryGradesViewModel
    {
        public Integer Id = null;
        public Boolean Deleted = null;
        public Integer ProductId = null;
        public Integer VersionId = null;
        public Integer GradeId = null;
        public String SpecificationComments = null;
        public Integer VolumeFrom = null;
        public Integer VolumeTo = null;
        public Integer UnitId = null;
        public Integer VolumeUnitId = null;
        public Double UnitPrice = null;
        public Integer CurrencyId = null;
        
        public Integer getId() { return Id; }
        public DealRecapEnquiryGradesViewModel setId(Integer value) { this.Id = value; return this; }
        public Boolean isDeleted() { return Deleted; }
        public DealRecapEnquiryGradesViewModel setDeleted(Boolean value) { this.Deleted = value; return this; }
        public Integer getProductId() { return ProductId; }
        public DealRecapEnquiryGradesViewModel setProductId(Integer value) { this.ProductId = value; return this; }
        public Integer getVersionId() { return VersionId; }
        public DealRecapEnquiryGradesViewModel setVersionId(Integer value) { this.VersionId = value; return this; }
        public Integer getGradeId() { return GradeId; }
        public DealRecapEnquiryGradesViewModel setGradeId(Integer value) { this.GradeId = value; return this; }
        public String getSpecificationComments() { return SpecificationComments; }
        public DealRecapEnquiryGradesViewModel setSpecificationComments(String value) { this.SpecificationComments = value; return this; }
        public Integer getVolumeFrom() { return VolumeFrom; }
        public DealRecapEnquiryGradesViewModel setVolumeFrom(Integer value) { this.VolumeFrom = value; return this; }
        public Integer getVolumeTo() { return VolumeTo; }
        public DealRecapEnquiryGradesViewModel setVolumeTo(Integer value) { this.VolumeTo = value; return this; }
        public Integer getUnitId() { return UnitId; }
        public DealRecapEnquiryGradesViewModel setUnitId(Integer value) { this.UnitId = value; return this; }
        public Integer getVolumeUnitId() { return VolumeUnitId; }
        public DealRecapEnquiryGradesViewModel setVolumeUnitId(Integer value) { this.VolumeUnitId = value; return this; }
        public Double getUnitPrice() { return UnitPrice; }
        public DealRecapEnquiryGradesViewModel setUnitPrice(Double value) { this.UnitPrice = value; return this; }
        public Integer getCurrencyId() { return CurrencyId; }
        public DealRecapEnquiryGradesViewModel setCurrencyId(Integer value) { this.CurrencyId = value; return this; }
    }

}

Java 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>