Ascio Web Service v3
Class UploadMessageRequest
Property | Description |
---|---|
OrderId | Example: "TEST123456" |
Message |
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;
UploadMessageRequest uploadMessageRequest = new UploadMessageRequest();
uploadMessageRequest.OrderId = "TEST123456";
uploadMessageRequest.OrderIdSpecified = true;
uploadMessageRequest.Message = message;
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.
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.