send
send
Sends a message from a user to other users.
Parameters
Name | Description |
sender optional | The userID of the new message sender. |
nodeID optional | The primary identifier for your network. |
recipients optional | Comma delimited string of user ids of the new message recipients. |
subject optional | The subject of the new message. |
message optional | The message body of the new message. |
folderID optional | The folder identifier. |
output optional | The response output format. Accepts JSON and XML. |
Request Syntax
https://services.onesite.com/rest/ugcMessage?action=send&sender=229928503&recipients=229751571,229829209&subject=Testing&message=Hey%2C+how%27s+it+going%3F&nodeID=188234&devkey=[devkey] |
JSON Response
1 2 3 4 5 6 7 8 9 10 11 |
{ "service":"ugcMessage", "action":"send", "item":{ "1":{ "message_id":259656231 } }, "message":"Your message has been sent successfully!", "code":1 } |
Service Information
Service | ugcMessage |
Method | send |
Type | REST |
Response Types | JSON, XML |