| All Verbs | /report/customerverifications/{PublicAccessGuid} |
|---|
<?php namespace dtos;
use DateTime;
use Exception;
use DateInterval;
use JsonSerializable;
use ServiceStack\{IReturn,IReturnVoid,IGet,IPost,IPut,IDelete,IPatch,IMeta,IHasSessionId,IHasBearerToken,IHasVersion};
use ServiceStack\{ICrud,ICreateDb,IUpdateDb,IPatchDb,IDeleteDb,ISaveDb,AuditBase,QueryDb,QueryDb2,QueryData,QueryData2,QueryResponse};
use ServiceStack\{ResponseStatus,ResponseError,EmptyResponse,IdResponse,ArrayList,KeyValuePair2,StringResponse,StringsResponse,Tuple2,Tuple3,ByteArray};
use ServiceStack\{JsonConverters,Returns,TypeContext};
class GetCustomerVerificationsView implements JsonSerializable
{
public function __construct(
// @Required()
/** @var string */
public string $PublicAccessGuid=''
) {
}
/** @throws Exception */
public function fromMap($o): void {
if (isset($o['PublicAccessGuid'])) $this->PublicAccessGuid = $o['PublicAccessGuid'];
}
/** @throws Exception */
public function jsonSerialize(): mixed
{
$o = [];
if (isset($this->PublicAccessGuid)) $o['PublicAccessGuid'] = $this->PublicAccessGuid;
return empty($o) ? new class(){} : $o;
}
}
PHP GetCustomerVerificationsView DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /report/customerverifications/{PublicAccessGuid} HTTP/1.1
Host: duengageapi.uat.scadsoftware.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<GetCustomerVerificationsView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/digitaluapi.ServiceModel">
<PublicAccessGuid>00000000-0000-0000-0000-000000000000</PublicAccessGuid>
</GetCustomerVerificationsView>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<ArrayOfReportsCustomersVerificationsView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/digitaluapi.ServiceModel.Types">
<ReportsCustomersVerificationsView>
<Address>String</Address>
<Age>0</Age>
<BirthDate>0001-01-01T00:00:00</BirthDate>
<CampaignPublicAccessGuid>00000000-0000-0000-0000-000000000000</CampaignPublicAccessGuid>
<CampaignsId>0</CampaignsId>
<CapturedDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
<d3p1:DateTime>0001-01-01T00:00:00Z</d3p1:DateTime>
<d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
</CapturedDate>
<City>String</City>
<ContactNumber>String</ContactNumber>
<Country>String</Country>
<CurrenciesId>0</CurrenciesId>
<CustomersId>0</CustomersId>
<CustomersUniqueIdentifier>String</CustomersUniqueIdentifier>
<Email>String</Email>
<EthnicGroup>String</EthnicGroup>
<FirstName>String</FirstName>
<Gender>String</Gender>
<HomeLanguage>String</HomeLanguage>
<Id>0</Id>
<IdNumber>String</IdNumber>
<LastName>String</LastName>
<PassportNumber>String</PassportNumber>
<PostalCode>String</PostalCode>
<PublicAccessGuid>00000000-0000-0000-0000-000000000000</PublicAccessGuid>
<Reason>String</Reason>
<Region>String</Region>
<StatusCodesId>0</StatusCodesId>
<Suburb>String</Suburb>
<UniqueIdentifier>String</UniqueIdentifier>
<UpdatedAddress>String</UpdatedAddress>
<UpdatedAddressUrl>String</UpdatedAddressUrl>
<UpdatedAge>0</UpdatedAge>
<UpdatedBirthDate>0001-01-01T00:00:00</UpdatedBirthDate>
<UpdatedCity>String</UpdatedCity>
<UpdatedContactNumber>String</UpdatedContactNumber>
<UpdatedCountry>String</UpdatedCountry>
<UpdatedEmail>String</UpdatedEmail>
<UpdatedEthnicGroup>String</UpdatedEthnicGroup>
<UpdatedFirstName>String</UpdatedFirstName>
<UpdatedGender>String</UpdatedGender>
<UpdatedHomeLanguage>String</UpdatedHomeLanguage>
<UpdatedIdNumber>String</UpdatedIdNumber>
<UpdatedIdUrl>String</UpdatedIdUrl>
<UpdatedLastName>String</UpdatedLastName>
<UpdatedPassportNumber>String</UpdatedPassportNumber>
<UpdatedPassportUrl>String</UpdatedPassportUrl>
<UpdatedPostalCode>String</UpdatedPostalCode>
<UpdatedRegion>String</UpdatedRegion>
<UpdatedSuburb>String</UpdatedSuburb>
<UpdatedUniqueIdentifier>String</UpdatedUniqueIdentifier>
</ReportsCustomersVerificationsView>
</ArrayOfReportsCustomersVerificationsView>