Ascio Web Service v3
Class Message
| Property | Description |
|---|---|
| Attachments | |
| Body | |
| Created | |
| FromAddress | Example: "administrator@ascio-test-domain.com" |
| Subject | Example: "base64-encoded or 7 Bit ASCII" |
| ToAddress | |
| Type | Example: "owner" |
<?php
namespace ascio\v3\examples;
require("../service/autoload.php");
require("../../lib/AscioConfig.php");
use ascio\v3 as ascio;
$attachment = new ascio\Attachment();
$attachment->setFileName("anything.jpg");
$attachment->setContent(base64_encode(123));
$attachments = new ascio\ArrayOfAttachment();
$attachments->setAttachment([$attachment]);
$message = new ascio\Message();
$message->setAttachments($attachments);
$message->setBody("BodyTest");
$message->setCreated(new \DateTime());
$message->setFromAddress("administrator@ascio-test-domain.com");
$message->setSubject("base64-encoded or 7 Bit ASCII");
$message->setToAddress("ToAddressTest");
$message->setType(ascio\MessageType::MessageToPartner);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.