Accounting
Creates a history record for a specific manual journal
Changed onput/ManualJournals/{ManualJournalID}/History
Request
- Base URLhttps://api.xero.com/api.xro/2.0
- AuthOAuth 2Authorization codehttps://login.xero.com/identity/connect/authorizeToken URLhttps://identity.xero.com/connect/tokenScopesaccounting.transactions
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
headerrequest parameterIdempotency-Key
- info
- breaking
added the new path request parameter
ManualJournalID - breaking
added the new required
headerrequest parameterxero-tenant-idto all path's operations - breaking
request body became required
- info
added the media type
application/jsonto the request body - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status
- breaking