Actions67
- Account Actions
- Asset Actions
- Asset Type Actions
- Base Data Actions
- Call Actions
- Contact Actions
- Contract Actions
- Crew Actions
- Document Actions
- Employee Actions
- Hours Actions
- Hour Type Actions
- Work Order Actions
Contract → Add Documents
AI-generatedSummary
Add Documents to a contract via a POST request
Inputs
- id (required) — Contract ID
- documents (required) — Array of document objects, each containing fileName and data
- requestOptions — Additional request settings such as batching, SSL verification, proxy, and timeout
Output shape
a JSON object representing the operation result
The response body is returned; may include success status and any server-provided data; no pagination; optional fields may be omitted on errors
Examples
Example 1: Add two files to contract XYZ123 in a single batch
id: XYZ123, documents: [{fileName: "spec.pdf", data: "..."}, {fileName: "terms.docx", data: "..."}], requestOptions: {batching: {batchSize: 2}, timeout: 15000}