...
verb: GET
resultType: extendedRelated
en complément du résultat pour resultType: extended on aura le détail pour les tables customer, generictype_civility, customer, generictype_position, generictype_country, generictype_ID_province, generictype_service et baseculture
Bloc de code | ||
---|---|---|
| ||
"related":[ { "generictype_civilitycustomer":{ "codegenerictypecodecustomer":"CIVILITY-MC0000001", "labelname":"MonsieurENTREPRISE DIJON GUICHARD", "originalCodebaseuser_ID":"M", "dataTypeaddress1":"CIVILITY33 Avenue du Drapeau", "descriptionaddress2":"", "translationKeyaddress3":"GenType_CIVILITY-M", "generictype_ID_parentpostalCode":"21000", "tagcity":"DIJON", "orderNumberphoneNumber":""03 90 11 },22 "customer":{33", "codecustomerfaxNumber":"C0000001",03 90 11 "name":"ENTREPRISE DIJON GUICHARD22 44", "baseuser_IDmobilePhoneNumber":"",06 90 11 22 "address1":"33 Avenue du Drapeau", "address2email":"contact@guichard.com", "address3deliveryDays":"",1A;1B;2A;2B;3A;3B;4A;4B;5A;5B", "postalCodeopeningDays":"210001A;1B;2A;2B;3A;3B;4A;4B;5A;5B", "citysiretNumber":"DIJON", "phoneNumbervatIntra":""03, 90 11 22 33 "apeCode":"516K", "faxNumbercomment":""03, 90 11 22 44 "blocked":"0", "mobilePhoneNumberblockedComment":""06, 90 11 22 33"message":"", "emailvacationStart":"contact@guichard.com", "deliveryDaysvacationEnd":"1A;1B;2A;2B;3A;3B;4A;4B;5A;5B", "openingDaysgpsLongitude":"1A;1B;2A;2B;3A;3B;4A;4B;5A;5B","5.04372", "siretNumbergpsLatitude":"47.33222", "vatIntragpsPrecision":"8", "apeCodegpsUpdateDate":"516K2020-09-03 23:02:12", "commentgpsManual":"", "blockedaccountNumber":"0C0000001", "blockedCommentcontactName":"", "messagecurrency_ID":"", "vacationStartauthorizedCredit":"0", "vacationEndrisk":"1", "gpsLongitudelanguage":"5.04372", "gpsLatitudeunderSurveillance":"47.33222"", "gpsPrecisionworkforce":"825", "gpsUpdateDatecustomer_ID_paying":"2020-09-03 23:02:12", "gpsManualpricecategory_ID":"", "accountNumberdiscountRate":"C00000010", "contactNamewebsite":"https://www.guichard.com", "currency_IDlegalStatus":"Société Anonyme avec Directoire", "authorizedCreditgenerictype_ID_brand":"0", "riskgenerictype_ID_deliveryMode":"1", "languagegenerictype_ID_paymentMean":"", "underSurveillancegenerictype_ID_country":"FR", "workforcegenerictype_ID_province":"25", "customergenerictype_ID_payingcustomerType":"CTC", "pricecategorygenerictype_ID_customerFamily":"", "discountRateconfirmationEmail":"0contact@guichard.com", "websiteconfirmationFax":"<https://www.guichard.com",>03 90 11 22 44", "legalStatusgenerictype_ID_taxCode":"Société Anonyme avec Directoire", "generictypeproductdepot_ID_brand":"", "generictype_ID_deliveryModeaccountingCategory":"", "generictype_ID_paymentMeancustomerPotential":"B", "generictype_ID_countrycivility":"FR", "generictype_ID_provinceskype":"contact@guichard.com", "generictype_ID_customerTyperole":"CTC", "generictype_ID_customerFamilyunused":"0", "confirmationEmailcustomergroup_ID":"contact@guichard.com", "confirmationFaxgenerictype_ID_referencing":"03 90 11 22 442", "generictype_ID_taxCodedistribution":"SELF", "productdepotgenerictype_ID_market":"BIG", "generictype_ID_accountingCategoryarea":"", "generictypebaseculture_ID_customerPotential":"BFR-FR", "generictypebaseuser_ID_civilityfavoriteTechnician":"TECH-01", "skypebranchoffice_ID":"contact@guichard.comSXB", "generictype_ID_roleemailFormat":"", "unusedisIndividual":"0", "customergroup_IDfacebook":"https://www.facebook.com/guichard/", "generictype_ID_referencing":""twitter":"https://twitter.com/guichard",> "youtube":"https://www.youtube.com/watch?v=6jGbnEwQJ54", "linkedin":"https://www.linkedin.com/company/guichard", "activity":"" }, "generictype_civility":{ "codegenerictype":"CIVILITY-M", "label":"Monsieur", "originalCode":"M", "dataType":"CIVILITY", "description":"", "translationKey":"GenType_CIVILITY-M", "generictype_ID_parent":"", "tag":"", "orderNumber":"" }, "generictype_country": { "codegenerictype": "COUNTRY-FR", "label": "FRANCE", "originalCode": "FR", "dataType": "COUNTRY", "description": "", "translationKey": "GenType_COUNTRY-FR", "generictype_ID_parent": "", "tag": "", "orderNumber": "" }, "generictype_province": { "codegenerictype": "", "label": "", "originalCode": "", "dataType": "", "description": "", "translationKey": "", "generictype_ID_parent": "", "tag": "", "orderNumber": "" }, "baseculture": { "codebaseculture": "FR-FR", "label": "French - France", "codelanguage": "FR" }, "generictype_position": { "codegenerictype": "CONTACT_POSITION-2", "label": "Responsable commercial", "originalCode": "2", "dataType": "CONTACT_POSITION", "description": "", "translationKey": "GenType_CONTACT_POSITION-2", "generictype_ID_distributionparent": "SELF", "generictype_ID_market"tag": "BIG", "areaorderNumber": "", }, "baseculturegenerictype_IDservice":"FR-FR", { "baseuser_ID_favoriteTechniciancodegenerictype": "TECHSERVICE-01COMM", "branchoffice_IDlabel": "SXBCommercial", "emailFormatoriginalCode": "COMM", "isIndividualdataType": "0SERVICE", "facebook":"<https://www.facebook.com/guichard/",>description": "", "twittertranslationKey":"<https://twitter.com/guichard "",> "youtubegenerictype_ID_parent":"<https://www.youtube.com/watch?v=6jGbnEwQJ54 "",> "linkedintag":"<https://www.linkedin.com/company/guichard "",> "activityorderNumber": "" } }] |
verb: PUT
Bloc de code | ||
---|---|---|
| ||
{ "customercontact": { "codecustomercontact": "C0000001-DJ", /* Code globalement unique de contact client (Varchar (255))*/ "customer_ID": "C0000001", /* Code client (ForeignKey () - sw_data_customer.codecustomer)*/ "generictype_ID_civility": "CIVILITY-Mr", /* Code civilité (ForeignKey () - sw_data_generictype.codegenerictype avec datatype = CIVILITY)*/ "lastName": "DENEIR", /* Nom (Varchar (255))*/ "firstName": "Jacques", /* Prénom (Varchar (255))*/ "address1": "1b rue Darwin", /* Adresse 1 (Varchar (255))*/ "address2": null, /* Adresse 2 (Varchar (255))*/ "address3": null, /* Adresse 3 (Varchar (255))*/ "postalCode": "21000", /* Code postal (Varchar (16))*/ "city": "DIJON", /* Ville (Varchar (64))*/ "phoneNumber": "05 55 79 56 92", /* N° de téléphone (Varchar (64))*/ "mobilePhoneNumber": "06 07 08 09 10", /* N° de portable (Varchar (64))*/ "faxNumber": "05 55 79 56 11", /* N° de télécopie (Varchar (64))*/ "email": "jdeneir@nebout.div", /* Email (Varchar (255))*/ "description": "Acheteur direct", /* Description (Varchar (255))*/ "generictype_ID_position": "CONTACT_POSITION-rcom", /* Code fonction (ForeignKey () - sw_data_generictype.codegenerictype avec datatype = CONTACT_POSITION)*/ "generictype_ID_country": "COUNTRY-FR", /* Code pays (ForeignKey () - sw_data_generictype.codegenerictype avec datatype = COUNTRY)*/ "generictype_ID_province": null, /* Code province (ForeignKey () - sw_data_generictype.codegenerictype avec datatype = PROVINCE)*/ "generictype_ID_service": "SERVICE-CIAL", /* Code service(ForeignKey () - sw_data_generictype.codegenerictype avec datatype = SERVICE)*/ "birthday": "1980-09-18", /* Date d'anniversaire (DateTime ())*/ "mainContact": "0", /* Contact principal (Valeurs possibles : 0,1) (Bool ())*/ "baseculture_ID": "", /* Code culture (ForeignKey () - sw_data_baseculture.codebaseculture)*/ "bouncedEmailDetected": "", /* Date email NPAI (N'habite Pas/Plus à l’Adresse Indiquée) (DateTime ())*/ "closedDate": "", /* Date d'archivage (DateTime ())*/ "skype": "", /* Skype (Varchar (255))*/ "twitter": "", /* Twitter (Varchar (255))*/ "linkedin": "", /* LinkedIn (Varchar (255))*/ "internalCodeCustomerContact": null, /* CodeCustomerContact 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)) */ /* Optionnel : pour mettre à jour les champs dynamiques selon paramétrage */ /* Exemple 1 : */ "dynamicfields": [{ "fieldname": "t10", "fieldvalue": "Formation marketing 2.0" }, { "fieldname": "t20", "fieldvalue": "Formation commerciale expert" }, { ... }] /* Exemple 2 : */ /* A partir de la version SUMMER'21, le mappage direct des champs dynamiques est possible en utilisant le nom du champ en bdd */ "v_t10": "Formation marketing 2.0", "v_t20": "Formation commerciale expert", ... } } |
...