Xero · Example Payload

Xero Getassetbyid Example

AccountingBank FeedsFinanceFinancial-ServicesInvoicingPayrollSmall Business

Xero Getassetbyid Example is an example object payload from Xero, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummaryrequestExamplesresponseExamples

Example Payload

Raw ↑
{
  "operationId": "getAssetById",
  "method": "GET",
  "path": "/Assets/{id}",
  "summary": "Xero Retrieves fixed asset by id",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "assetId": "68f17094-af97-4f1b-b36b-013b45b6ad3c",
        "assetName": "Computer47822",
        "assetNumber": "123478074",
        "purchaseDate": "2020-01-01 00:00:00",
        "purchasePrice": 100.0,
        "disposalPrice": 23.0,
        "assetStatus": "Draft",
        "trackingItems": [],
        "bookDepreciationSetting": {
          "depreciableObjectId": "68f17094-af97-4f1b-b36b-013b45b6ad3c",
          "depreciableObjectType": "Asset",
          "bookEffectiveDateOfChangeId": "5da77739-7f22-4109-b0a0-67480fb89af0",
          "depreciationMethod": "StraightLine",
          "averagingMethod": "ActualDays",
          "depreciationRate": 0.5,
          "depreciationCalculationMethod": "None"
        },
        "bookDepreciationDetail": {
          "depreciationStartDate": "2020-01-02 00:00:00",
          "priorAccumDepreciationAmount": 0.0,
          "currentAccumDepreciationAmount": 0.0,
          "currentCapitalGain": 0.0,
          "currentGainLoss": 0.0
        },
        "taxDepreciationSettings": [],
        "taxDepreciationDetails": [],
        "canRollback": true,
        "metaData": {
          "bookDepreciationDetailsCanChange": true,
          "taxDepreciationDetailsCanChange": true
        },
        "accountingBookValue": 77.0,
        "taxValues": [],
        "isDeleteEnabledForDate": true
      }
    }
  ]
}

Work with this as data

Every example here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This example
curl "https://apis.io/api/v1/examples/xero-getassetbyid-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.