| GET | /Deal-Recap/Decline |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class DealRecapDecline
{
public UUID Guid = null;
public UUID getGuid() { return Guid; }
public DealRecapDecline setGuid(UUID value) { this.Guid = value; return this; }
}
public static class GetRecapDetailsViewModel
{
public UUID Guid = null;
public String DocumentTitle = null;
public String GeneralComments = null;
public Integer EnquiryId = null;
public UUID EnquiryGuid = null;
public byte[] CompanyLogo = null;
public String FromContactName = null;
public UUID ContactGuid = null;
public String EntityName = null;
public String VesselName = null;
public Integer IMONumber = null;
public String PortCode = null;
public String PortName = null;
public String CountryName = null;
public byte[] CountryFlag = null;
public Date DateFrom = null;
public Date DateTo = null;
public String BuyerAccountName = null;
public String DeliveryMethod = null;
public String AgentDetails = null;
public String RecapTerms = null;
public String AdditionalCosts = null;
public String RecapGrades = null;
public Boolean Accepted = null;
public Boolean Rejected = null;
public Integer FromEntityContactId = null;
public Integer ToEntityContactId = null;
public String RecapComments = null;
public String TermsAndConditions = null;
public UUID ImageGuid = null;
public Integer VesselId = null;
public Boolean ConfirmationOnly = null;
public UUID getGuid() { return Guid; }
public GetRecapDetailsViewModel setGuid(UUID value) { this.Guid = value; return this; }
public String getDocumentTitle() { return DocumentTitle; }
public GetRecapDetailsViewModel setDocumentTitle(String value) { this.DocumentTitle = value; return this; }
public String getGeneralComments() { return GeneralComments; }
public GetRecapDetailsViewModel setGeneralComments(String value) { this.GeneralComments = value; return this; }
public Integer getEnquiryId() { return EnquiryId; }
public GetRecapDetailsViewModel setEnquiryId(Integer value) { this.EnquiryId = value; return this; }
public UUID getEnquiryGuid() { return EnquiryGuid; }
public GetRecapDetailsViewModel setEnquiryGuid(UUID value) { this.EnquiryGuid = value; return this; }
public byte[] getCompanyLogo() { return CompanyLogo; }
public GetRecapDetailsViewModel setCompanyLogo(byte[] value) { this.CompanyLogo = value; return this; }
public String getFromContactName() { return FromContactName; }
public GetRecapDetailsViewModel setFromContactName(String value) { this.FromContactName = value; return this; }
public UUID getContactGuid() { return ContactGuid; }
public GetRecapDetailsViewModel setContactGuid(UUID value) { this.ContactGuid = value; return this; }
public String getEntityName() { return EntityName; }
public GetRecapDetailsViewModel setEntityName(String value) { this.EntityName = value; return this; }
public String getVesselName() { return VesselName; }
public GetRecapDetailsViewModel setVesselName(String value) { this.VesselName = value; return this; }
public Integer getImoNumber() { return IMONumber; }
public GetRecapDetailsViewModel setImoNumber(Integer value) { this.IMONumber = value; return this; }
public String getPortCode() { return PortCode; }
public GetRecapDetailsViewModel setPortCode(String value) { this.PortCode = value; return this; }
public String getPortName() { return PortName; }
public GetRecapDetailsViewModel setPortName(String value) { this.PortName = value; return this; }
public String getCountryName() { return CountryName; }
public GetRecapDetailsViewModel setCountryName(String value) { this.CountryName = value; return this; }
public byte[] getCountryFlag() { return CountryFlag; }
public GetRecapDetailsViewModel setCountryFlag(byte[] value) { this.CountryFlag = value; return this; }
public Date getDateFrom() { return DateFrom; }
public GetRecapDetailsViewModel setDateFrom(Date value) { this.DateFrom = value; return this; }
public Date getDateTo() { return DateTo; }
public GetRecapDetailsViewModel setDateTo(Date value) { this.DateTo = value; return this; }
public String getBuyerAccountName() { return BuyerAccountName; }
public GetRecapDetailsViewModel setBuyerAccountName(String value) { this.BuyerAccountName = value; return this; }
public String getDeliveryMethod() { return DeliveryMethod; }
public GetRecapDetailsViewModel setDeliveryMethod(String value) { this.DeliveryMethod = value; return this; }
public String getAgentDetails() { return AgentDetails; }
public GetRecapDetailsViewModel setAgentDetails(String value) { this.AgentDetails = value; return this; }
public String getRecapTerms() { return RecapTerms; }
public GetRecapDetailsViewModel setRecapTerms(String value) { this.RecapTerms = value; return this; }
public String getAdditionalCosts() { return AdditionalCosts; }
public GetRecapDetailsViewModel setAdditionalCosts(String value) { this.AdditionalCosts = value; return this; }
public String getRecapGrades() { return RecapGrades; }
public GetRecapDetailsViewModel setRecapGrades(String value) { this.RecapGrades = value; return this; }
public Boolean isAccepted() { return Accepted; }
public GetRecapDetailsViewModel setAccepted(Boolean value) { this.Accepted = value; return this; }
public Boolean isRejected() { return Rejected; }
public GetRecapDetailsViewModel setRejected(Boolean value) { this.Rejected = value; return this; }
public Integer getFromEntityContactId() { return FromEntityContactId; }
public GetRecapDetailsViewModel setFromEntityContactId(Integer value) { this.FromEntityContactId = value; return this; }
public Integer getToEntityContactId() { return ToEntityContactId; }
public GetRecapDetailsViewModel setToEntityContactId(Integer value) { this.ToEntityContactId = value; return this; }
public String getRecapComments() { return RecapComments; }
public GetRecapDetailsViewModel setRecapComments(String value) { this.RecapComments = value; return this; }
public String getTermsAndConditions() { return TermsAndConditions; }
public GetRecapDetailsViewModel setTermsAndConditions(String value) { this.TermsAndConditions = value; return this; }
public UUID getImageGuid() { return ImageGuid; }
public GetRecapDetailsViewModel setImageGuid(UUID value) { this.ImageGuid = value; return this; }
public Integer getVesselId() { return VesselId; }
public GetRecapDetailsViewModel setVesselId(Integer value) { this.VesselId = value; return this; }
public Boolean isConfirmationOnly() { return ConfirmationOnly; }
public GetRecapDetailsViewModel setConfirmationOnly(Boolean value) { this.ConfirmationOnly = value; return this; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /Deal-Recap/Decline HTTP/1.1 Host: internal.thebunkerbridge.com Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"Guid":"00000000000000000000000000000000","DocumentTitle":"String","GeneralComments":"String","EnquiryId":0,"EnquiryGuid":"00000000000000000000000000000000","CompanyLogo":"AA==","FromContactName":"String","ContactGuid":"00000000000000000000000000000000","EntityName":"String","VesselName":"String","IMONumber":0,"PortCode":"String","PortName":"String","CountryName":"String","CountryFlag":"AA==","DateFrom":"0001-01-01T00:00:00.0000000","DateTo":"0001-01-01T00:00:00.0000000","BuyerAccountName":"String","DeliveryMethod":"String","AgentDetails":"String","RecapTerms":"String","AdditionalCosts":"String","RecapGrades":"String","Accepted":false,"Rejected":false,"FromEntityContactId":0,"ToEntityContactId":0,"RecapComments":"String","TermsAndConditions":"String","ImageGuid":"00000000000000000000000000000000","VesselId":0,"ConfirmationOnly":false}