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

HTTP + OTHER

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

{"EnquiryId":0,"EnquiryGuid":"00000000000000000000000000000000","ChatGuid":"00000000000000000000000000000000","IMONumber":0,"VesselId":0,"VesselName":"String","BuyerAccountName":"String","DateFrom":"0001-01-01T00:00:00.0000000","DateTo":"0001-01-01T00:00:00.0000000","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}]}