Greyhounds.WebApi

<back to all web services

FindRoundResults

The following routes are available for this service:
All Verbs/rounds/results
"use strict";
export class FindRoundResults {
    /** @param {{roundId?:string,filter?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {?string} */
    roundId;
    /** @type {?string} */
    filter;
}

JavaScript FindRoundResults 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.

POST /rounds/results HTTP/1.1 
Host: grh1.api.bettor.webhop.biz 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	roundId: String,
	filter: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

[
	{
		id: String,
		sequence: String,
		createdAt: 0001-01-01
	}
]