Get whether a consignado contract is still alive under the tenant
Answers whether the contract is still alive under the tenant, how it came to exist and, when it is not alive, why it left.
alive is the very proposition the command gates (suspensão, reativação, alteração de termos, antecipação, refinanciamento, renegociação, exclusão de portabilidade, CCB read) evaluate: a contract the gates refuse with 404 is alive=false here, so a client can hide the commands that would be refused.
arrival.kind is the first arrival that holds, in the order averbacao, refinanciamento, renegociacao, importacao, and arrival.at is when it settled. exit is null exactly when alive is true; otherwise it names the exit with the earliest instant among those that hold, and on a tie the order is exclusao_portabilidade, reversao_refinanciamento, exclusao, saida_dataprev.
A number the tenant never held answers 404 CLT-0005, the refusal the command gates use. It answers from local tables and never reaches Dataprev; the tenant comes from the validated identity.
Parámetros de ruta
Respuesta
OK

