/
WebHook Contract

WebHook Contract

verb: GET
resultType: simple

  "contract":{
    "codecontract":"C0000001-77",
    "label":"Test contrat",
    "contractNumber":"CONTRACT_000077",
    "customer_ID":"C0000001",
    "contracttype_ID":"Abonnement licence"
  }

verb: GET
resultType: extended

"contract":{
    "codecontract":"C0000001-77",
    "label":"Test contrat",
    "contractNumber":"CONTRACT_000077",
    "customer_ID":"C0000001",
    "contracttype_ID":"Abonnement licence",
    "description":"description",
    "startDate":"2020-01-06 00:00:00",
    "endDate":"",
    "limitDate":"",
    "amount":"200",
    "generictype_ID_constraint":"",
    "interventiontype_ID":"",
    "frequency_ID":"",
    "dunningDateValue":"",
    "generictype_ID_dunningDateUnit":"",
    "generictype_ID_status":"NEW",
    "contract_ID_parent":"",
    "closingDate":"",
    "customerReference":"",
    "version":"2",
    "amendmentNumber": "",
    "deal_ID": "",
    "dealelement_ID": ""
  }

Verb: GET
resultType: extendedRelated
en complément du résultat pour resultType: extended on aura le détail pour les tables contracttype et customer

"related":[
{
  "contracttype":{
    "codecontracttype":"CONTRACT_TYPE-LICENCE",
    "label":"Abonnement licence",
    "prefix":"",
    "numberLength":"",
    "counter":"",
    "generictype_ID_badgeColor":""
  },
  "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

{
  "contracttype": {
    "codecontracttype": "CONTRACT_TYPE-LICENCE",
    "label": "Abonnement licence",
    "internalcodecontracttype": null /* codecontracttype original de weavy s'il y a eu transcodage (Varchar (255)) */
  },
  "site": {
    "codecustomeraddress": "C0000001-BDX",
    "customer_ID": "C0000001",
    "name": "ENTREPÔT GUICHARD",
    "address1": "15 Avenue Champollion",
    "address2": null,
    "address3": null,
    "postalCode": "21000 ",
    "city": "Dijon",
    "phoneNumber": "03 90 22 75 45",
    "faxNumber": "03 90 22 75 40",
    "mobilePhoneNumber": null,
    "email": null,
    "generictype_ID_country": null,
    "site": 1,
    "siteCode": "BDX",
    "siteName": "Entrepôt Dijon",
    "erpAddressID": "BDX",
    "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)) */
  },
  "customer": {
    "codecustomer": "C0000001",
    "name": "ENTREPRISE DIJON GUICHARD",
    "address1": "33 Avenue du Drapeau",
    "address2": null,
    "address3": null,
    "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",
    "website": "https://www.guichard.com",
    "siretNumber": null,
    "generictype_ID_customerType": "CUSTOMER_TYPE-CTC",
    "generictype_ID_country": null,
    "internalCodeCustomer": null /* CodeCustomer original de weavy s'il y a eu transcodage (Varchar (255)) */	
  },
  "contract": {
    "codecontract": "C0000001-77",
    "label": "Test contrat",
    "description": "description",
    "contractNumber": "CONTRACT_000077",
    "startDate": "2020-06-01",
    "endDate": null,
    "limitDate": null,
    "customer_ID": "C0000001",
    "amount": "200",
    "generictype_ID_constraint": null,
    "dunningDateValue": null,
    "generictype_ID_dunningDateUnit": null,
    "generictype_ID_status": "CONTRACT_STATUS-NEW",
    "contract_ID_parent": null,
    "contracttype_ID": "CONTRACT_TYPE-LICENCE",
    "customerReference": null,
    "deal_ID": "",
    "dealelement_ID": "",
    "internalcodecontract": null, /* CodeContract original de weavy s'il y a eu transcodage (Varchar (255)) */
    "internalCodeCustomer": 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:" {
  "codeContract": "value", filter is equal
  "label": "value", filter is contains
  "codeCustomer": "value", filter is equal
  "contractType": "value", filter is equal
  "codeDeal": "value" filter is equal
}

Related content

WebHook Deal
More like this
WebHook Contract Type (V5.4)
WebHook Contract Type (V5.4)
More like this
WebHook Contract Type (V5.4)
WebHook Contract Type (V5.4)
More like this
WebHook Customer
WebHook Customer
More like this
WebHook Contact
WebHook Contact
More like this
WebHook Contract (V5.3)
WebHook Contract (V5.3)
More like this