Ascio Web Service v3

Class GetMessagesResponse

PropertyDescription
GetMessagesResult
Messages
ResultCodeExample: 1
ResultMessage
Errors

Used in Classes

Used in examples

AscioServices services = new ServiceReference1.AscioServiceClient();
SecurityHeaderDetails securityHeader = new SecurityHeaderDetails();
securityHeader.Account = "username";
securityHeader.Password = "password";

Attachment attachment =  new Attachment();
attachment.FileName = "anything.jpg";
attachment.FileNameSpecified = true;
attachment.Content = base64_encode(123);
attachment.ContentSpecified = true;

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

Message message =  new Message();
message.Attachments = attachments;
message.Body = "BodyTest";
message.BodySpecified = true;
message.Created = new \DateTime();
message.CreatedSpecified = true;
message.FromAddress = "administrator@ascio-test-domain.com";
message.FromAddressSpecified = true;
message.Subject = "base64-encoded or 7 Bit ASCII";
message.SubjectSpecified = true;
message.ToAddress = "ToAddressTest";
message.ToAddressSpecified = true;
message.Type = MessageType.MessageToPartner;
message.TypeSpecified = true;

ArrayOfMessage messages =  new ArrayOfMessage(array($message));

GetMessagesResponse getMessagesResponse =  new GetMessagesResponse();
getMessagesResponse.ResultCode = 1;
getMessagesResponse.ResultCodeSpecified = true;
getMessagesResponse.ResultMessage = "ResultMessageTest";
getMessagesResponse.ResultMessageSpecified = true;
getMessagesResponse.Errors = array(
	);
getMessagesResponse.Messages = messages;
WSDL for AWS v3
https://aws.demo.ascio.com/v3/aws.wsdl (OTE)
https://aws.ascio.com/v3/aws.wsdl (Live)
Please configure the IP-Whitelisting in the portal/demo-portal.