Betting.WebApi

<back to all web services

SyncPartnerSelfServiceDevice

Requires Authentication
The following routes are available for this service:
All Verbs/cmd/integrations/sync/ssd
package dtos

type DeviceType int

const (
	DeviceTypeClerkServicedKiosk DeviceType = 0
	DeviceTypePersonalOnline     DeviceType = 1
	DeviceTypeSelfServiceKiosk   DeviceType = 2
	DeviceTypeUnknown            DeviceType = -1
)

type SyncPartnerSelfServiceDevice struct {
	Id             *string    `json:"id,omitempty"`
	DeviceWalletId *string    `json:"deviceWalletId,omitempty"`
	DeviceId       *string    `json:"deviceId,omitempty"`
	SessionId      *string    `json:"sessionId,omitempty"`
	OrganizationId *string    `json:"organizationId,omitempty"`
	DeviceType     DeviceType `json:"deviceType,omitempty"`
}

Go SyncPartnerSelfServiceDevice DTOs

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

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /cmd/integrations/sync/ssd HTTP/1.1 
Host: api.bettor.webhop.biz 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"id":"String","deviceWalletId":"String","deviceId":"String","sessionId":"String","organizationId":"String","deviceType":0}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}