//-- Intent: return the text content of the pager_content object --//


var jsonString = ' \
{ \
	"SpokenLanguage":"English", \
	"Subject":"my subject", \
	"Body": \
		[{ \
			"$type":"SwiftReach.Swift911.Core.Messages.Pager.PAGER_TEXT_SOURCE_TEXT, SwiftReach.Swift911.Core", \
			"Text":"this is the body of my message", \
			"TextType":"pager_text_source_text" \
		}] \
}';

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

});


<!-- Example Return Value -->

'this is the body of my message'