Documentação

ReferênciaPropostas

Listar propostas

GET/proposals

Lista propostas da organização com paginação baseada em cursor.

Autorização

X-API-Keystringobrigatóriono cabeçalho

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

Parâmetros de consulta

cursorstring

Token opaco de cursor para paginação. Obtido via page_info.end_cursor da resposta anterior.

limitinteger

Número de itens por página, até 100; acima disso, 100. Sem valor, ou menor que 1, são 10.

formatoint64
statusstring

Mantém só as propostas neste status

Valores aceitos:draftsubmittedrejectedconverted
transaction_typestring

Mantém só as propostas deste tipo de transação

Valores aceitos:saleexchangeexchange_with_cashfinancing

Respostas

itemsobject[]obrigatório
page_infoobjectobrigatório
curl -X GET "https://api.nobur.com.br/public/v1/proposals" \  -H "X-API-Key: <token>"
{  "items": [    {      "business_conditions": "string",      "checklist_policy": "string",      "content_file_size": 0,      "content_file_type": "string",      "created_at": "2019-08-24T14:15:22Z",      "created_by": "string",      "has_pdf": true,      "has_signed_pdf": true,      "id": "string",      "key_delivery_terms": "string",      "metadata": {        "property1": null,        "property2": null      },      "notes": "string",      "organization_id": "string",      "payment_conditions": "string",      "payment_method": "string",      "pdf_file_type": "string",      "pdf_generated_at": "2019-08-24T14:15:22Z",      "proposal_number": "string",      "share_options": {        "show_documents": true,        "show_parties": true,        "show_property": true      },      "share_token": "string",      "share_token_created_at": "2019-08-24T14:15:22Z",      "share_token_created_by": "string",      "share_token_enabled": true,      "share_token_expires_at": "2019-08-24T14:15:22Z",      "signature_envelope_id": "string",      "signature_expiry_days": 0,      "signature_type": "simple_consent",      "signatures_completed_at": "2019-08-24T14:15:22Z",      "signatures_requested_at": "2019-08-24T14:15:22Z",      "status": "draft",      "target_property_id": "string",      "template_id": "string",      "tenant_id": "string",      "total_value": 0,      "transaction_date": "2019-08-24",      "transaction_location": "string",      "transaction_type": "sale",      "updated_at": "2019-08-24T14:15:22Z",      "updated_by": "string",      "visibility": "restricted"    }  ],  "page_info": {    "end_cursor": "string",    "has_next_page": true,    "has_previous_page": true,    "start_cursor": "string",    "total": 0  }}