Skip to main content

Query Documents


Request

ENDPOINT
/assignment_contract/assignment_contract/ASSIGNMENT_CONTRACT_KEY/attached_document/DOCUMENT_KEY
METHOD
GET

Path Params

ParameterDescription
assignment_contract_keyAssignment contract key
document_keyDocument key

Response

STATUS
200
{
"document_key":"UUID",
"document_type":"manager_declaration | assignment_contract",
"status":"signed | pending_signature",
"document_template_key":"UUID",
"required_parties":[
"manager | consultant | attestant"
],
"download_url":"url para download do documento"
}
Note

The download url field provides the signed URL for downloading the document in its most current version, meaning if the document is signed it will be provided through this same URL. It expires and should not be used for timeless queries.


Attached Document Definition

FieldTypeDescriptionCharacters
document_key *stringDocument unique identification key.36
document_type *stringDocument type.--
status *stringDocument status.See Document status enumerators.
document_template_keystringUnique identification key of the template that generated the document.36
required_partiesarrayList of parties that sign the document in question.--
download_urlstringPDF download URL.--

Enumerators

Attached Document Status

EnumeratorDescription
pending_generatePending document generation
approvedDocument generated
signedDocument signed