| GET | /ETS/Price-Day-Change |
|---|
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Bridge.Private.Api.DTO
Imports Bridge.Core.ViewModels
Namespace Global
Namespace Bridge.Core.ViewModels
Public Partial Class GetETSPriceDayChangeViewModel
Public Overridable Property Id As Integer
Public Overridable Property Today As Date
Public Overridable Property PreviousClose As Double
Public Overridable Property ClosePrice As Double
Public Overridable Property PercentageChange As Double
Public Overridable Property EURChange As Double
Public Overridable Property LabelDescription As String
Public Overridable Property ShowGetQuoteButton As Boolean
Public Overridable Property ShowPriceSection As Boolean
Public Overridable Property MinutesRemaining As Integer
Public Overridable Property MarketCountdownLabel As String
Public Overridable Property IsRegistered As String
End Class
End Namespace
Namespace Bridge.Private.Api.DTO
Public Partial Class ETSPriceDayChange
Public Overridable Property EntityContactId As Integer
End Class
End Namespace
End Namespace
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
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/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"Id":0,"Today":"0001-01-01T00:00:00.0000000","PreviousClose":0,"ClosePrice":0,"PercentageChange":0,"EURChange":0,"LabelDescription":"String","ShowGetQuoteButton":false,"ShowPriceSection":false,"MinutesRemaining":0,"MarketCountdownLabel":"String","IsRegistered":"String"}