| Requires any of the roles: | Client, Admin, Partner |
| GET | /customers |
|---|
"use strict";
export class CustomersLookup {
/** @param {{TenantsId?:number,UserAuthId?:number,SegmentsId?:number,CompaniesId?:number,CurrenciesId?:number,Address?:string,Age?:number,City?:string,ContactNumber?:string,Email?:string,EthnicGroup?:string,FirstName?:string,Gender?:string,HomeLanguage?:string,IdNumber?:string,LastName?:string,PostalCode?:string,Region?:string,Suburb?:string,UniqueIdentifier?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
TenantsId;
/** @type {?number} */
UserAuthId;
/** @type {number} */
SegmentsId;
/** @type {?number} */
CompaniesId;
/** @type {?number} */
CurrenciesId;
/** @type {string} */
Address;
/** @type {?number} */
Age;
/** @type {string} */
City;
/** @type {string} */
ContactNumber;
/** @type {string} */
Email;
/** @type {string} */
EthnicGroup;
/** @type {string} */
FirstName;
/** @type {string} */
Gender;
/** @type {string} */
HomeLanguage;
/** @type {string} */
IdNumber;
/** @type {string} */
LastName;
/** @type {string} */
PostalCode;
/** @type {string} */
Region;
/** @type {string} */
Suburb;
/** @type {string} */
UniqueIdentifier;
}
JavaScript CustomersLookup DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /customers HTTP/1.1 Host: duengageapi.uat.scadsoftware.com Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
[{"TenantsId":0,"UserAuthId":0,"SegmentsId":0,"CompaniesId":0,"CurrenciesId":0,"Address":"String","Age":0,"City":"String","ContactNumber":"String","Email":"String","EthnicGroup":"String","FirstName":"String","Gender":"String","HomeLanguage":"String","IdNumber":"String","LastName":"String","PostalCode":"String","Region":"String","Suburb":"String","UniqueIdentifier":"String","ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}]