getMessage
- Home
- Messaging
- UgcMessage
- getMessage
getMessage
Fetches all the information associated with a specific message(s).
Parameters
Name | Description |
messageID optional | The system identifier for a specific message. |
messageIDs optional | The system identifier for specific messages. |
output optional | The response output format. Accepts JSON and XML. |
Request Syntax
https://services.onesite.com/rest/ugcMessage?action=getMessage&messageID=259656243&devkey=[devkey] |
JSON Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
{ "service":"ugcMessage", "action":"getMessage", "item":[ { "message_id":"259656243", "subject":"Testing", "body":"Hey%2C+how%27s+it+going%3F", "sent_date":"1550169630", "sender_id":"229928503", "recipients":[ "229751571", "229829209" ] } ], "code":1, "message":"Success" } |
Service Information
Service | ugcMessage |
Method | getMessage |
Type | REST |
Response Types | JSON, XML |