| All Verbs | /query_notification/{Id} |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Channel | query | string | No | |
| ToUserId | query | string | No | |
| Message | query | string | No | |
| QueryId | query | string | 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 | |
| QueryCategory | form | string | No | |
| Message | form | string | No | |
| NotificationType | form | string | No | |
| HasReplied | form | bool? | No | |
| QueryId | form | int? | No | |
| SentToId | form | int | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /query_notification/{Id} HTTP/1.1
Host: api.fxlink.co.za
Accept: application/json
Content-Type: application/json
Content-Length: length
{"channel":"String","toUserId":"String","message":"String","queryId":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"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}