FxHubPartnersApi

<back to all web services

GetQueryNotifications

Requires Authentication
The following routes are available for this service:
GET/notification/query_notification
GetQueryNotifications Parameters:
NameParameterData TypeRequiredDescription
NotificationTypequerystringNo
GetQueryNotificationsResponse Parameters:
NameParameterData TypeRequiredDescription
TotalUnreadformintNo
ResultformList<QueryNotification>No
MessageformstringNo
QueryNotification Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
ChannelformstringNo
SentByUserIdformintNo
SentByUserNameformstringNo
SentDateformDateTime?No
SentTimeformstringNo
ReplyByUserIdformintNo
ReplyByUserNameformstringNo
ReplyDateformDateTime?No
ReplyTimeformstringNo
QueryCategoryformstringNo
MessageformstringNo
NotificationTypeformstringNo
HasRepliedformbool?No
QueryIdformint?No
SentToIdformintNo

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.

GET /notification/query_notification HTTP/1.1 
Host: api.fxlink.co.za 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"totalUnread":0,"result":[{"id":0,"channel":"String","sentByUserId":0,"sentByUserName":"String","sentDate":"0001-01-01","sentTime":"String","replyByUserId":0,"replyByUserName":"String","replyDate":"0001-01-01","replyTime":"String","queryCategory":"String","message":"String","notificationType":"String","hasReplied":false,"queryId":0,"sentToId":0}],"message":"String"}