Betting.WebApi

<back to all web services

GetIntegrations

Requires Authentication
The following routes are available for this service:
GET/qry/integrations
# frozen_string_literal: true
# encoding: utf-8


require 'json'
require 'servicestack'


class GetIntegrations
    include ServiceStack::DTO

    def response_type() = List
    def get_type_name() = 'GetIntegrations'
end

Ruby GetIntegrations 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/integrations HTTP/1.1 
Host: api.testenv.webhop.biz 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

[
	{
		id: String,
		name: String,
		nature: 1,
		services: 
		[
			1
		],
		supportsSlipForwarding: False
	}
]