Synthèse des appels API effectués par le prestataire pour une intervention dite idéale
"reference": "contract1_201007151812",
"description": "Demande dépannage pour fuite d’eau dans la salle de bain",
"contractReference": "contract1",
"eventDate": "2020-10-07T15:18:00",
"logDate": "2020-10-07T15:18:00",
"serviceCode": "EAU-CP-9",
"assetReference": "LOGEMENT_011"
"workType": "corrective",
"BEGIN:VCARD\r\nVERSION:3\r\nFN;CHARSET=UTF-8:Pierre DURAND\r\nN;CHARSET=UTF-8:DURAND;Pierre;;;\r\nEMAIL;CHARSET=UTF-8;HOME;INTERNET:serviceclient+gestionnaire@intent.tech\r\nTEL;TYPE=WORK,VOICE:0786220276\r\nREV:2020-10-07T15:18:12+02:00\r\nEND:VCARD"
"equipmentWorkingOrder": "not_operational",
Visuel de création d'une demande depuis intentPlatform web
En tant que prestataire je reçois le webhook suivant :
"type": "operations:intervention:share",
"id": "471b155d-09ac-4ec6-a83a-70b3b8695738",
"id": "6ca801bb-cae3-43a6-978a-a18216f1f7a8",
"reference": "contract1_201007151812",
"contractReference": "contract1",
"description": "Demande dépannage pour fuite d’eau dans la salle de bain",
"serviceCode": "EAU-CP-9",
"workType": "corrective",
"id": "5e78774dfb9f7e3faec804ec",
"id": "371c6829-2b25-40d7-8d2d-8238537ca146",
"name": "serviceclient+gestionnaire@intent.tech"
"operation_url": "https://apisandbox.hubintent.com/api/operations/v2/operations/contract1_201007151812?contractReference=contract1"
Lancement des actions suivantes :
- Appel API sur le champ
operation_url : GET /operations/{reference} - Appel API pour récupérer les photos
- Appel API pour récupérer les documents
JSON récupéré suite à l'appel sur le champ operation_url
"href": "https://apisandbox.hubintent.com/api/operations/v2/operations/contract1_201007151813?contractReference=contract1"
"href": "https://apisandbox.hubintent.com/api/documents/v1/documents?elementType=intervention&elementReference=contract1_201007151813"
"reference": "contract1_2010071518132",
"description": "Demande dépannage pour fuite d’eau dans la salle de bain",
"id": "5e78774dfb9f7e3faec804ec",
"logoUrl": "https://image.freepik.com/vecteurs-libre/modele-ligne-logo-abstrait-colore-simple-immobilier_143546-15.jpg"
"id": "aab631d7-d7cf-478f-b463-55e646762946",
"name": "Connecteur Gestionnaire"
"reference": "contract1",
"label": "Maintenance Multitechnique",
"topic": "Multitechnique",
"id": "5e7875e3fb9f7e3faec804eb",
"label": "MyPrestataire",
"logoUrl": "https://image.freepik.com/vecteurs-libre/conception-reparation_24908-54569.jpg"
"id": "5e78774dfb9f7e3faec804ec",
"logoUrl": "https://image.freepik.com/vecteurs-libre/modele-ligne-logo-abstrait-colore-simple-immobilier_143546-15.jpg"
"originalCode": "EAU-CP-9"
"workType": "corrective",
"eventDate": "2020-10-07T15:18:00+02:00",
"logDate": "2020-10-07T15:18:00+02:00",
"assetReference": "LOGEMENT_011"
"BEGIN:VCARD\r\nVERSION:3\r\nFN;CHARSET=UTF-8:Pierre DURAND\r\nN;CHARSET=UTF-8:DURAND;Pierre;;;\r\nEMAIL;CHARSET=UTF-8;HOME;INTERNET:serviceclient+gestionnaire@intent.tech\r\nTEL;TYPE=WORK,VOICE:0786220276\r\nREV:2020-10-07T15:18:12+02:00\r\nEND:VCARD"
"id": "5e78774dfb9f7e3faec804ec",
"logoUrl": "https://image.freepik.com/vecteurs-libre/modele-ligne-logo-abstrait-colore-simple-immobilier_143546-15.jpg"
"id": "aab631d7-d7cf-478f-b463-55e646762946",
"name": "Connecteur Gestionnaire"
"reference": "contract1_2010071518132",
"description": "Demande dépannage pour fuite d’eau dans la salle de bain",
"contractReference": "contract1",
"BEGIN:VCARD\r\nVERSION:3\r\nFN;CHARSET=UTF-8:Pierre DURAND\r\nN;CHARSET=UTF-8:DURAND;Pierre;;;\r\nEMAIL;CHARSET=UTF-8;HOME;INTERNET:serviceclient+gestionnaire@intent.tech\r\nTEL;TYPE=WORK,VOICE:0786220276\r\nREV:2020-10-07T15:18:12+02:00\r\nEND:VCARD"
"creationDate": "2020-10-28T18:11:18+01:00",
"serviceCode": "EAU-CP-9",
"workType": "corrective",
"eventDate": "2020-10-07T15:18:00+02:00",
"logDate": "2020-10-07T15:18:00+02:00",
"assetReference": "LOGEMENT_011",
"assetOwner": "gestionnaire.intent"
"equipmentWorkingOrder": "not_operational",
"creationDate": "2020-10-28T18:11:18+01:00",
"lastUpdateDate": "2020-10-28T18:11:18+01:00"
"reference": "contract1_201007151812",
"description": "Nous accusons bonne réception de votre demande de dépannage",
"contractReference": "contract1",
"eventDate": "2020-10-07T15:19:00",
"logDate": "2020-10-07T15:19:00",
"serviceCode": "EAU-CP-9",
"assetReference": "LOGEMENT_011"
"workType": "corrective",
"equipmentWorkingOrder": "not_operational",
"reference": "contract1_201007151812",
"description": "Planification de l'intervention au 08/10/2020 - 9h",
"contractReference": "contract1",
"eventDate": "2020-10-08T09:00:00",
"logDate": "2020-10-07T15:21:00",
"serviceCode": "EAU-CP-9",
"assetReference": "LOGEMENT_011"
"workType": "corrective",
"equipmentWorkingOrder": "not_operational",
"reference": "contract1_201007151812",
"contractReference": "contract1",
"eventDate": "2020-10-08T09:10:00",
"logDate": "2020-10-08T09:10:00",
"serviceCode": "EAU-CP-9",
"assetReference": "LOGEMENT_011"
"workType": "corrective",
"equipmentWorkingOrder": "not_operational",
… puis …
"reference": "contract1_201007151812",
"contractReference": "contract1",
"eventDate": "2020-10-08T09:50:00",
"logDate": "2020-10-08T09:50:00",
"serviceCode": "EAU-CP-9",
"assetReference": "LOGEMENT_011"
"workType": "corrective",
"equipmentWorkingOrder": "operational",
"reference": "contract1_201007151812",
"description":"Résolution du problème. Changement du flexible + joints",
"contractReference": "contract1",
"eventDate": "2020-10-08T09:55:00",
"logDate": "2020-10-08T09:55:00",
"serviceCode": "EAU-CP-9",
"assetReference": "LOGEMENT_011"
"workType": "corrective",
"equipmentWorkingOrder": "operational",
"occupantSignature": "ok"
curl -X POST " https://apisandbox.hubintent.com/api/documents/v1/documents " -H "accept: application/json" -H "Content-Type: multipart/form-data" -F "file=@quitus1.pdf;type=application/pdf" -F "title=quitus d'intervention robinetterie" -F "elementType=intervention" -F "elementReference=contract1_201007151812" -F "description=Quitus" -F "intent_contractReference=contract1"
Plus d’informations : Notice raccordement Documents
Visuel sur la fiche détaillée de l'intervention depuis un compte gestionnaire