WebHook Customer Address
verb: GET
resultType: simple
"customeraddress":{
"codecustomeraddress":"C0000001-BDX",
"customer_ID":"C0000001",
"name":"ENTREPÔT GUICHARD",
"site":"1",
"siteCode": "BDX",
"siteName": "Entrepôt Dijon"
}
verb: GET
resultType: extended
"customeraddress":{
"codecustomeraddress":"C0000001-BDX",
"customer_ID":"C0000001",
"name":"ENTREPÔT GUICHARD",
"site":"1",
"siteCode": "BDX",
"siteName": "Entrepôt Dijon",
"address1":"15 Avenue Champollion",
"address2":"",
"address3":"",
"postalCode":"21000 ",
"city":"Dijon",
"phoneNumber":"03 90 22 75 45",
"faxNumber":"03 90 22 75 40",
"mobilePhoneNumber":"",
"email":"",
"areaCode":"",
"contact":"",
"gpsLongitude":"5.06764",
"gpsLatitude":"47.33379",
"gpsAccuracy":"8",
"gpsUpdateDate":"2020-09-03 23:02:13",
"gpsManual":"",
"generictype_ID_country":"FR",
"generictype_ID_province":"",
"billingAddress":"",
"defaultBillingAddress":"",
"deliveryAddress":"",
"defaultDeliveryAddress":"",
"baseculture_ID":"",
"accessCode":"",
"floor":"",
"apartment":"",
"miscInfos":"",
"baseuser_ID_favoriteTechnician":"",
"erpAddressID":"BDX",
"branchoffice_ID":"",
"bankholidayparamheader_ID":""
}
Verb: GET
resultType: extendedRelated
en complément du résultat pour resultType: extended on aura le détail pour la table customer
"related":[
{
"customer":{
"codecustomer":"C0000001",
"name":"ENTREPRISE DIJON GUICHARD",
"baseuser_ID":"",
"address1":"33 Avenue du Drapeau",
"address2":"",
"address3":"",
"postalCode":"21000",
"city":"DIJON",
"phoneNumber":"03 90 11 22 33",
"faxNumber":"03 90 11 22 44",
"mobilePhoneNumber":"06 90 11 22 33",
"email":"contact@guichard.com",
"deliveryDays":"1A;1B;2A;2B;3A;3B;4A;4B;5A;5B",
"openingDays":"1A;1B;2A;2B;3A;3B;4A;4B;5A;5B",
"siretNumber":"",
"vatIntra":"",
"apeCode":"516K",
"comment":"",
"blocked":"0",
"blockedComment":"",
"message":"",
"vacationStart":"",
"vacationEnd":"",
"gpsLongitude":"5.04372",
"gpsLatitude":"47.33222",
"gpsPrecision":"8",
"gpsUpdateDate":"2020-09-03 23:02:12",
"gpsManual":"",
"accountNumber":"C0000001",
"contactName":"",
"currency_ID":"",
"authorizedCredit":"0",
"risk":"1",
"language":"",
"underSurveillance":"",
"workforce":"25",
"customer_ID_paying":"",
"pricecategory_ID":"",
"discountRate":"0",
"website":"https://www.guichard.com",
"legalStatus":"Société Anonyme avec Directoire",
"generictype_ID_brand":"",
"generictype_ID_deliveryMode":"",
"generictype_ID_paymentMean":"",
"generictype_ID_country":"FR",
"generictype_ID_province":"",
"generictype_ID_customerType":"CTC",
"generictype_ID_customerFamily":"",
"confirmationEmail":"contact@guichard.com",
"confirmationFax":"03 90 11 22 44",
"generictype_ID_taxCode":"",
"productdepot_ID":"",
"generictype_ID_accountingCategory":"",
"generictype_ID_customerPotential":"B",
"generictype_ID_civility":"",
"skype":"contact@guichard.com",
"generictype_ID_role":"",
"unused":"0",
"customergroup_ID":"",
"generictype_ID_referencing":"2",
"generictype_ID_distribution":"SELF",
"generictype_ID_market":"BIG",
"area":"",
"baseculture_ID":"FR-FR",
"baseuser_ID_favoriteTechnician":"TECH-01",
"branchoffice_ID":"SXB",
"emailFormat":"",
"isIndividual":"0",
"facebook":"https://www.facebook.com/guichard/",
"twitter":"https://twitter.com/guichard",
"youtube":"https://www.youtube.com/watch?v=6jGbnEwQJ54",
"linkedin":"https://www.linkedin.com/company/guichard",
"activity":""
}
}]
verb: PUT
{
"customeraddress": {
"codecustomeraddress": "C0000001-SXB",
"customer_ID": "C0000001",
"name": "ENTREPÔT GUICHARD stras",
"address1": "15 Avenue Champollion",
"address2": null,
"address3": null,
"postalCode": "67000",
"city": "Strasbourg",
"phoneNumber": "03 90 22 75 45",
"faxNumber": "03 90 22 75 40",
"mobilePhoneNumber": null,
"email": null,
"generictype_ID_country": "COINTRY-FR",
"generictype_ID_province": null,
"billingAddress": "1",
"defaultBillingAddress": "0",
"deliveryAddress": "1",
"defaultDeliveryAddress": "0",
"areaCode": "",
"contact": "M. James",
"site": 1,
"accessCode": "",
"floor": "",
"apartment": "",
"miscInfos": "",
"baseuser_ID_favoriteTechnician": "TECH-01",
"erpAddressID": "SXB",
"branchoffice_ID": "",
"bankholidayparamheader_ID": "",
"siteCode": "SXB",
"siteName": "Entrepôt Strasbourg",
"internalCodeCustomeraddress": null, /* customeraddress_ID original de weavy s'il y a eu transcodage (Varchar (255)) */
"internalcustomer_ID": null /* CodeCustomer original de weavy s'il y a eu transcodage (Varchar (255)) */
}
}
verb: LIST
resultType: simple, extended, extendedRelated reprendre les définitions du GET
"filters:" {
"codeCustomerAddress": "value", filter is equal
"codeCustomer": "value", filter is equal
"name": "value", filter is contains
"siteCode": "value", filter is equal
"siteName": "value", filter is contains
}