Statistical Journals

Get StatisticalJournal record

Retrieve a specific StatisticalJournal record by its record number with all related data.

get/public/v2/statistical-journals/{record_number}/

Path parameters

record_numberinteger required

The number attribute of the record.

The number attribute of the record.

Query parameters

searchstring nullable
numberinteger[] nullable
company_idinteger[] nullable
account_idinteger[] nullable
account_numberinteger[] nullable
line_account_idinteger[] nullable
line_account_numberinteger[] nullable
period_startstring date nullable
period_endstring date nullable
date_startstring date nullable
date_endstring date nullable
record_statusRecordStatus[] nullable
updated_afterstring date-time nullable
updated_beforestring date-time nullable

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 3 of the 14 revisions of this API.8214

  • 48edcb3acb7423See the full diff
    • removed the optional property has_more_lines from the response with the 200 status

      response-optional-property-removed

    • removed the optional property lines_count from the response with the 200 status

      response-optional-property-removed

    • api operation id get_StatisticalJournalV2_record removed and replaced with get_StatisticalJournal_record

      api-operation-id-removed

    • the response property items became required for the status 200

      response-property-became-required

    • the items response's property default value was removed for the status 200

      response-property-default-value-removed

    This revision also has 93 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 506e6073d19177See 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 new optional query request parameter account_id

      new-optional-request-parameter

    • added the new optional query request parameter line_account_id

      new-optional-request-parameter

    • added the new optional query request parameter line_account_number

      new-optional-request-parameter

    • 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

    This revision also has 21 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 64136e8e19bb14See the full diff
    • the response property items became optional for the status 200

      response-property-became-optional

    • api operation id get_StatisticalJournal_record removed and replaced with get_StatisticalJournalV2_record

      api-operation-id-removed

    • added the optional property has_more_lines to the response with the 200 status

      response-optional-property-added

    • added the optional property lines_count to the response with the 200 status

      response-optional-property-added

    • the items response's property default value was added for the status 200

      response-property-default-value-added

    This revision also has 16 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog