Résumé
Manipulation de l'entité CustomerAddress (Adresses des clients) en lecture/écriture/suppression via un objet métier depuis une application externe.
Tables
Les tables utilisées sont :
...
sw_data_customerbilling : Table des tiers facturés
Critères d'activation
WHK_CustomerAddress est défini dans la gestion des webhooks du studio.
Fonctionnement
verb: GET
resultType: simple
...
Bloc de code | ||
---|---|---|
| ||
"customeraddress":{ "codecustomeraddress":"C0000001-BDX", "customer_ID":"C0000001", "name":"ENTREPÔT GUICHARD", "address1":"15 Avenue Champollion", "address2":"", "address3":"", "postalCode":"21000 ", "city":"Dijon", "phoneNumber":"03 90 22 75 45", "faxNumber":"03 90 22 75 40", "mobilePhoneNumber":"", "email":"", "generictype_ID_country":"FR", "generictype_ID_province":"", "baseculture_ID":"", "branchoffice_ID":"", "site":"1", "siteCode": "BDX", "siteName": "Entrepôt Dijon", "areaCode":"", "contact":"", "gpsLongitude":"5.06764", "gpsLatitude":"47.33379", "billingAddress":"", "defaultBillingAddress":"", "deliveryAddress":"", "defaultDeliveryAddress":"", "accessCode":"", "floor":"", "apartment":"", "miscInfos":"", "baseuser_ID_favoriteTechnician":"", "erpAddressID":"BDX", "bankholidayparamheader_ID":"", "customercontact_ID": "P0000001C0000001-DJ" } |
verb: GET
resultType: extendedRelated
en complément du résultat pour resultType: extended on aura le détail pour la table les tables customer, generictype_country, generictype_ID_province, baseculture, branchoffice, baseuser_favoriteTechnician et customercontact
...