Ascio Web Service v3

Class GetAttachmentResponse

PropertyTypeDescription
GetAttachmentResult
Attachment
ResultCodeExample: 1
ResultMessage
Errors

Used in Classes

Used in examples

<?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));

$getAttachmentResponse =  new ascio\GetAttachmentResponse();
$getAttachmentResponse->setResultCode(1);
$getAttachmentResponse->setResultMessage("ResultMessageTest");
$getAttachmentResponse->setErrors([
]);
$getAttachmentResponse->setAttachment($attachment);
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.