| All Verbs | /tradequote_notification/create/home |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Channel | query | string | No | |
| SentByUserId | query | int | No | |
| SentByUserName | query | string | No | |
| SentDate | query | DateTime? | No | |
| SentTime | query | string | No | |
| ReplyByUserId | query | int | No | |
| ReplyByUserName | query | string | No | |
| ReplyDate | query | DateTime? | No | |
| ReplyTime | query | string | No | |
| ClientName | query | string | No | |
| Message | query | string | No | |
| NotificationType | query | string | No | |
| HasReplied | query | bool? | No | |
| TradeQuoteId | query | int? | No | |
| SentToId | query | int | No | |
| TradeQuoteNotification | query | TradeQuoteNotification | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| Channel | form | string | No | |
| SentByUserId | form | int | No | |
| SentByUserName | form | string | No | |
| SentDate | form | DateTime? | No | |
| SentTime | form | string | No | |
| ReplyByUserId | form | int | No | |
| ReplyByUserName | form | string | No | |
| ReplyDate | form | DateTime? | No | |
| ReplyTime | form | string | No | |
| ClientName | form | string | No | |
| Message | form | string | No | |
| NotificationType | form | string | No | |
| HasReplied | form | bool? | No | |
| TradeQuoteId | form | int? | No | |
| SentToId | form | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Result | form | TradeQuoteNotification | No | |
| NotificationMessage | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /tradequote_notification/create/home HTTP/1.1
Host: api.fxhub.co.za
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
channel: String,
sentByUserId: 0,
sentByUserName: String,
sentDate: 0001-01-01,
sentTime: String,
replyByUserId: 0,
replyByUserName: String,
replyDate: 0001-01-01,
replyTime: String,
clientName: String,
message: String,
notificationType: String,
hasReplied: False,
tradeQuoteId: 0,
sentToId: 0,
tradeQuoteNotification:
{
id: 0,
channel: String,
sentByUserId: 0,
sentByUserName: String,
sentDate: 0001-01-01,
sentTime: String,
replyByUserId: 0,
replyByUserName: String,
replyDate: 0001-01-01,
replyTime: String,
clientName: String,
message: String,
notificationType: String,
hasReplied: False,
tradeQuoteId: 0,
sentToId: 0
}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
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,
clientName: String,
message: String,
notificationType: String,
hasReplied: False,
tradeQuoteId: 0,
sentToId: 0
},
notificationMessage: String
}