Adds or updates supplementary installation information for an existing vehicle record. This includes door aperture wiring, power supply cable details, and any important installation notes. Images are uploaded as base64 data URLs.
Endpoint: WRITE service
Action: addSupplementaryInfo
Request
Must be "addSupplementaryInfo".
The ID of the vehicle record to update.
Description of the door aperture/unlock wiring (color, connector location).
Description of the power supply cable (color, location, connector).
Any important installation notes or warnings for this vehicle.
Base64 data URL of a photo showing the aperture wiring location. Pass null to skip.
Base64 data URL of a photo showing the power cable location. Pass null to skip.
Response
Always "success" on success.
Example
const WRITE_ENDPOINT = 'https://script.google.com/macros/s/AKfycbyzP3RwEAqxJN8xzrqxjlsChx4xDgRuvpW-ygWM9teMHM0hWl0DDx91gR3TTR832BWakQ/exec';
const response = await fetch(WRITE_ENDPOINT, {
method: 'POST',
headers: { 'Content-Type': 'text/plain' },
body: JSON.stringify({
action: 'addSupplementaryInfo',
payload: {
vehicleId: 42,
apertura: 'Cable verde, conector de 8 pines debajo del volante',
cableAlimen: 'Cable rojo grueso junto al fusible principal',
notaImportante: 'Desconectar batería antes de intervenir el sistema de airbags',
imgApertura: 'data:image/jpeg;base64,/9j/4AAQ...',
imgCableAlimen: null
}
}),
redirect: 'follow'
});
const result = await response.json();
if (result.status === 'success') {
console.log('Supplementary info saved for vehicle 42');
}