Waivers
Adds waiver templates and waiver submission fields to booking flows.
Last updated
{
"// ...rest of product object": "...",
"waiverPer": "UNIT",
"waiverRequired": true,
"waivers": [
{
"id": "6d8c49eb-d6d3-4f03-a242-6f5f95f4d56f",
"title": "Participant Release and Assumption of Risk",
"shortDescription": "Required before tour participation.",
"content": "I acknowledge and accept the risks of participation.\n\n-First Name-=__\n-Email-=__(\"type\":\"email\")\n-Signature-=__(\"type\":\"signature\")\n-Country-=__(\"type\":\"country\")",
"fields": [
{
"id": "first_name",
"internalName": "First Name",
"title": "First Name",
"shortDescription": null,
"required": true,
"inputType": "text",
"maxLength": null,
"selectOptions": []
},
{
"id": "email",
"internalName": "Email",
"title": "Email",
"shortDescription": null,
"required": true,
"inputType": "email",
"maxLength": null,
"selectOptions": []
},
{
"id": "signature",
"internalName": "Signature",
"title": "Signature",
"shortDescription": null,
"required": true,
"inputType": "signature",
"maxLength": null,
"selectOptions": []
},
{
"id": "country",
"internalName": "Country",
"title": "Country",
"shortDescription": null,
"required": true,
"inputType": "country",
"maxLength": null,
"selectOptions": []
}
]
}
]
}{
"// ...rest of booking write request object": "...",
"waiverId": "6d8c49eb-d6d3-4f03-a242-6f5f95f4d56f",
"waiverFieldValues": [
{
"fieldId": "first_name",
"value": "Jane"
},
{
"fieldId": "email",
"value": "jane.doe@goldengatetours.com"
},
{
"fieldId": "signature",
"value": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA..."
},
{
"fieldId": "country",
"value": "US"
}
]
}{
"// ...rest of booking write request object": "...",
"waiverId": "6d8c49eb-d6d3-4f03-a242-6f5f95f4d56f",
"waiverFieldValues": [
{
"fieldId": "first_name",
"value": "Jane"
},
{
"fieldId": "email",
"value": "jane.doe@goldengatetours.com"
},
{
"fieldId": "signature",
"value": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA..."
},
{
"fieldId": "country",
"value": "US"
}
],
"waiverFile": "data:application/pdf;base64,JVBERi0xLjQKJcTl8uXr..."
}{
"// ...rest of booking unit item write request object": "...",
"waiverId": "6d8c49eb-d6d3-4f03-a242-6f5f95f4d56f",
"waiverFieldValues": [
{
"fieldId": "first_name",
"value": "Jane"
},
{
"fieldId": "email",
"value": "jane.doe@goldengatetours.com"
},
{
"fieldId": "signature",
"value": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA..."
},
{
"fieldId": "country",
"value": "US"
}
],
"waiverFile": "data:application/pdf;base64,JVBERi0xLjQKJcTl8uXr..."
}{
"// ...rest of booking object": "...",
"waiverId": "6d8c49eb-d6d3-4f03-a242-6f5f95f4d56f",
"waiverFileUrl": "https://api.ventrata.com/uploads/waivers/waiver_booking_10045.pdf",
"waiverFieldValues": [
{
"fieldId": "first_name",
"value": "Jane"
},
{
"fieldId": "email",
"value": "jane.doe@goldengatetours.com"
},
{
"fieldId": "signature",
"value": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA..."
},
{
"fieldId": "country",
"value": "US"
}
],
"waiversComplete": true
}{
"// ...rest of booking unit item object": "...",
"waiverId": "6d8c49eb-d6d3-4f03-a242-6f5f95f4d56f",
"waiverFileUrl": "https://api.ventrata.com/uploads/waivers/waiver_booking_10045.pdf",
"waiverFieldValues": [
{
"fieldId": "first_name",
"value": "Jane"
},
{
"fieldId": "email",
"value": "jane.doe@goldengatetours.com"
},
{
"fieldId": "signature",
"value": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA..."
},
{
"fieldId": "country",
"value": "US"
}
],
"waiversComplete": true
}