Contracts - Protected

Reopen Contract

Reopen a closed contract.

Sets:

  • Fechado = False
  • IDestado = 1
  • Datafecho = NULL
post/api/contracts/{contract_id}/reopen

Path parameters

contract_idinteger required

Headers

x-api-tokenstring nullable

Response

Successful Response

IDinteger required
Clienteinteger nullable required
ClienteNomestring nullable required
Viaturainteger nullable required
ViaturaMatriculastring nullable required
Datastring date-time nullable required
ValorReservastring nullable required
ValorVendanumber nullable required
Fechadoboolean nullable required
Datafechostring date-time nullable required
IDestadointeger required
IDempresainteger required
IDpontodevendainteger nullable required
Comercialinteger nullable required
idresponsavelinteger nullable
ResponsavelNomestring nullable
Oferta1string nullable
Oferta2string nullable
Oferta3string nullable
Oferta4string nullable
Oferta5string nullable
Oferta6string nullable
garantiainteger nullable

Warranty ID (Z_Warranties)

meses_garantiainteger nullable

Warranty duration in months

contratopropostainteger nullable

Financing proposal ID

Dataentregastring date-time nullable

Delivery date

Reservaatestring date nullable

Reservation until date

Ivanumber nullable

VAT value

FaturaIDinteger nullable

Linked invoice ID

comissao_calculadastring nullable

Calculated commission

business_saleboolean nullable

Is a business sale

Changes