Skip to main content
POST
Create assignment fund document template draft

Autorizaciones

Authorization
string
header
requerido

JWT bearer token issued by the identity provider.

Parámetros de ruta

fundId
string<uuid>
requerido

Owning assignment fund identifier.

Cuerpo

application/json
kind
enum<string>
requerido

Document kind; a fund owns the endorsement-term clausulado and nothing else.

Opciones disponibles:
assignment_term
sections
object[] | null
requerido

Ordered clauses.

Minimum array length: 1
signatureBlock
string
requerido

Signature block text.

title
string
requerido

Template title.

requiredFields
string[] | null

Placeholder field names this template declares it needs; the term recorder supplies them from the approved set's frozen snapshot.

Respuesta

Created

active
boolean
requerido

Whether this is the currently active published version.

createdAt
string
requerido

Creation timestamp (RFC3339, UTC).

id
string
requerido

Template version identifier (uuid).

kind
string
requerido

Document kind.

requiredFields
string[] | null
requerido

Declared placeholder field names.

scopeId
string
requerido

Owner identifier (uuid): the loan product or the assignment fund.

scopeKind
string
requerido

Owner kind this template hangs off (loan_product|assignment_fund).

sections
object[] | null
requerido

Ordered clauses.

signatureBlock
string
requerido

Signature block text.

status
string
requerido

Lifecycle status (draft|published).

title
string
requerido

Template title.

updatedAt
string
requerido

Last-update timestamp (RFC3339, UTC).

versionNumber
integer<int64>
requerido

Sequential version number within (tenant, product, kind).

loanProductId
string

Owning loan product identifier (uuid); absent on a fund-scoped template.

publishedAt
string

Publication timestamp (RFC3339, UTC); absent while draft.