Accounting

Creates a history record for a specific manual journal

Changed on
put/ManualJournals/{ManualJournalID}/History

Request

Path parameters

ManualJournalIDstring uuid required

Unique identifier for a ManualJournal

Headers

Idempotency-Keystring

This allows you to safely retry requests without the risk of duplicate processing. 128 character max.

Request body

Example request

{
  "HistoryRecords": [
    {
      "DateUTC": "/Date(1573755038314)/"
    }
  ]
}

Response

Success - return response of type HistoryRecords array of HistoryRecord objects

Example response

{
  "HistoryRecords": [
    {
      "DateUTC": "/Date(1573755038314)/"
    }
  ]
}

Changes

    • info

      added the new optional header request parameter Idempotency-Key

    • breaking

      added the new path request parameter ManualJournalID

    • breaking

      added the new required header request parameter xero-tenant-id to all path's operations

    • breaking

      request body became required

    • info

      added the media type application/json to the request body

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status