Aller directement à la fin des métadonnées
Aller au début des métadonnées

Vous regardez une version antérieure (v. /wiki/spaces/UDW54/pages/345417149/WebHook+Equipment) de cette page.

afficher les différences afficher l'historique de la page

Vous regardez la version actuelle de cette page. (v. 1) afficher la version suivante »

verb: GET
resultType: simple

  "equipment":{
    "codeequipment":"BAL01-201910",
    "description":"Ballon 300 litres",
    "equipmenttype_ID":"BALL"
  }

verb: GET
resultType: extended

"equipment":{
    "codeequipment":"BAL01-201910",
    "description":"Ballon 300 litres",
    "equipmenttype_ID":"BALL",
    "serialNumber":"BAL-169-2",
    "equipment_ID_parent":"",
    "location":"Cave",
    "gpsLongitude":"",
    "gpsLatitude":"",
    "gpsAccuracy":"",
    "gpsUpdateDate_fixed":"",
    "gpsManual":"",
    "baseuser_ID_favoriteTechnician":"",
    "installationDate":"2020-08-04 00:00:00",
    "equipmentstatus_ID":"BEING_CREATED",
    "customerReference":"",
    "brand":"",
    "maker":"",
    "inServiceDate":"",
    "terminationDate":"",
    "replacementDate":"",
    "product_ID":"",
    "quantityRepresented":"1",
    "orderheader_ID":"",
    "externalID":"DTR 1 C1",
    "equipmentkind_ID":"DEFAULT"

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

"related":[
{
  "equipmenttype":{
    "codeequipmenttype":"BALL",
    "label":"Ballons d'eau chaude",
    "equipmentkind_ID":"DEFAULT"
  },
  "equipmentkind":{
    "codeequipmentkind":"DEFAULT",
    "label":"Par défaut"
  }
}]

verb: PUT

{
  "equipmenttype": {
    "codeequipmenttype": "BALL",
    "label": "Ballons d'eau chaude",
    "equipmentkind_ID": "DEFAULT",
    "internalcodeequipmenttype": null /* codeequipmenttype original de weavy s'il y a eu transcodage (Varchar (255)) */
  },
  "equipment": {
    "codeequipment": "BAL01-201910",
    "equipmentkind_ID": "DEFAULT",
    "equipmenttype_ID": "BALL",
    "description": "Ballon 300 litres",
    "serialNumber": "BAL-169-2",
    "equipment_ID_Parent": null,
    "location": "Cave",
    "equipmentstatus_ID": "BEING_CREATED",
    "customerReference": null,
    "brand": "",
    "maker": "",
    "installationDate": "2020-08-04",
    "inServiceDate": null,
    "terminationDate": null,
    "replacementDate": null,
    "product_ID": null,
    "quantityRepresented": "1",
    "externalID": "DTR                1         C1",
    "internalcodeequipment": null, /* codeequipment original de weavy s'il y a eu transcodage (Varchar (255)) */

    /* Optionnel : pour mettre à jour les champs dynamiques selon paramétrage */
    /* Exemple : */
    "dynamicfields": 
    [{
      "fieldname": "MATPRIX",
      "fieldvalue": "45.12"
    },
    {
      "fieldname": "MATCODE",
      "fieldvalue": "Nickel"    
    },
    {
      ...
    }]
  },
  "equipmentaddress": {
    "codeequipmentaddress": "BAL01-201910-SITE",
    "equipment_ID": "BAL01-201910",
    "customeraddress_ID" : "C0000001-BDX",
    "startDate": "2019-10-26T00:00:00.000Z",
    "endDate": null,
    "internalcodeequipment": null, /* codeequipment original de weavy s'il y a eu transcodage (Varchar (255)) */
    "internalcustomeraddress_ID": null /* customeraddress_ID 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)) */
    "internalCodeCustomer": 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)) */	
  }
}

verb: LIST
resultType: simple, extended, extendedRelated reprendre les définitions du GET

"filters:" {
  "codeEquipment": "value", filter is equal
  "description": "value", filter is contains
  "serialNumber": "value", filter is equal
  "equipmentType": "value", filter is equal
  "equipmentKind": "value", filter is equal
}

  • Aucune étiquette