Greyhounds.WebApi

<back to all web services

FindRoundResults

The following routes are available for this service:
All Verbs/rounds/results
namespace Greyhounds.WebApi.ServiceModel

open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    [<AllowNullLiteral>]
    type FindRoundResults() = 
        member val RoundId:String = null with get,set
        member val Filter:String = null with get,set

F# FindRoundResults DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

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/jsonl
Content-Type: text/jsonl
Content-Length: length

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

[{"id":"String","sequence":"String","createdAt":"0001-01-01T00:00:00.0000000Z"}]