| PUT POST | /campaign/verifycustomer | Verify Campaign Customer |
|---|
"use strict";
export class CampaignVerifyCustomer {
/** @param {{CommsPublicAccessGuid?:string,CustomersId?:number,UpdatedAddress?:string,UpdatedAge?:number,UpdatedCity?:string,UpdatedContactNumber?:string,UpdatedEmail?:string,UpdatedEthnicGroup?:string,UpdatedFirstName?:string,UpdatedGender?:string,UpdatedHomeLanguage?:string,UpdatedIdNumber?:string,UpdatedLastName?:string,UpdatedPostalCode?:string,UpdatedRegion?:string,UpdatedSuburb?:string,UpdatedUniqueIdentifier?:string,UpdatedBirthDate?:string,UpdatedCountry?:string,UpdatedPassportNumber?:string,StatusCodesId?:number,Reason?:string,CampaignsId?:number,CapturedDate?:string,UpdatedIdUrl?:string,UpdatedPassportUrl?:string,UpdatedAddressUrl?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
CommsPublicAccessGuid;
/** @type {number} */
CustomersId;
/** @type {string} */
UpdatedAddress;
/** @type {?number} */
UpdatedAge;
/** @type {string} */
UpdatedCity;
/** @type {string} */
UpdatedContactNumber;
/** @type {string} */
UpdatedEmail;
/** @type {string} */
UpdatedEthnicGroup;
/** @type {string} */
UpdatedFirstName;
/** @type {string} */
UpdatedGender;
/** @type {string} */
UpdatedHomeLanguage;
/** @type {string} */
UpdatedIdNumber;
/** @type {string} */
UpdatedLastName;
/** @type {string} */
UpdatedPostalCode;
/** @type {string} */
UpdatedRegion;
/** @type {string} */
UpdatedSuburb;
/** @type {string} */
UpdatedUniqueIdentifier;
/** @type {?string} */
UpdatedBirthDate;
/** @type {string} */
UpdatedCountry;
/** @type {string} */
UpdatedPassportNumber;
/** @type {number} */
StatusCodesId;
/** @type {string} */
Reason;
/** @type {number} */
CampaignsId;
/** @type {string} */
CapturedDate;
/** @type {string} */
UpdatedIdUrl;
/** @type {string} */
UpdatedPassportUrl;
/** @type {string} */
UpdatedAddressUrl;
}
JavaScript CampaignVerifyCustomer 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 /campaign/verifycustomer HTTP/1.1
Host: duengageapi.uat.scadsoftware.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<CampaignVerifyCustomer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/digitaluapi.ServiceModel">
<CampaignsId>0</CampaignsId>
<CapturedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DateTime>0001-01-01T00:00:00Z</d2p1:DateTime>
<d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
</CapturedDate>
<CommsPublicAccessGuid>00000000-0000-0000-0000-000000000000</CommsPublicAccessGuid>
<CustomersId>0</CustomersId>
<Reason>String</Reason>
<StatusCodesId>0</StatusCodesId>
<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>
</CampaignVerifyCustomer>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">false</boolean>