//-- Intent: retrieve the profile for voice message with voicecode of 100000 --//




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

});

//-- Sample Return Value --//

{
	"AutoReplays":0,
	"RoutingPhone":"2012361344",
	"EnableAnsweringMachineMessage":false,
	"ContentProfile":[{
			"SpokenLanguage":"English",
			"TTY_Text":null,
			"VoiceItem":[{
					"VoiceItemType":1,
					"AudioSource":[{
							"$type":"SwiftReach.Swift911.Core.Messages.Voice.AUDIO_SOURCE_VOICE, SwiftReach.Swift911.Core",
							"VoiceCode":100307,
							"Content":"this is just a test. press any key and you can talk to someone.",
							"AutoGenerateVoice":false,
							"FileVersion":0,
							"AudioType":0
							}]
					}]
			}],
	"DefaultSpokenLanguage":"English",
	"BridgeDTMF":null,
	"CallerID":"2012361344",
	"CapacityLimit":0,
	"RingSeconds":60,
	"CongestionAttempts":3,
	"AutoRetries":0,
	"AutoRetriesInterval":3,
	"EnableWaterfall":false,
	"EnableAnsweringMachineDetection":false,
	"CreateStamp":"2012-09-21T17:31:41.06",
	"ChangeStamp":"2012-09-21T17:31:41.06",
	"LastUsed":"0001-01-01T00:00:00",
	"CreatedByUser":"sample",
	"ChangedByUser":"",
	"Name":"The Voice Link",
	"Description":"this is a test",
	"VoiceCode":647007,
	"VoiceType":17,
	"Visibility":0,
	"DeleteLocked":false
}