34b7cf5b4b6c

latestOpenAPI 3.1.02026-08-122324681.8 MB
Statistical Journals

Create StatisticalJournalV2 record

Create a new StatisticalJournalV2 record with the provided data. Validates all required fields and business rules.

post/public/v2/statistical-journals/

Headers

Idempotency-Keystring

Optional. A unique value (a UUID works well) identifying this operation. If the request is repeated with the same key, the original response is replayed instead of the operation running again, so a retry cannot create a duplicate record. Results are replayable for 48 hours. Reusing a key with a different request body returns 422.

Request body

account_idinteger required
datestring date nullable
memostring
record_status'draft' | 'posted' | 'archived'

Response

OK

idinteger required
numberinteger required
account_idinteger required
account_namestring required
account_numberinteger required
periodstring date required
datestring date required
memostring required
record_status'draft' | 'posted' | 'archived' required
total_quantitystring required
has_more_linesboolean
lines_countinteger
created_atstring date-time required

Date and time the record was created

updated_atstring date-time required

Date and time the record was last updated