| 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 .jsv suffix or ?format=jsv
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: text/jsv
Content-Type: text/jsv
Content-Length: length
{
CommsPublicAccessGuid: 00000000000000000000000000000000,
CustomersId: 0,
UpdatedAddress: String,
UpdatedAge: 0,
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: 0001-01-01,
UpdatedCountry: String,
UpdatedPassportNumber: String,
StatusCodesId: 0,
Reason: String,
CampaignsId: 0,
CapturedDate: 0001-01-01T00:00:00.0000000+00:00,
UpdatedIdUrl: String,
UpdatedPassportUrl: String,
UpdatedAddressUrl: String
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length False