{"__v":8,"_id":"571520d6ff0cce190056ee35","category":{"project":"57151dca3b689d20001d20ff","version":"57151dca3b689d20001d2102","_id":"57151dca3b689d20001d2103","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-04-18T17:47:54.371Z","from_sync":false,"order":9999,"slug":"documentation","title":"Documentation"},"project":"57151dca3b689d20001d20ff","user":"5564f227f0f70f0d00a9ab20","version":{"__v":2,"_id":"57151dca3b689d20001d2102","hasDoc":true,"hasReference":true,"project":"57151dca3b689d20001d20ff","createdAt":"2016-04-18T17:47:54.351Z","releaseDate":"2016-04-18T17:47:54.351Z","categories":["57151dca3b689d20001d2103","5715202cb54f5c19007686f4"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-04-18T18:00:54.074Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[]},"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":999,"body":"[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"properties:\\n  subject: 'meshblu.request'\\n  replyTo: 'ca3b867c-cc46-4d40-a2b7-34259690dc38.response'\\n  correlationId: '71027de4-f6ed-4431-b548-679fd1f5c154'\\napplicationProperties:\\n  jobType: 'SendMessage'\\nbody: '{\\\"devices\\\":[\\\"*\\\"],\\\"payload\\\":\\\"HI\\\"}'\",\n      \"language\": \"coffeescript\",\n      \"name\": \"Request\"\n    }\n  ]\n}\n[/block]\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"properties:\\n  subject: 'ca3b867c-cc46-4d40-a2b7-34259690dc38.response'\\n  correlationId: '71027de4-f6ed-4431-b548-679fd1f5c154'\\napplicationProperties:\\n  statusCode: 204\\nbody: '{}'\",\n      \"language\": \"coffeescript\",\n      \"name\": \"Response\"\n    }\n  ]\n}\n[/block]","excerpt":"Send a Meshblu message to another device","slug":"send-message","type":"basic","title":"Send Message"}

Send Message

Send a Meshblu message to another device

[block:code] { "codes": [ { "code": "properties:\n subject: 'meshblu.request'\n replyTo: 'ca3b867c-cc46-4d40-a2b7-34259690dc38.response'\n correlationId: '71027de4-f6ed-4431-b548-679fd1f5c154'\napplicationProperties:\n jobType: 'SendMessage'\nbody: '{\"devices\":[\"*\"],\"payload\":\"HI\"}'", "language": "coffeescript", "name": "Request" } ] } [/block] [block:code] { "codes": [ { "code": "properties:\n subject: 'ca3b867c-cc46-4d40-a2b7-34259690dc38.response'\n correlationId: '71027de4-f6ed-4431-b548-679fd1f5c154'\napplicationProperties:\n statusCode: 204\nbody: '{}'", "language": "coffeescript", "name": "Response" } ] } [/block]