//-- Intent: retrieve the profile for faxmessage with faxcode of 100000 --//



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

});

<!-- example return value -->
{
	"Body":
		[
			{
				"$type":"SwiftReach.Swift911.Core.Messages.Voice.FAX_TEXT_SOURCE_TEXT, SwiftReach.Swift911.Core",
				"Text":"this is the body of my fax",
				"TextType":0
			}
		],
	"CallerID":"2012361344",
	"CapacityLimit":0,
	"RingSeconds":60,
	"CongestionAttempts":3,
	"AutoRetries":1,
	"AutoRetriesInterval":3,
	"EnableWaterfall":false,
	"EnableAnsweringMachineDetection":false,
	"CreateStamp":"2013-03-25T11:20:37.01",
	"ChangeStamp":"2013-03-25T11:20:37.01",
	"LastUsed":"0001-01-01T00:00:00",
	"CreatedByUser":"sample",
	"ChangedByUser":"",
	"Name":"API Fax 2",
	"Description":"created by api",
	"VoiceCode":659737,
	"VoiceType":19,
	"Visibility":0,
	"DeleteLocked":false
}