Query the assets deposited at the câmara
Issues a LDL1012 to the Câmara LDL on behalf of an Entidade Responsável (Catálogo de Serviços do SFN v5.13, Vol II). Asks the câmara which assets are deposited for a named holder and sub-holder, with the totals it holds against them (Vol II, Evento LDL1012 Descrição). Only assets deposited for the Titular and Subtitular named in the request come back (Evento LDL1012 Observação), so a query that names the wrong holder answers empty rather than failing. The request is minted, built, signed, encrypted and durably recorded BEFORE anything reaches the queue, so this returns 202 with the control number the câmara will echo; the answer (LDL1012R1) arrives asynchronously and is read back with getLDL1012. Every amount and quantity is a decimal STRING carried to the wire exactly as written. A deployment with no send leg configured answers 503 with SILOC-0023; one whose dispatcher is not running answers 503 with SILOC-0024.
Authorizations
JWT bearer token issued by the identity provider.
Headers
Idempotency key for this state-changing request (required, max 255 characters).
255Body
CNPJ Entidade Responsável 1 ou 2 (CNPJ, [1..1]). The responsible entity this institution acts for.
Código Titular (CodTitlar, [1..1]): the holder the answer is scoped to.
Data Movimento (Data, [1..1]), as YYYY-MM-DD.
Finalidade Cobertura (FinlddCob, [1..1]): what the deposited collateral covers.
ISPB LDL: the câmara addressed (ISPB, [1..1]).
Tipo Retorno (TpRet, [1..1]): the shape of answer the câmara returns for this query.
Tipo Titular (TpTitlar, [1..1]): the holder the answer is scoped to.
Código Produto (CodProdt, [0..1]): narrows the query to one câmara product. A payload field, not the registered product.
Código Subtitular (CodSubTitlar, [0..1]).
Conta Custódia (CtSEL, [0..1]): the Selic custody account to narrow the query to.
SubTipo Ativo (SubTpAtv, [0..1]).
Tipo Ativo (TpAtv, [0..1]): narrows the query to one asset class.
Tipo Subtitular (TpTitlar, [0..1]).
Response
Accepted
Queue-put attempts made so far.
The SFN request code this row carries, e.g. LDL1002.
Outbound message id.
The control number this institution issued (NumCtrlIF). The câmara echoes it on the answer, which is what correlates the two.
The BCMSG operation number of the frame.
The request exactly as it was submitted, projected verbatim.
Lifecycle state. REFUSED means the câmara received the request and returned its E twin; FAILED means this rail could not deliver it. Both are terminal and they are different facts.
SUBMITTED, DISPATCHED, ANSWERED, REFUSED, FAILED When the request was recorded.
What the câmara answered; omitted until it has answered.
True only on an ANSWERED message whose answer body this rail does not hold. The câmara did answer; what it wrote is not here, and the missing answer block is that absence, never an empty answer. Omitted otherwise.
When the câmara's answer was applied; omitted until it is.
When the frame reached the send queue; omitted until it has.
Why the last queue put failed, or — on REFUSED — the CodErro values the câmara marked, verbatim. Omitted when neither applies.

