Betting.WebApi

<back to all web services

GetDeviceConfiguration

The following routes are available for this service:
All Verbs/qry/configurations/devices
GetDeviceConfiguration Parameters:
NameParameterData TypeRequiredDescription
IdquerystringNo
DeviceConfiguration Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
NameformstringNo
IsActiveformboolNo
ProductInstancesformRecordList<ProductInstanceRef>No
TimeZoneformRefNo
CurrencyformRefNo
LanguageformRefNo
LocationformLocationRefNo
OrganizationformOrganizationRefNo
ProductInstanceRef Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
NameformstringNo
TitleformstringNo
ProductformProductReferenceNo
ProductReference Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
ValueformstringNo
CategoryformstringNo
ProductProviderformRefNo
Ref Parameters:
NameParameterData TypeRequiredDescription
IdformstringYes
ValformstringYes
LocationRef Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
NameformstringNo
GroupformRefNo
RegionformRefNo
AddressformAddressNo
IntegrationsDataformRecordDictionary<string, string>No
Address Parameters:
NameParameterData TypeRequiredDescription
StreetformstringYes
CityformstringYes
StateformstringYes
PostalCodeformstringYes
CountryformRefYes
GPSformGPSCoordinatesYes
DataformRecordDictionary<string, string>Yes
GPSCoordinates Parameters:
NameParameterData TypeRequiredDescription
LatformdoubleNo
LngformdoubleNo
OrganizationRef Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
NameformstringNo
AddressformAddressNo
IntegrationsDataformRecordDictionary<string, string>No

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 /qry/configurations/devices HTTP/1.1 
Host: api.sbbet.ath.cx 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

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

{
	id: String,
	name: String,
	isActive: False,
	productInstances: 
	[
		{
			id: String,
			name: String,
			title: String,
			product: 
			{
				id: String,
				value: String,
				category: String,
				productProvider: 
				{
					id: String,
					val: String
				}
			}
		}
	],
	timeZone: 
	{
		id: String,
		val: String
	},
	currency: 
	{
		id: String,
		val: String
	},
	language: 
	{
		id: String,
		val: String
	},
	location: 
	{
		id: String,
		name: String,
		group: 
		{
			id: String,
			val: String
		},
		region: 
		{
			id: String,
			val: String
		},
		address: 
		{
			street: String,
			city: String,
			state: String,
			postalCode: String,
			country: 
			{
				id: String,
				val: String
			},
			gps: 
			{
				lat: 0,
				lng: 0
			},
			data: 
			{
				String: String
			}
		},
		integrationsData: 
		{
			String: String
		}
	},
	organization: 
	{
		id: String,
		name: String,
		address: 
		{
			street: String,
			city: String,
			state: String,
			postalCode: String,
			country: 
			{
				id: String,
				val: String
			},
			gps: 
			{
				lat: 0,
				lng: 0
			},
			data: 
			{
				String: String
			}
		},
		integrationsData: 
		{
			String: String
		}
	}
}