This object allows you to add or create documents related to a borrower. There are multiple ways to use document object:
To create a new document there are two steps:
When a new document is rendered from the template you just need to complete step #1.
OK
[- {
- "id": "string",
 - "createdAt": "2019-08-24T14:15:22Z",
 - "updatedAt": "2019-08-24T14:15:22Z",
 - "deletedAt": "2019-08-24T14:15:22Z",
 - "externalId": "string",
 - "autogenerated": true,
 - "isHumanBorrowerUpload": true,
 - "description": "string",
 - "status": "draft",
 - "rejectionReason": "string",
 - "archived": false,
 - "personId": "string",
 - "loanId": "string",
 - "templateVersionId": "string",
 - "evidenceId": "string",
 - "fileName": "string",
 - "contentId": "21aa1683-ca25-4edf-bc18-01ad04a4821b",
 - "contentType": "string",
 - "contentLength": 0,
 - "sensitiveData": true,
 - "conversionSourceId": "string",
 - "uploadedBy": {
- "id": "string",
 - "name": "string",
 - "userType": "agent",
 - "descriptor": "Agent bob@acme.com",
 - "employee": {
- "id": "string"
 
} 
}, - "uploadedAt": "2019-08-24T14:15:22Z",
 - "verifiedBy": {
- "id": "string",
 - "name": "string",
 - "userType": "agent",
 - "descriptor": "Agent bob@acme.com",
 - "employee": {
- "id": "string"
 
} 
}, - "verifiedAt": "2019-08-24T14:15:22Z",
 - "updatedBy": {
- "id": "string",
 - "name": "string",
 - "userType": "agent",
 - "descriptor": "Agent bob@acme.com",
 - "employee": {
- "id": "string"
 
} 
}, - "metaData": { },
 - "type": "loanTermsAgreementOnly"
 
} 
]The new document descriptor
OK
Bad request
{- "id": "string",
 - "createdAt": "2019-08-24T14:15:22Z",
 - "updatedAt": "2019-08-24T14:15:22Z",
 - "deletedAt": "2019-08-24T14:15:22Z",
 - "externalId": "string",
 - "autogenerated": true,
 - "description": "string",
 - "status": "draft",
 - "rejectionReason": "string",
 - "archived": false,
 - "loanId": "string",
 - "templateVersionId": "string",
 - "evidenceId": "string",
 - "fileName": "string",
 - "sensitiveData": true,
 - "metaData": { },
 - "type": "loanTermsAgreementOnly"
 
}{- "id": "string",
 - "createdAt": "2019-08-24T14:15:22Z",
 - "updatedAt": "2019-08-24T14:15:22Z",
 - "deletedAt": "2019-08-24T14:15:22Z",
 - "externalId": "string",
 - "autogenerated": true,
 - "isHumanBorrowerUpload": true,
 - "description": "string",
 - "status": "draft",
 - "rejectionReason": "string",
 - "archived": false,
 - "personId": "string",
 - "loanId": "string",
 - "templateVersionId": "string",
 - "evidenceId": "string",
 - "fileName": "string",
 - "contentId": "21aa1683-ca25-4edf-bc18-01ad04a4821b",
 - "contentType": "string",
 - "contentLength": 0,
 - "sensitiveData": true,
 - "conversionSourceId": "string",
 - "uploadedBy": {
- "id": "string",
 - "name": "string",
 - "userType": "agent",
 - "descriptor": "Agent bob@acme.com",
 - "employee": {
- "id": "string"
 
} 
}, - "uploadedAt": "2019-08-24T14:15:22Z",
 - "verifiedBy": {
- "id": "string",
 - "name": "string",
 - "userType": "agent",
 - "descriptor": "Agent bob@acme.com",
 - "employee": {
- "id": "string"
 
} 
}, - "verifiedAt": "2019-08-24T14:15:22Z",
 - "updatedBy": {
- "id": "string",
 - "name": "string",
 - "userType": "agent",
 - "descriptor": "Agent bob@acme.com",
 - "employee": {
- "id": "string"
 
} 
}, - "metaData": { },
 - "type": "loanTermsAgreementOnly"
 
}OK
{- "id": "string",
 - "createdAt": "2019-08-24T14:15:22Z",
 - "updatedAt": "2019-08-24T14:15:22Z",
 - "deletedAt": "2019-08-24T14:15:22Z",
 - "externalId": "string",
 - "autogenerated": true,
 - "isHumanBorrowerUpload": true,
 - "description": "string",
 - "status": "draft",
 - "rejectionReason": "string",
 - "archived": false,
 - "personId": "string",
 - "loanId": "string",
 - "templateVersionId": "string",
 - "evidenceId": "string",
 - "fileName": "string",
 - "contentId": "21aa1683-ca25-4edf-bc18-01ad04a4821b",
 - "contentType": "string",
 - "contentLength": 0,
 - "sensitiveData": true,
 - "conversionSourceId": "string",
 - "uploadedBy": {
- "id": "string",
 - "name": "string",
 - "userType": "agent",
 - "descriptor": "Agent bob@acme.com",
 - "employee": {
- "id": "string"
 
} 
}, - "uploadedAt": "2019-08-24T14:15:22Z",
 - "verifiedBy": {
- "id": "string",
 - "name": "string",
 - "userType": "agent",
 - "descriptor": "Agent bob@acme.com",
 - "employee": {
- "id": "string"
 
} 
}, - "verifiedAt": "2019-08-24T14:15:22Z",
 - "updatedBy": {
- "id": "string",
 - "name": "string",
 - "userType": "agent",
 - "descriptor": "Agent bob@acme.com",
 - "employee": {
- "id": "string"
 
} 
}, - "metaData": { },
 - "type": "loanTermsAgreementOnly"
 
}Document descriptor fields
OK
Bad request
{- "id": "string",
 - "createdAt": "2019-08-24T14:15:22Z",
 - "updatedAt": "2019-08-24T14:15:22Z",
 - "deletedAt": "2019-08-24T14:15:22Z",
 - "externalId": "string",
 - "autogenerated": true,
 - "description": "string",
 - "status": "draft",
 - "rejectionReason": "string",
 - "archived": false,
 - "loanId": "string",
 - "templateVersionId": "string",
 - "evidenceId": "string",
 - "fileName": "string",
 - "sensitiveData": true,
 - "metaData": { },
 - "type": "loanTermsAgreementOnly"
 
}{- "id": "string",
 - "createdAt": "2019-08-24T14:15:22Z",
 - "updatedAt": "2019-08-24T14:15:22Z",
 - "deletedAt": "2019-08-24T14:15:22Z",
 - "externalId": "string",
 - "autogenerated": true,
 - "isHumanBorrowerUpload": true,
 - "description": "string",
 - "status": "draft",
 - "rejectionReason": "string",
 - "archived": false,
 - "personId": "string",
 - "loanId": "string",
 - "templateVersionId": "string",
 - "evidenceId": "string",
 - "fileName": "string",
 - "contentId": "21aa1683-ca25-4edf-bc18-01ad04a4821b",
 - "contentType": "string",
 - "contentLength": 0,
 - "sensitiveData": true,
 - "conversionSourceId": "string",
 - "uploadedBy": {
- "id": "string",
 - "name": "string",
 - "userType": "agent",
 - "descriptor": "Agent bob@acme.com",
 - "employee": {
- "id": "string"
 
} 
}, - "uploadedAt": "2019-08-24T14:15:22Z",
 - "verifiedBy": {
- "id": "string",
 - "name": "string",
 - "userType": "agent",
 - "descriptor": "Agent bob@acme.com",
 - "employee": {
- "id": "string"
 
} 
}, - "verifiedAt": "2019-08-24T14:15:22Z",
 - "updatedBy": {
- "id": "string",
 - "name": "string",
 - "userType": "agent",
 - "descriptor": "Agent bob@acme.com",
 - "employee": {
- "id": "string"
 
} 
}, - "metaData": { },
 - "type": "loanTermsAgreementOnly"
 
}OK
Not Found
The document content
OK
Bad request
{- "id": "string",
 - "createdAt": "2019-08-24T14:15:22Z",
 - "updatedAt": "2019-08-24T14:15:22Z",
 - "deletedAt": "2019-08-24T14:15:22Z",
 - "externalId": "string",
 - "autogenerated": true,
 - "isHumanBorrowerUpload": true,
 - "description": "string",
 - "status": "draft",
 - "rejectionReason": "string",
 - "archived": false,
 - "personId": "string",
 - "loanId": "string",
 - "templateVersionId": "string",
 - "evidenceId": "string",
 - "fileName": "string",
 - "contentId": "21aa1683-ca25-4edf-bc18-01ad04a4821b",
 - "contentType": "string",
 - "contentLength": 0,
 - "sensitiveData": true,
 - "conversionSourceId": "string",
 - "uploadedBy": {
- "id": "string",
 - "name": "string",
 - "userType": "agent",
 - "descriptor": "Agent bob@acme.com",
 - "employee": {
- "id": "string"
 
} 
}, - "uploadedAt": "2019-08-24T14:15:22Z",
 - "verifiedBy": {
- "id": "string",
 - "name": "string",
 - "userType": "agent",
 - "descriptor": "Agent bob@acme.com",
 - "employee": {
- "id": "string"
 
} 
}, - "verifiedAt": "2019-08-24T14:15:22Z",
 - "updatedBy": {
- "id": "string",
 - "name": "string",
 - "userType": "agent",
 - "descriptor": "Agent bob@acme.com",
 - "employee": {
- "id": "string"
 
} 
}, - "metaData": { },
 - "type": "loanTermsAgreementOnly"
 
}The document content
OK
Bad request
{- "id": "string",
 - "createdAt": "2019-08-24T14:15:22Z",
 - "updatedAt": "2019-08-24T14:15:22Z",
 - "deletedAt": "2019-08-24T14:15:22Z",
 - "externalId": "string",
 - "autogenerated": true,
 - "isHumanBorrowerUpload": true,
 - "description": "string",
 - "status": "draft",
 - "rejectionReason": "string",
 - "archived": false,
 - "personId": "string",
 - "loanId": "string",
 - "templateVersionId": "string",
 - "evidenceId": "string",
 - "fileName": "string",
 - "contentId": "21aa1683-ca25-4edf-bc18-01ad04a4821b",
 - "contentType": "string",
 - "contentLength": 0,
 - "sensitiveData": true,
 - "conversionSourceId": "string",
 - "uploadedBy": {
- "id": "string",
 - "name": "string",
 - "userType": "agent",
 - "descriptor": "Agent bob@acme.com",
 - "employee": {
- "id": "string"
 
} 
}, - "uploadedAt": "2019-08-24T14:15:22Z",
 - "verifiedBy": {
- "id": "string",
 - "name": "string",
 - "userType": "agent",
 - "descriptor": "Agent bob@acme.com",
 - "employee": {
- "id": "string"
 
} 
}, - "verifiedAt": "2019-08-24T14:15:22Z",
 - "updatedBy": {
- "id": "string",
 - "name": "string",
 - "userType": "agent",
 - "descriptor": "Agent bob@acme.com",
 - "employee": {
- "id": "string"
 
} 
}, - "metaData": { },
 - "type": "loanTermsAgreementOnly"
 
}OK
Bad request
Server misconfiguration or error
{- "id": "string",
 - "createdAt": "2019-08-24T14:15:22Z",
 - "updatedAt": "2019-08-24T14:15:22Z",
 - "deletedAt": "2019-08-24T14:15:22Z",
 - "externalId": "string",
 - "autogenerated": true,
 - "isHumanBorrowerUpload": true,
 - "description": "string",
 - "status": "draft",
 - "rejectionReason": "string",
 - "archived": false,
 - "personId": "string",
 - "loanId": "string",
 - "templateVersionId": "string",
 - "evidenceId": "string",
 - "fileName": "string",
 - "contentId": "21aa1683-ca25-4edf-bc18-01ad04a4821b",
 - "contentType": "string",
 - "contentLength": 0,
 - "sensitiveData": true,
 - "conversionSourceId": "string",
 - "uploadedBy": {
- "id": "string",
 - "name": "string",
 - "userType": "agent",
 - "descriptor": "Agent bob@acme.com",
 - "employee": {
- "id": "string"
 
} 
}, - "uploadedAt": "2019-08-24T14:15:22Z",
 - "verifiedBy": {
- "id": "string",
 - "name": "string",
 - "userType": "agent",
 - "descriptor": "Agent bob@acme.com",
 - "employee": {
- "id": "string"
 
} 
}, - "verifiedAt": "2019-08-24T14:15:22Z",
 - "updatedBy": {
- "id": "string",
 - "name": "string",
 - "userType": "agent",
 - "descriptor": "Agent bob@acme.com",
 - "employee": {
- "id": "string"
 
} 
}, - "metaData": { },
 - "type": "loanTermsAgreementOnly"
 
}[- {
- "id": "string",
 - "createdAt": "2019-08-24T14:15:22Z",
 - "updatedAt": "2019-08-24T14:15:22Z",
 - "deletedAt": "2019-08-24T14:15:22Z",
 - "caseId": "string",
 - "contactId": "string"
 
} 
]OK
{- "id": "string",
 - "createdAt": "2019-08-24T14:15:22Z",
 - "updatedAt": "2019-08-24T14:15:22Z",
 - "deletedAt": "2019-08-24T14:15:22Z",
 - "caseId": "string",
 - "contactId": "string"
 
}{- "id": "string",
 - "createdAt": "2019-08-24T14:15:22Z",
 - "updatedAt": "2019-08-24T14:15:22Z",
 - "deletedAt": "2019-08-24T14:15:22Z",
 - "caseId": "string",
 - "contactId": "string"
 
}OK
{- "id": "string",
 - "createdAt": "2019-08-24T14:15:22Z",
 - "updatedAt": "2019-08-24T14:15:22Z",
 - "deletedAt": "2019-08-24T14:15:22Z",
 - "caseId": "string",
 - "contactId": "string"
 
}The new document descriptor
OK
{- "id": "string",
 - "createdAt": "2019-08-24T14:15:22Z",
 - "updatedAt": "2019-08-24T14:15:22Z",
 - "deletedAt": "2019-08-24T14:15:22Z",
 - "externalId": "string",
 - "autogenerated": true,
 - "description": "string",
 - "status": "draft",
 - "rejectionReason": "string",
 - "archived": false,
 - "loanId": "string",
 - "templateVersionId": "string",
 - "evidenceId": "string",
 - "fileName": "string",
 - "sensitiveData": true,
 - "metaData": { },
 - "type": "loanTermsAgreementOnly"
 
}{- "id": "string",
 - "createdAt": "2019-08-24T14:15:22Z",
 - "updatedAt": "2019-08-24T14:15:22Z",
 - "deletedAt": "2019-08-24T14:15:22Z",
 - "externalId": "string",
 - "autogenerated": true,
 - "isHumanBorrowerUpload": true,
 - "description": "string",
 - "status": "draft",
 - "rejectionReason": "string",
 - "archived": false,
 - "personId": "string",
 - "loanId": "string",
 - "templateVersionId": "string",
 - "evidenceId": "string",
 - "fileName": "string",
 - "contentId": "21aa1683-ca25-4edf-bc18-01ad04a4821b",
 - "contentType": "string",
 - "contentLength": 0,
 - "sensitiveData": true,
 - "conversionSourceId": "string",
 - "uploadedBy": {
- "id": "string",
 - "name": "string",
 - "userType": "agent",
 - "descriptor": "Agent bob@acme.com",
 - "employee": {
- "id": "string"
 
} 
}, - "uploadedAt": "2019-08-24T14:15:22Z",
 - "verifiedBy": {
- "id": "string",
 - "name": "string",
 - "userType": "agent",
 - "descriptor": "Agent bob@acme.com",
 - "employee": {
- "id": "string"
 
} 
}, - "verifiedAt": "2019-08-24T14:15:22Z",
 - "updatedBy": {
- "id": "string",
 - "name": "string",
 - "userType": "agent",
 - "descriptor": "Agent bob@acme.com",
 - "employee": {
- "id": "string"
 
} 
}, - "metaData": { },
 - "type": "loanTermsAgreementOnly"
 
}The document content
Created
Request sandbox access