POST | /User/Notification/GroupMessage |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
RoomJID | body | string | No | |
Message | body | string | No | |
MediaID | body | int | No | |
MediaType | body | MediaType | No | |
MessageDetail | body | Detail | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
FromJid | form | string | No | |
ToJid | form | string | No | |
MsgId | form | string | No | |
MsgType | form | string | No | |
Data | form | MsgBody | No | |
Time | form | long | No | |
ChatType | form | string | No | |
ConvId | form | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Text | form | string | No | |
Image | form | Image | No | |
VideoFile | form | VideoFile | No | |
Gallery | form | Gallery | No | |
Gift | form | Gift | No | |
Gif | form | Gif | No | |
Video | form | Video | No | |
Reactions | form | Reaction | No | |
ShareLocation | form | ShareLocation | No | |
ShareDate | form | ShareDate | No | |
ShareEvent | form | ShareEvent | No | |
ShareEventTicket | form | ShareEvent | No | |
QuotedMessage | form | QuotedMessage | No | |
Expts | form | long | No | |
IsRecvMatching | form | bool | No | |
IsSenderMatching | form | bool | No | |
SenderMemberLevel | form | int | No | |
RecvMemberLevel | form | int | No | |
InviteGroupChat | form | InviteGroupChat | No | |
JoinGroupChat | form | JoinGroupChat | No | |
LeaveGroupChat | form | LeaveGroupChat | No | |
RemovedFromGroup | form | RemovedFromGroup | No | |
ProfilePhotoComment | form | ProfilePhotoComment | No | |
InviteGroup | form | InviteGroup | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
PhotoId | form | int | No | |
ThumbUrl | form | string | No | |
FullUrl | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
VideoId | form | int | No | |
ThumbUrl | form | string | No | |
Duration | form | int | No | |
OwnerUserId | form | long | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
GalleryId | form | int | No | |
ImageCount | form | int | No | |
Name | form | string | No | |
friendId | form | long | No | |
hasRestricted | form | bool | No | |
isGranted | form | bool | No | |
isPublic | form | bool | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
GiftId | form | int | No | |
Name | form | string | No | |
Description | form | string | No | |
Diamonds | form | int | No | |
Level | form | int | No | |
Price | form | int | No | |
Data | form | string | No | |
ImageUrl | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
FixedWidth | form | string | No | |
Original | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
RequestType | form | string | No | |
Value | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ToMsgId | form | string | No | |
Unicode | form | string | No | |
Clear | form | bool | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Latitude | form | double | No | |
Longitude | form | double | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
RefMsgId | form | string | No | |
RefUserId | form | long | No | |
RefMsgType | form | string | No | |
RefMsgShortDesc | form | string | No | |
RefDisplayName | form | string | No | |
RefMsgExpTs | form | long | No | |
RefMsgTitle | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
RoomJID | form | string | No | |
Value | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
UserId | form | long | No | |
Value | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
UserId | form | long | No | |
Value | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
UserId | form | long | No | |
Value | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
UserID | form | long | No | |
PhotoID | form | string | No | |
ThumbURL | form | string | No | |
FullURL | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
GroupID | form | int | No | |
Value | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Success | form | bool | No | |
ErrorCode | form | string | No | |
ErrorMsg | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /User/Notification/GroupMessage HTTP/1.1
Host: tstsrvs.redhotpie.com.au
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"RoomJID":"String","Message":"String","MediaID":0,"MediaType":"Undefined","MessageDetail":{"fromJid":"String","toJid":"String","msgId":"String","msgType":"String","data":{"text":"String","image":{"photoId":0,"thumbUrl":"String","fullUrl":"String"},"videoFile":{"videoId":0,"thumbUrl":"String","duration":0,"ownerUserId":0},"gallery":{"galleryId":0,"imageCount":0,"name":"String","friendId":0,"hasRestricted":false,"isGranted":false,"isPublic":false},"gift":{"giftId":0,"name":"String","description":"String","diamonds":0,"level":0,"price":0,"data":"String","imageUrl":"String"},"gif":{"fixedWidth":"String","original":"String"},"video":{"requestType":"String","value":"String"},"reactions":{"toMsgId":"String","unicode":"String","clear":false},"shareLocation":{"latitude":0,"longitude":0},"shareDate":{"id":0},"shareEvent":{"id":0},"shareEventTicket":{"id":0},"quotedMessage":{"refMsgId":"String","refUserId":0,"refMsgType":"String","refMsgShortDesc":"String","refDisplayName":"String","refMsgExpTs":0,"refMsgTitle":"String"},"expts":0,"isRecvMatching":false,"isSenderMatching":false,"senderMemberLevel":0,"recvMemberLevel":0,"inviteGroupChat":{"roomJid":"String","value":"String"},"joinGroupChat":{"userId":0,"value":"String"},"leaveGroupChat":{"userId":0,"value":"String"},"removedFromGroup":{"userId":0,"value":"String"},"profilePhotoComment":{"userId":0,"photoId":"String","thumbUrl":"String","fullUrl":"String"},"inviteGroup":{"groupId":0,"value":"String"}},"time":0,"chatType":"String","convId":0}}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"Success":false,"ErrorCode":"String","ErrorMsg":"String"}