Ascio Web Service v2

Class UploadMessage

PropertyDescription
sessionIdExample: o58t9fjgw9bjarp6q7byv13e
orderId
message
AscioServices services = new ServiceReference1.AscioServices();


Attachment attachment =  new Attachment();
attachment.Data = "DataTest";
attachment.FileName = "anything.jpg";

ArrayOfAttachment attachments =  new ArrayOfAttachment(array($attachment));

Message message =  new Message();
message.Attachments = attachments;
message.Body = "BodyTest";
message.Created = "CreatedTest";
message.FromAddress = "administrator@ascio-test-domain.com";
message.Subject = "base64-encoded or 7 Bit ASCII";
message.ToAddress = "ToAddressTest";
message.Type = MessageType.Message_to_Partner;;
Response response = services.UploadMessage(todo);

if (response.ResultCode == 200) {
	Console.WriteLine("OK");
} else {
	Console.WriteLine("Error: "+response.ResultMessage+" ("+response.resultMessage+")";
}
WSDL for AWS v2
https://aws.demo.ascio.com/2012/01/01/AscioService.wsdl (OTE)
https://aws.ascio.com/2012/01/01/AscioService.wsdl (Live)
Please configure the IP-Whitelisting in the portal/demo-portal.