| GET | /ETS/Price-Day-Change |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class ETSPriceDayChange
{
public Integer EntityContactId = null;
public Integer getEntityContactId() { return EntityContactId; }
public ETSPriceDayChange setEntityContactId(Integer value) { this.EntityContactId = value; return this; }
}
public static class GetETSPriceDayChangeViewModel
{
public Integer Id = null;
public Date Today = null;
public Double PreviousClose = null;
public Double ClosePrice = null;
public Double PercentageChange = null;
public Double EURChange = null;
public String LabelDescription = null;
public Boolean ShowGetQuoteButton = null;
public Boolean ShowPriceSection = null;
public Integer MinutesRemaining = null;
public String MarketCountdownLabel = null;
public String IsRegistered = null;
public Integer getId() { return Id; }
public GetETSPriceDayChangeViewModel setId(Integer value) { this.Id = value; return this; }
public Date getToday() { return Today; }
public GetETSPriceDayChangeViewModel setToday(Date value) { this.Today = value; return this; }
public Double getPreviousClose() { return PreviousClose; }
public GetETSPriceDayChangeViewModel setPreviousClose(Double value) { this.PreviousClose = value; return this; }
public Double getClosePrice() { return ClosePrice; }
public GetETSPriceDayChangeViewModel setClosePrice(Double value) { this.ClosePrice = value; return this; }
public Double getPercentageChange() { return PercentageChange; }
public GetETSPriceDayChangeViewModel setPercentageChange(Double value) { this.PercentageChange = value; return this; }
public Double getEurChange() { return EURChange; }
public GetETSPriceDayChangeViewModel setEurChange(Double value) { this.EURChange = value; return this; }
public String getLabelDescription() { return LabelDescription; }
public GetETSPriceDayChangeViewModel setLabelDescription(String value) { this.LabelDescription = value; return this; }
public Boolean isShowGetQuoteButton() { return ShowGetQuoteButton; }
public GetETSPriceDayChangeViewModel setShowGetQuoteButton(Boolean value) { this.ShowGetQuoteButton = value; return this; }
public Boolean isShowPriceSection() { return ShowPriceSection; }
public GetETSPriceDayChangeViewModel setShowPriceSection(Boolean value) { this.ShowPriceSection = value; return this; }
public Integer getMinutesRemaining() { return MinutesRemaining; }
public GetETSPriceDayChangeViewModel setMinutesRemaining(Integer value) { this.MinutesRemaining = value; return this; }
public String getMarketCountdownLabel() { return MarketCountdownLabel; }
public GetETSPriceDayChangeViewModel setMarketCountdownLabel(String value) { this.MarketCountdownLabel = value; return this; }
public String getIsRegistered() { return IsRegistered; }
public GetETSPriceDayChangeViewModel setIsRegistered(String value) { this.IsRegistered = value; return this; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /ETS/Price-Day-Change HTTP/1.1 Host: internal.thebunkerbridge.com Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Id: 0,
Today: 0001-01-01,
PreviousClose: 0,
ClosePrice: 0,
PercentageChange: 0,
EURChange: 0,
LabelDescription: String,
ShowGetQuoteButton: False,
ShowPriceSection: False,
MinutesRemaining: 0,
MarketCountdownLabel: String,
IsRegistered: String
}