Données d’entrée

La multisource•api peut traiter les données entrantes de deux manières : soit directement via l’API (AddRecords), soit par téléversement de fichier.

AddRecords (entrée basée sur l’API)

Le mappage et l’intégration des données peuvent être effectués directement via l’API.

put
/AddressProcessing/AddRecords
Autorisations
AuthorizationstringRequis

Please enter a valid token

Paramètres de requête
idinteger · int32Optionnel
uidstring · uuidOptionnel
Corpsobject[]
customerIdstring | nullableOptionnel
classificationstring | nullableOptionnel
dwhIdstring | nullableOptionnel
beacinteger · int32 | nullableOptionnel
egidstring | nullableOptionnel
edidstring | nullableOptionnel
postAddressIdstring | nullableOptionnel
firstnamestring | nullableOptionnel
companyNamestring | nullableOptionnel
namestring | nullableOptionnel
birthDatestring | nullableOptionnel
streetstring | nullableOptionnel
streetNostring | nullableOptionnel
streetAddstring | nullableOptionnel
careOfstring | nullableOptionnel
poBoxstring | nullableOptionnel
poZipstring | nullableOptionnel
poTownstring | nullableOptionnel
zipstring | nullableOptionnel
townstring | nullableOptionnel
mobileNostring | nullableOptionnel
phoneNostring | nullableOptionnel
emailstring | nullableOptionnel
uidstring | nullableOptionnel
chnrstring | nullableOptionnel
freetext1string | nullableOptionnel
freetext2string | nullableOptionnel
freetext3string | nullableOptionnel
freetext4string | nullableOptionnel
freetext5string | nullableOptionnel
Réponses
200

OK

Aucun contenu

put
/AddressProcessing/AddRecords
PUT /v2/AddressProcessing/AddRecords HTTP/1.1
Host: api.multisource.ch
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 509

[
  {
    "customerId": "text",
    "classification": "text",
    "dwhId": "text",
    "beac": 1,
    "egid": "text",
    "edid": "text",
    "postAddressId": "text",
    "firstname": "text",
    "companyName": "text",
    "name": "text",
    "birthDate": "text",
    "street": "text",
    "streetNo": "text",
    "streetAdd": "text",
    "careOf": "text",
    "poBox": "text",
    "poZip": "text",
    "poTown": "text",
    "zip": "text",
    "town": "text",
    "mobileNo": "text",
    "phoneNo": "text",
    "email": "text",
    "uid": "text",
    "chnr": "text",
    "freetext1": "text",
    "freetext2": "text",
    "freetext3": "text",
    "freetext4": "text",
    "freetext5": "text"
  }
]
200

OK

Aucun contenu

Téléversement de fichier

Les données clients peuvent être téléversées dans un format structuré au choix, par exemple TXT, CSV, TSV ou XLSX.

Deux options de mappage sont disponibles :

Mappage standard

La multisource•api met à disposition un mappage standard préconfiguré couvrant les champs les plus courants (nom, prénom, rue, numéro, NPA, localité, etc.).

Mappage personnalisé

Un mappage spécifique au client peut également être défini. Celui-ci est élaboré conjointement lors de la phase d’onboarding.

Il est également possible de définir plusieurs mappages en parallèle – par exemple lorsque les données proviennent de différents systèmes sources avec des structures de champs variées.

L’API est en mesure de traiter pratiquement tout format de données structuré.

Pour un appariement optimal, il est recommandé de renseigner au minimum les champs nom, prénom, rue, numéro, NPA et localité.

post
/AddressProcessing/FileUpload
Autorisations
AuthorizationstringRequis

Please enter a valid token

Paramètres de requête
batchIdinteger · int32Optionnel
batchUidstring · uuidOptionnel
descriptionstringOptionnel
Corps
filestring · binaryOptionnel
Réponses
200

OK

Aucun contenu

post
/AddressProcessing/FileUpload
POST /v2/AddressProcessing/FileUpload HTTP/1.1
Host: api.multisource.ch
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: multipart/form-data
Accept: */*
Content-Length: 17

{
  "file": "binary"
}
200

OK

Aucun contenu

Mis à jour