Statistical Journals

Create StatisticalJournal record attachments

Upload attachments to a StatisticalJournal record.

post/public/v1/statistical-journals/{record_number}/attachments/

Path parameters

record_numberinteger required

The number attribute of the record.

The number attribute of the record.

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.

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
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 2 of the 15 revisions of this API.75

    • added the new optional header request parameter Idempotency-Key

      new-optional-request-parameter

  • 1567592ca1d474See the full diff
    • the response property items/items/account_id became nullable for the status 200

      response-property-became-nullable

    • the response property items/items/account_name became nullable for the status 200

      response-property-became-nullable

    • the response property items/items/account_number became nullable for the status 200

      response-property-became-nullable

    • the response property items/items/account_id became optional for the status 200

      response-property-became-optional

    • the response property items/items/account_name became optional for the status 200

      response-property-became-optional

    • the response property items/items/account_number became optional for the status 200

      response-property-became-optional

    • the response property items/items/company_id became optional for the status 200

      response-property-became-optional

    • added the required property account_id to the response with the 200 status

      response-required-property-added

    • added the required property account_name to the response with the 200 status

      response-required-property-added

    • added the required property account_number to the response with the 200 status

      response-required-property-added

    • added the required property id to the response with the 200 status

      response-required-property-added