Example cURL commands

Example cURL commands

 

Example using system fields only :

curl --location 'us-east-1.api.bodyshopbooster.com/open-api/v0.1/repair' \ --header 'X-Booster-API-Key: {{access_key}}' \ --header 'Content-Type: application/json' \ --data ' { "customerInfo": { "firstName": "Donald", "lastName": "Duck", "phoneNums": [ { "phoneNum": "5551234567", "phoneNumExtension": "", "type": "CP" } ], "emails": [ { "email": "", "type": "EM" } ], "address": { "address1": "The Castle", "address2": "Disney World", "city": "Orlando", "stateProvince": "FL", "countryCode": "", "postalCode": "12345" }, "companyName": "Walt Disney Co" }, "vehicleInfo": { "vehicleDesc": { "vin": "", "modelYear": "2025", "makeDesc": "Audi", "modelName": "TT", "arrivalOdometerReading": "1335", "departureOdometerReading": "1233", "trimCode": "" }, "license": { "licensePlateNum": "AJQ-7788", "licensePlateStateProvince": "" }, "paint": { "interior": { "interiorColorCode": "xxx", "color": "" }, "exterior": { "exteriorColorCode": "", "color": "" } }, "condition": { "drivableInd": true, "windshieldCrackedInd": true, "airbagDeployedInd": true }, "transmissionDesc": "" }, "insurerInfo": { "refClaimNum": "", "policyNum": "", "adjuster": "", "phoneNums": [ { "phoneNum": "", "phoneNumExtension": "", "type": "CP" } ], "emails": [ { "email": "", "type": "EM" } ], "address": { "address1": "", "address2": "", "city": "", "stateProvince": "", "countryCode": "", "postalCode": "" }, "companyName": "", "companyUrl": "https://disney.com" }, "repairInfo": { "id": "ce0e151a-8b24-4759-9030-b9c62117d8ea", "documentId": "", "partnerId": "", "roNumber": "", "workFileId": "", "claimInfo": { "lossDateTime": "", "repairDuration": 0, "poiCode": "", "fNOLDateTime": "", "reportedDateTime": "", "inspectionSite": "", "inspectionDateTime": "", "totalLossInd": true }, "quickSurveyScore": 3, "repairOrderType": "", "paymentInfo": "", "documentInfo": { "createDateTime": "" } }, "repairEvent": { "scheduledCreateDateTime": "", "actualCreateDateTime": "2025-02-22T00:00:00.000Z", "scheduledEstimateSentDateTime": "", "actualEstimateSentDateTime": "", "scheduledEstimateApprovedDateTime": "2025-03-22T00:00:00.000Z", "actualEstimateApprovedDateTime": "", "scheduledBookingMadeDateTime": "", "actualBookingMadeDateTime": "", "scheduledArrivalDateTime": "", "arrivalDateTime": "2025-04-02T00:00:00.000Z", "scheduledStartDateTime": "", "actualStartDateTime": "", "scheduledCompletionDateTime": "", "actualCompletionDateTime": "", "scheduledPickupDateTime": "", "actualPickupDateTime": "", "scheduledCloseDateTime": "", "closedDateTime": "" }, "estimateInfo": { "estimateType": "", "repairTotalsInfo": { "summaryTotalsInfo": [ { "type": "TOT", "subType": "T2", "totalAmt": 0 } ], "laborTotalsInfo": [ { "type": "LAP", "totalHours": 0, "totalAmt": 0 } ], "taxTotalAmt": 0, "totalTaxPercentage": 0, "previousPaymentAmt": 0 } }, "estimatorInfo": { "firstName": "", "lastName": "" }, "customFieldsInfo": {} }, "links": { "callbackURL": "http://yourapplication.com/api/callbackurl", "externalLink": "http://yourapplication.com/link-or-uuid" } '

 

 

Example using both system fields and custom fields :

curl --location 'us-east-1.api.bodyshopbooster.com/open-api/v0.1/repair' \ --header 'X-Booster-API-Key: {{access_key}}' \ --header 'Content-Type: application/json' \ --data ' { "customerInfo": { "firstName": "Mickey", "lastName": "Mouse", "phoneNums": [ { "phoneNum": "5551234568", "phoneNumExtension": "", "type": "CP" } ], "emails": [ { "email": "", "type": "EM" } ], "address": { "address1": "The Castle", "address2": "Disney World", "city": "Orlando", "stateProvince": "FL", "countryCode": "", "postalCode": "12345" }, "companyName": "Walt Disney Co" }, "vehicleInfo": { "vehicleDesc": { "vin": "", "modelYear": "2025", "makeDesc": "Audi", "modelName": "TT", "arrivalOdometerReading": "1335", "departureOdometerReading": "1233", "trimCode": "" }, "license": { "licensePlateNum": "AJQ-7788", "licensePlateStateProvince": "" }, "paint": { "interior": { "interiorColorCode": "xxx", "color": "" }, "exterior": { "exteriorColorCode": "", "color": "" } }, "condition": { "drivableInd": true, "windshieldCrackedInd": true, "airbagDeployedInd": true }, "transmissionDesc": "" }, "insurerInfo": { "refClaimNum": "", "policyNum": "", "adjuster": "", "phoneNums": [ { "phoneNum": "", "phoneNumExtension": "", "type": "CP" } ], "emails": [ { "email": "", "type": "EM" } ], "address": { "address1": "", "address2": "", "city": "", "stateProvince": "", "countryCode": "", "postalCode": "" }, "companyName": "", "companyUrl": "https://disney.com" }, "repairInfo": { "id": "ce0e151a-8b24-4759-9030-b9c62117d8a", "documentId": "", "partnerId": "", "roNumber": "", "workFileId": "", "claimInfo": { "lossDateTime": "", "repairDuration": 0, "poiCode": "", "fNOLDateTime": "", "reportedDateTime": "", "inspectionSite": "", "inspectionDateTime": "", "totalLossInd": true }, "quickSurveyScore": 3, "repairOrderType": "", "paymentInfo": "", "documentInfo": { "createDateTime": "" } }, "repairEvent": { "scheduledCreateDateTime": "", "actualCreateDateTime": "2025-02-22T00:00:00.000Z", "scheduledEstimateSentDateTime": "", "actualEstimateSentDateTime": "", "scheduledEstimateApprovedDateTime": "2025-03-22T00:00:00.000Z", "actualEstimateApprovedDateTime": "", "scheduledBookingMadeDateTime": "", "actualBookingMadeDateTime": "", "scheduledArrivalDateTime": "", "arrivalDateTime": "2025-04-02T00:00:00.000Z", "scheduledStartDateTime": "", "actualStartDateTime": "", "scheduledCompletionDateTime": "", "actualCompletionDateTime": "", "scheduledPickupDateTime": "", "actualPickupDateTime": "", "scheduledCloseDateTime": "", "closedDateTime": "" }, "estimateInfo": { "estimateType": "", "repairTotalsInfo": { "summaryTotalsInfo": [ { "type": "TOT", "subType": "T2", "totalAmt": 0 } ], "laborTotalsInfo": [ { "type": "LAP", "totalHours": 0, "totalAmt": 0 } ], "taxTotalAmt": 0, "totalTaxPercentage": 0, "previousPaymentAmt": 0 } }, "estimatorInfo": { "firstName": "", "lastName": "" }, "customFieldsInfo": { "customerDetails": [ { "fieldName": "id", "fieldType": "Number", "value": "885454" } ], "repairDetails": [ { "fieldName": "engineOil", "fieldType": "String[]", "value": [ "Motul" ] } ], "vehicleDetails": [ { "fieldName": "tyreSizes", "value": [ "15" ] }, { "fieldName": "fuelType", "value": "OK" } ], "repairDates": [ { "fieldName": "bodyDate", "value": "2025-01-14T00:00:00.000Z" } ] }, "links": { "callbackURL": "http://yourapplication.com/api/callbackurl", "externalLink": "http://yourapplication.com/link-or-uuid" } } '

 

Example of just updating a single custom field:

 

curl --location 'us-east-1.api.bodyshopbooster.com/open-api/v0.1/repair' \ --header 'X-Booster-API-Key: {{access_key}}' \ --header 'Content-Type: application/json' \ --data ' { "customerInfo": { "phoneNums": [ { "phoneNum": "5551231234", "phoneNumExtension": "", "type": "CP" } ], "emails": [ { "email": "", "type": "EM" } ] }, "vehicleInfo": {}, "insurerInfo": {}, "repairInfo": { "id": "B91FB869-E874-4B67-9319-97EB42966D73" }, "repairEvent": { }, "estimateInfo": {}, "customFieldsInfo": { "customerDetails": [], "repairDetails": [], "insuranceDetails": [], "repairDates": [ { "fieldName": "bodyDate", "value": "2025-01-14T00:00:00.000Z" } ] }, "links": { "callbackURL": "http://yourapplication.com/api/callbackurl", "externalLink": "http://yourapplication.com/link-or-uuid" } } '