//-- Intent: Create a new Pager message using a minimal set of options --//


var jsonString = ' \
{ \
	"Name":"API JSON SIMPLE Message 2", \
	"Description":"created by JSON api 2", \
	"From":"2012361344", \
	"Subject":"my subject", \
	"Body":"this is the body of my Message ", \
}';

$.ajax({
  type: "POST",
  contentType: "application/json; charset=utf-8",
  headers: {"SwiftAPI-Key": "12345"},
  url: "http://api.v4.swiftreach.com/api/Messages/Pager/Create/Simple",
  data: jsonString,
  dataType: "json"
  success: function(result) {
        // Do something with the result
    }

});

<!-- example return value -->
123456