Accounting

Retrieves attachment for a specific manual journal

Changed on
get/ManualJournals/{ManualJournalID}/Attachments

Request

  • Base URL
    https://api.xero.com/api.xro/2.0
  • Auth
    OAuth 2
    Authorization codehttps://login.xero.com/identity/connect/authorize
    Token URLhttps://identity.xero.com/connect/token
    Scopesaccounting.attachments, accounting.attachments.read

Path parameters

ManualJournalIDstring uuid required

Unique identifier for a ManualJournal

Response

Success - return response of type Attachments array with all Attachments for a ManualJournals

Example response

{
  "Attachments": [
    {
      "AttachmentID": "00000000-0000-0000-0000-000000000000",
      "FileName": "xero-dev.jpg",
      "Url": "https://api.xero.com/api.xro/2.0/Accounts/da962997-a8bd-4dff-9616-01cdc199283f/Attachments/sample5.jpg",
      "MimeType": "image/jpg"
    }
  ]
}

Changes

    • 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

      the response's body type changed from no type to object for status

    • info

      added the optional property to the response with the status

    • breaking

      the response's body type changed from object to no type for status

    • warning

      deleted the path request parameter ManualJournalID

    • warning

      removed the optional property from the response with the status