Documentação

ReferênciaModelos de contrato

Obter modelo de contrato

GET/contract-templates/{id}

Autorização

X-API-Keystringobrigatóriono cabeçalho

Chave de API (prefixo nbr_) ou Token de Acesso Pessoal (prefixo pat_)

Parâmetros de caminho

idstringobrigatório

Identificador único do modelo de contrato

Respostas

contentstring
content_file_sizeinteger
formatoint64
content_file_typestring
content_typestringobrigatório
Valores aceitos:tiptappdfhtml
created_atstringobrigatório
formatodate-time
created_bystringobrigatório
descriptionstring
has_content_filebooleanobrigatório
idstringobrigatório
is_activebooleanobrigatório
is_systembooleanobrigatório
namestringobrigatório
organization_idstringobrigatório
processed_atstring
formatodate-time
processing_errorstring
processing_statusstring
Valores aceitos:pendingprocessingcompletedfailed
source_file_namestring
source_file_sizeinteger
formatoint64
source_file_typestring
tenant_idstringobrigatório
transaction_typestring
Valores aceitos:saleexchangeexchange_with_cashfinancing
updated_atstringobrigatório
formatodate-time
updated_bystring
workflow_execution_idstring
workflow_run_idstring
curl -X GET "https://api.nobur.com.br/public/v1/contract-templates/ctt_abc123" \  -H "X-API-Key: <token>"
{  "content": "string",  "content_file_size": 0,  "content_file_type": "string",  "content_type": "tiptap",  "created_at": "2019-08-24T14:15:22Z",  "created_by": "string",  "description": "string",  "has_content_file": true,  "id": "string",  "is_active": true,  "is_system": true,  "name": "string",  "organization_id": "string",  "processed_at": "2019-08-24T14:15:22Z",  "processing_error": "string",  "processing_status": "pending",  "source_file_name": "string",  "source_file_size": 0,  "source_file_type": "string",  "tenant_id": "string",  "transaction_type": "sale",  "updated_at": "2019-08-24T14:15:22Z",  "updated_by": "string",  "workflow_execution_id": "string",  "workflow_run_id": "string"}