Betting.WebApi

<back to all web services

GetUserNotifications

Requires Authentication
The following routes are available for this service:
All Verbs/qry/users/notifications
GetUserNotifications Parameters:
NameParameterData TypeRequiredDescription
IdquerystringNo
UserNotifications Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
NformintNo
SformintNo
IformintNo
WformintNo
EformintNo
NotificationsformDictionary<string, UserNotification>No
UserNotification Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
NotificationformNotificationNo
DispatchedAtformDateTimeNo
Notification Parameters:
NameParameterData TypeRequiredDescription
SeverityformSeverityNo
TypeformNotificationTypeNo
DataformRecordDictionary<string, string>No
Severity Enum:
NameValue
Success0
Info1
Warning2
Error3
NotificationType Enum:
NameValue
Default0
SlipDeliveryConfirmationRequest1
SlipDeliveryIssueResolved2

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/users/notifications 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,
	n: 1,
	s: 1,
	i: 0,
	w: 0,
	e: 0,
	notifications: 
	{
		String: 
		{
			id: String,
			notification: 
			{
				severity: 0,
				type: 0,
				data: 
				{
					String: String
				}
			},
			dispatchedAt: 0001-01-01
		}
	}
}