Betting.WebApi

<back to all web services

GetE2EProgress

The following routes are available for this service:
GET/qry/e2e/progress
const std = @import("std");

pub const E2EProgress = struct {
    id: ?[]const u8 = null,
    isActive: bool = false,
    slipsTotal: i32 = 0,
    slipsSubmitted: i32 = 0,
    lastUTCChange: ?[]const u8 = null,
};

pub const GetE2EProgress = struct {};

Zig GetE2EProgress DTOs

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.

GET /qry/e2e/progress HTTP/1.1 
Host: api.bettor.webhop.biz 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	id: String,
	isActive: False,
	slipsTotal: 0,
	slipsSubmitted: 0,
	lastUTCChange: 0001-01-01
}