To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
HTTP + JSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /BetLiveActivity HTTP/1.1
Host: tstextweb20.np.bluebet.com.au
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
BetID: 0,
ActivityID: String,
PushStartToken: String,
PushUpdateToken: String,
TrackBet: False,
OriginatorID: 0,
RefreshPushStartToken: False,
AreActivitiesEnabled: False,
FrequentPushesEnabled: False
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
HomeJersey: String,
AwayJersey: String,
EventID: 0,
MessageTitle: String,
EventTypeID: 0,
ErrorNo: 0,
Message: String,
Identity: 0
}