Xero · Example Payload

Xero Getassettypes Example

AccountingBank FeedsFinanceFinancial-ServicesInvoicingPayrollSmall Business

Xero Getassettypes 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": "getAssetTypes",
  "method": "GET",
  "path": "/AssetTypes",
  "summary": "Xero searches fixed asset types",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": [
        {
          "assetTypeId": "710255c6-d2ed-4463-b992-06c8685add5e",
          "assetTypeName": "Computer Equipment",
          "fixedAssetAccountId": "37c35de7-8df0-44bf-8e7c-f1f67cf6a278",
          "depreciationExpenseAccountId": "0fbd1820-9dd0-454a-9515-6ec076a84cf7",
          "accumulatedDepreciationAccountId": "512eac06-6894-47cd-b421-673b4ca2693a",
          "bookDepreciationSetting": {
            "depreciableObjectId": "710255c6-d2ed-4463-b992-06c8685add5e",
            "depreciableObjectType": "AssetType",
            "bookEffectiveDateOfChangeId": "39b9c2e9-62b1-4efc-ab75-fa9152ffaa5f",
            "depreciationMethod": "StraightLine",
            "averagingMethod": "FullMonth",
            "depreciationRate": 25.0,
            "depreciationCalculationMethod": "None"
          },
          "taxDepreciationSettings": [],
          "locks": 0,
          "lockPrivateUseAccount": false
        },
        {
          "assetTypeId": "1a398a67-9d9d-4783-8689-14a8efce89d9",
          "assetTypeName": "Machinery97704",
          "fixedAssetAccountId": "5c93f577-c48f-44cd-8593-01489e319c2b",
          "depreciationExpenseAccountId": "adc14376-c960-43f0-b7f3-4063e5098039",
          "accumulatedDepreciationAccountId": "9195cadd-8645-41e6-9f67-7bcd421defe8",
          "bookDepreciationSetting": {
            "depreciableObjectId": "1a398a67-9d9d-4783-8689-14a8efce89d9",
            "depreciableObjectType": "AssetType",
            "bookEffectiveDateOfChangeId": "6d09a96d-7768-4f28-95e8-c9ac870fe36e",
            "depreciationMethod": "DiminishingValue100",
            "averagingMethod": "ActualDays",
            "depreciationRate": 40.0,
            "depreciationCalculationMethod": "None"
          },
          "taxDepreciationSettings": [],
          "locks": 0,
          "lockPrivateUseAccount": false
        }
      ]
    }
  ]
}

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-getassettypes-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.