Statistical Journals

Create StatisticalJournal record

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

post/public/v1/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
codestring nullable
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
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

Changes

Changed in 3 of the 27 revisions of this API.819

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    • ○

      added the new optional header request parameter Idempotency-Key

      new-optional-request-parameter

  • 1567592ca1d4817See the full diff
    • ▲

      added the new required request property

      new-required-request-property

    • ▲

      the response property // became nullable for the status

      response-property-became-nullable

    • ▲

      the response property // became nullable for the status

      response-property-became-nullable

    • ▲

      the response property // became nullable for the status

      response-property-became-nullable

    • ▲

      the response property // became optional for the status

      response-property-became-optional

    • ▲

      the response property // became optional for the status

      response-property-became-optional

    • ▲

      the response property // became optional for the status

      response-property-became-optional

    • ▲

      the response property // became optional for the status

      response-property-became-optional

    • ●

      removed the request property //

      request-property-removed

    • ○

      added the new optional request property //

      new-optional-request-property

    • ○

      the request property //// became nullable

      request-property-became-nullable

    • ○

      the request property //// became optional

      request-property-became-optional

    • ○

      added the required property to the response with the status

      response-required-property-added

    • ○

      added the required property to the response with the status

      response-required-property-added

    • ○

      added the required property to the response with the status

      response-required-property-added

    • ○

      added the required property to the response with the status

      response-required-property-added

Of the 27 revisions, 1 has no diff computed.