{"version":1,"description":"Submit a UK container quote request on behalf of a person who has reviewed and agreed to the request.","endpoint":"/api/agents/v1/devis","method":"POST","authentication":"No API key or registration is required.","consent":{"version":"quotbox-marketplace-v1","text":"I agree that ContainerBook may make my request, project details and contact details available through Quotbox to up to 5 registered suppliers so they can prepare quotes. This request does not sign me up to advertising campaigns."},"success":"HTTP 200 and ok=true only after Quotbox confirms a Lead was created.","pending":"HTTP 202 and ok=false means the request was saved but Quotbox has not confirmed the Lead yet. Keep the reference and do not create a second request.","retry":"Identical submissions reuse the saved reference for 10 minutes. An overlapping delivery attempt returns HTTP 202 with Retry-After: 60. After that 10-minute window, ask the operator about the saved reference instead of creating another request. There is no public status polling endpoint.","bodyLimits":{"bytes":32768,"readTimeoutMs":10000,"encoding":"UTF-8, malformed bytes and duplicate object keys rejected"},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","additionalProperties":false,"required":["famille","mode","codePostal","commune","prenom","nom","email","telephone","consentement","consentementReception"],"properties":{"famille":{"type":"string","enum":["achat","stockage","frigorifique","amenage","baseVie"]},"mode":{"type":"string","enum":["achat","location"]},"format":{"type":"string","enum":["20DRY","40DRY","40HC","20HC","aDefinir","autre"]},"quantite":{"type":"integer","minimum":1,"maximum":50},"etat":{"type":"string","enum":["neuf","occasion","cargoWorthy","windWatertight","peuImporte"]},"regimeFroid":{"type":"string","enum":["positif","negatif","surgelation","aDefinir"]},"temperatureCible":{"type":"string","maxLength":8,"pattern":"^\\s*(?:[+]?(?:[0-3]?\\d(?:[.,]\\d{1,2})?|40(?:[.,]0{1,2})?)|[-−](?:[0-7]?\\d(?:[.,]\\d{1,2})?|80(?:[.,]0{1,2})?))?\\s*$","description":"Between -80 and +40 C, up to two decimal places; empty means unspecified."},"usageBungalow":{"type":"string","enum":["bureau","vestiaire","sanitaire","refectoire","mixte","aDefinir"]},"lieuStockage":{"type":"string","enum":["surSite","depot"]},"projetAmenage":{"type":"string","enum":["amenageLivre","aTransformer"]},"usageAmenage":{"type":"string","enum":["bureau","atelier","commerce","habitation","autre","aDefinir"]},"chantier":{"type":"object","additionalProperties":false,"required":["effectifHommes","effectifFemmes"],"properties":{"effectifHommes":{"type":"integer","minimum":0,"maximum":2000},"effectifFemmes":{"type":"integer","minimum":0,"maximum":2000},"mobile":{"type":["boolean","null"]},"travauxSalissants":{"type":["boolean","null"]}}},"dureeMois":{"type":"integer","minimum":1,"maximum":120,"description":"Required for hire or a complete site welfare project; omit when not applicable. No default duration."},"codePostal":{"type":"string","pattern":"^(?:\\s*(?:[Gg]\\s*[Ii]\\s*[Rr]\\s*0\\s*[Aa]\\s*[Aa]|[A-PR-UWYZa-pr-uwyz]\\s*(?:[A-HK-Ya-hk-y]\\s*)?\\d\\s*(?:[A-HJKPSTUWa-hjkpstuw\\d]\\s*)?\\d\\s*[ABD-HJLNP-UW-Zabd-hjlnp-uw-z]\\s*[ABD-HJLNP-UW-Zabd-hjlnp-uw-z])\\s*)$","description":"UK postcode syntax, for example SW1A 1AA; does not establish delivery coverage.","maxLength":10},"commune":{"type":"string","minLength":1,"pattern":"\\S","maxLength":120},"dateSouhaitee":{"type":"string","maxLength":40},"acces":{"type":"string","enum":["poidsLourd","restreint","aVerifier"]},"levageSurPlace":{"type":"boolean"},"raccordElec":{"type":"boolean"},"raccordEau":{"type":"boolean"},"raccordAssainissement":{"type":"boolean"},"precisions":{"type":"string","maxLength":2000},"prenom":{"type":"string","minLength":1,"pattern":"\\S","maxLength":80},"nom":{"type":"string","minLength":1,"pattern":"\\S","maxLength":80},"societe":{"type":"string","maxLength":160},"email":{"type":"string","pattern":"^\\s*(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}\\s*$","maxLength":254},"telephone":{"type":"string","pattern":"^\\s*\\+?(?=(?:[ ()-]*\\d){7,15}[ ()-]*\\s*$)[0-9 ()-]+\\s*$","maxLength":30,"description":"7 to 15 digits with common separators."},"consentement":{"const":true},"consentementReception":{"const":"quotbox-marketplace-v1"},"originePage":{"type":"string","pattern":"^/uk(?:/[a-zA-Z0-9/_-]*)?$","maxLength":240}},"allOf":[{"if":{"properties":{"mode":{"const":"location"}},"required":["mode"]},"then":{"required":["dureeMois"]}},{"if":{"properties":{"famille":{"const":"baseVie"}},"required":["famille"],"not":{"required":["usageBungalow"]}},"then":{"required":["chantier","dureeMois"],"properties":{"chantier":{"anyOf":[{"properties":{"effectifHommes":{"minimum":1}}},{"properties":{"effectifFemmes":{"minimum":1}}}]}},"description":"At least one site worker and a project duration are required."}},{"if":{"required":["lieuStockage"]},"then":{"properties":{"famille":{"const":"stockage"}}}},{"if":{"required":["projetAmenage"]},"then":{"properties":{"famille":{"const":"amenage"}}}},{"if":{"required":["usageAmenage"]},"then":{"properties":{"famille":{"const":"amenage"}}}},{"if":{"required":["usageBungalow"]},"then":{"properties":{"famille":{"const":"baseVie"}}}},{"if":{"required":["chantier"]},"then":{"properties":{"famille":{"const":"baseVie"}}}},{"if":{"required":["regimeFroid"]},"then":{"properties":{"famille":{"const":"frigorifique"}}}},{"if":{"required":["temperatureCible"]},"then":{"properties":{"famille":{"const":"frigorifique"}}}},{"if":{"properties":{"lieuStockage":{"const":"depot"}},"required":["lieuStockage"]},"then":{"properties":{"mode":{"const":"location"}}}},{"if":{"properties":{"famille":{"const":"baseVie"}},"required":["famille"]},"then":{"properties":{"etat":{"type":"string","enum":["neuf","occasion","peuImporte"]}}}}]},"defaults":{"format":"aDefinir","quantite":1,"etat":"peuImporte","regimeFroid":"aDefinir","acces":"aVerifier"},"example":{"famille":"achat","mode":"achat","format":"20DRY","quantite":1,"codePostal":"SW1A 1AA","commune":"London","prenom":"Jane","nom":"Example","email":"jane@example.com","telephone":"<prospect's real telephone number>","consentement":true,"consentementReception":"quotbox-marketplace-v1"}}