Bridge

<back to all web services

SubmitDealRecap

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

public class dtos
{

    public static class SubmitDealRecap
    {
        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<DealRecapEnquiryGradesViewModel> DealRecapEnquiryGrades = null;
        
        public Integer getEnquiryId() { return EnquiryId; }
        public SubmitDealRecap setEnquiryId(Integer value) { this.EnquiryId = value; return this; }
        public UUID getEnquiryGuid() { return EnquiryGuid; }
        public SubmitDealRecap setEnquiryGuid(UUID value) { this.EnquiryGuid = value; return this; }
        public UUID getChatGuid() { return ChatGuid; }
        public SubmitDealRecap setChatGuid(UUID value) { this.ChatGuid = value; return this; }
        public Integer getImoNumber() { return IMONumber; }
        public SubmitDealRecap setImoNumber(Integer value) { this.IMONumber = value; return this; }
        public Integer getVesselId() { return VesselId; }
        public SubmitDealRecap setVesselId(Integer value) { this.VesselId = value; return this; }
        public String getVesselName() { return VesselName; }
        public SubmitDealRecap setVesselName(String value) { this.VesselName = value; return this; }
        public String getBuyerAccountName() { return BuyerAccountName; }
        public SubmitDealRecap setBuyerAccountName(String value) { this.BuyerAccountName = value; return this; }
        public Date getDateFrom() { return DateFrom; }
        public SubmitDealRecap setDateFrom(Date value) { this.DateFrom = value; return this; }
        public Date getDateTo() { return DateTo; }
        public SubmitDealRecap setDateTo(Date value) { this.DateTo = value; return this; }
        public Integer getPortId() { return PortId; }
        public SubmitDealRecap setPortId(Integer value) { this.PortId = value; return this; }
        public Integer getDeliveryMethodId() { return DeliveryMethodId; }
        public SubmitDealRecap setDeliveryMethodId(Integer value) { this.DeliveryMethodId = value; return this; }
        public Integer getBuyerSellerAccountId() { return BuyerSellerAccountId; }
        public SubmitDealRecap setBuyerSellerAccountId(Integer value) { this.BuyerSellerAccountId = value; return this; }
        public String getRequestedTermsType() { return RequestedTermsType; }
        public SubmitDealRecap setRequestedTermsType(String value) { this.RequestedTermsType = value; return this; }
        public Integer getCreditTermDays() { return CreditTermDays; }
        public SubmitDealRecap setCreditTermDays(Integer value) { this.CreditTermDays = value; return this; }
        public String getRecapComments() { return RecapComments; }
        public SubmitDealRecap setRecapComments(String value) { this.RecapComments = value; return this; }
        public String getAgent() { return Agent; }
        public SubmitDealRecap setAgent(String value) { this.Agent = value; return this; }
        public String getAdditionalCosts() { return AdditionalCosts; }
        public SubmitDealRecap setAdditionalCosts(String value) { this.AdditionalCosts = value; return this; }
        public Integer getFromEntityContactId() { return FromEntityContactId; }
        public SubmitDealRecap setFromEntityContactId(Integer value) { this.FromEntityContactId = value; return this; }
        public String getDocumentTitle() { return DocumentTitle; }
        public SubmitDealRecap setDocumentTitle(String value) { this.DocumentTitle = value; return this; }
        public Boolean isRecapCanBeSent() { return RecapCanBeSent; }
        public SubmitDealRecap setRecapCanBeSent(Boolean value) { this.RecapCanBeSent = value; return this; }
        public ArrayList<DealRecapEnquiryGradesViewModel> getDealRecapEnquiryGrades() { return DealRecapEnquiryGrades; }
        public SubmitDealRecap setDealRecapEnquiryGrades(ArrayList<DealRecapEnquiryGradesViewModel> value) { this.DealRecapEnquiryGrades = 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; }
    }

    public static class SubmitDealRecapReturnViewModel
    {
        public Integer RecapId = null;
        public String RecapGuid = null;
        public String DocumentTitle = null;
        public Integer ChattingWithEntityContactId = null;
        
        public Integer getRecapId() { return RecapId; }
        public SubmitDealRecapReturnViewModel setRecapId(Integer value) { this.RecapId = value; return this; }
        public String getRecapGuid() { return RecapGuid; }
        public SubmitDealRecapReturnViewModel setRecapGuid(String value) { this.RecapGuid = value; return this; }
        public String getDocumentTitle() { return DocumentTitle; }
        public SubmitDealRecapReturnViewModel setDocumentTitle(String value) { this.DocumentTitle = value; return this; }
        public Integer getChattingWithEntityContactId() { return ChattingWithEntityContactId; }
        public SubmitDealRecapReturnViewModel setChattingWithEntityContactId(Integer value) { this.ChattingWithEntityContactId = value; return this; }
    }

}

Java SubmitDealRecap DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /Submit-Deal-Recap HTTP/1.1 
Host: internal.thebunkerbridge.com 
Accept: text/csv
Content-Type: text/csv
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,"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}]}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"RecapId":0,"RecapGuid":"String","DocumentTitle":"String","ChattingWithEntityContactId":0}