POST call, passing a JSON body as specified below.| Field | Description | Type | Mandatory |
|---|---|---|---|
| subjectsRecords | Array of attribues objecs | See below for the the object structure To update an attribute also specify the progId, which is the identifier for the attribute | ā |
subjectsRecords: [{
subjects:{
customerCode: "13245",
system: "DW",
subjectName: "Alessandro",
subjectName2: "Gino",
subjectSurname: "Covris",
subjectCompanyName: "Sinesy",
subjectType: "FIDELITY",
subjectSubtype: "4",
extSubCompanyName: "",
subjectDenomination: "",
lawNature: "",
address1: "via Pordenone 1",
address2: "",
zipCode: "33170",
municipality: "",
city: "Pordenone",
province: "PN",
region: "FVG",
state: "",
country: "IT",
latitude: "",
longitude: "",
language: "",
currency: "EUR",
note: "",
sex: "M",
birthday: "",
birthPlace: "",
countryBirth: "IT",
fiscalCode: "",
companyVatCode: "",
idCard: "",
passport: "",
maritialStatus: "",
occupation: "",
title: "",
origin: "",
functionCode: "",
saleChannel: "",
organizationLevel: "",
territory: "",
purchaseInclination: "",
employeesNumber: 60,
employeesDate: "",
attractionLevel: "",
identificationLevel: "",
subjectBlockReason: "",
oldSubjectCode: "",
poBox: "",
payment: "",
discount: 0,
decisionLevel: "",
isCompany: "F",
macAddress: "",
ecommerceLastVisit: "2016-03-24",
ecommerceLastLogin: "2016-03-24",
ecommerceGuestRegister: "",
discountAuthorization: "",
childNumber: 2,
foreignPerson: "F",
maximumValue: 1000
},
contacts: [{
contactType: "PHONE",
value: "1234567890"
},{
contactType: "EMAIL",
value: "test.test@test.it"
}]
{
success: true,
code: 200,
message: "Anonimizzazione riuscita con successo.",
errorObjects: [],
anonymizedObjects: [
{
progId: 2000,
customerCode: "456"
}
]
}