Pular para o conteúdo principal

ReceivableRegistrarObservation

observationIdstringobrigatório
decisionstringobrigatório

Valores possíveis: [APPLIED, NO_CHANGE, IGNORED_DUPLICATE, IGNORED_STALE, CONFLICT, REJECTED_INVALID]

values objectobrigatório
property name*string
provenance objectobrigatório
schemaVersionintegerobrigatório
aggregateTypestringobrigatório

Valores possíveis: [RECEIVABLE]

aggregateIdstringobrigatório
originTypestringobrigatório

Valores possíveis: [REGISTRAR, CLIENT, BACKOFFICE, SYSTEM]

originChannelstringobrigatório

Valores possíveis: [TAG, NUCLEA, CONTROL_PANEL, BACKOFFICE_API, WORKER, MIGRATION]

actorTypestringobrigatório

Valores possíveis: [PROVIDER, USER, SERVICE]

actorIdstring
actorRolestring
clientIdstring
companyTaxIdstring
registrarstring

Valores possíveis: [TAG, NUCLEA]

providerEventIdstring
providerObjectIdstring
providerVersionstring
providerSequencestring
orderBasisstring

Valores possíveis: [PROVIDER_SEQUENCE, PROVIDER_VERSION, EFFECTIVE_AT, RECEIVED_AT]

occurredAtstring<date-time>obrigatório
effectiveAtstring<date-time>
receivedAtstring<date-time>obrigatório
correlationIdstringobrigatório
causationIdstring
commandIdstring
operationIdstring
reasonCodestring
relatedObservationIdsstring[]

Identificadores de observações imutáveis considerados em uma resolução de conflito do backoffice.

Valores possíveis: <= 20

stateHashBeforestring
stateHashAfterstring
versioninteger<int64>obrigatório
historicalCompletenessHistoricalCompleteness (string)obrigatório

Valores possíveis: [COMPLETE_FROM_CREATION, FROM_BASELINE]

ReceivableRegistrarObservation
{
"observationId": "string",
"decision": "APPLIED",
"values": {},
"provenance": {
"schemaVersion": 0,
"aggregateType": "RECEIVABLE",
"aggregateId": "string",
"originType": "REGISTRAR",
"originChannel": "TAG",
"actorType": "PROVIDER",
"actorId": "string",
"actorRole": "string",
"clientId": "string",
"companyTaxId": "string",
"registrar": "TAG",
"providerEventId": "string",
"providerObjectId": "string",
"providerVersion": "string",
"providerSequence": "string",
"orderBasis": "PROVIDER_SEQUENCE",
"occurredAt": "2024-07-29T15:51:28.071Z",
"effectiveAt": "2024-07-29T15:51:28.071Z",
"receivedAt": "2024-07-29T15:51:28.071Z",
"correlationId": "string",
"causationId": "string",
"commandId": "string",
"operationId": "string",
"reasonCode": "string",
"relatedObservationIds": [
"string"
],
"stateHashBefore": "string",
"stateHashAfter": "string",
"version": 0,
"historicalCompleteness": "COMPLETE_FROM_CREATION"
}
}