Betting.WebApi

<back to all web services

GetDeviceConfiguration

The following routes are available for this service:
All Verbs/configurations/devices
GetDeviceConfiguration Parameters:
NameParameterData TypeRequiredDescription
IdquerystringNo
DeviceConfiguration Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
NameformstringNo
IsActiveformboolNo
ProductInstancesformList<ProductInstanceRef>No
TimeZoneformReferenceNo
CurrencyformReferenceNo
LanguageformReferenceNo
LocationformLocationRefNo
OrganizationformOrganizationRefNo
ProductInstanceRef Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
NameformstringNo
ProductformProductReferenceNo
ProductReference Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
ValueformstringNo
CategoryformstringNo
ProductProviderformReferenceNo
Reference Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
ValueformstringNo
Reference Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
ValueformstringNo
LocationRef Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
NameformstringNo
GroupformReferenceNo
AddressformAddressNo
IntegrationDataformDictionary<string, string>No
Address Parameters:
NameParameterData TypeRequiredDescription
StreetformstringNo
CityformstringNo
StateformstringNo
ZipCodeformstringNo
CountryformstringNo
CoordinatesformGPSCoordinatesNo
GPSCoordinates Parameters:
NameParameterData TypeRequiredDescription
LatformdoubleNo
LngformdoubleNo
OrganizationRef Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
NameformstringNo
AddressformAddressNo
IntegrationDataformDictionary<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 /configurations/devices HTTP/1.1 
Host: api.mozzart.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,
			product: 
			{
				id: String,
				value: String,
				category: String,
				productProvider: 
				{
					id: String,
					value: String
				}
			}
		}
	],
	timeZone: 
	{
		id: String,
		value: String
	},
	currency: 
	{
		id: String,
		value: String
	},
	language: 
	{
		id: String,
		value: String
	},
	location: 
	{
		id: String,
		name: String,
		group: 
		{
			id: String,
			value: String
		},
		address: 
		{
			street: String,
			city: String,
			state: String,
			zipCode: String,
			country: String,
			coordinates: 
			{
				lat: 0,
				lng: 0
			}
		},
		integrationData: 
		{
			String: String
		}
	},
	organization: 
	{
		id: String,
		name: String,
		address: 
		{
			street: String,
			city: String,
			state: String,
			zipCode: String,
			country: String,
			coordinates: 
			{
				lat: 0,
				lng: 0
			}
		},
		integrationData: 
		{
			String: String
		}
	}
}