Xero Assets Endpoint: GetAsset: Difference between revisions

Created page with "== Overview == The Xero '''GetAsset''' endpoint provides all the fields for a single asset specified using it's id. This endpoint only provides thr..."
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:


The Xero '''GetAsset''' [[Xero Assets Endpoints|endpoint]] provides all the fields for a single asset specified using it's id.
The Xero '''GetAsset''' [[Xero Assets Endpoints|endpoint]] provides all the fields for a single asset specified using it's id.
It is a [[Function Endpoints|function]] that accepts a series of parameters.


This endpoint only provides three additional fields over the [[Xero Assets Endpoint: Assets|Assets]] endpoint.
This endpoint only provides three additional fields over the [[Xero Assets Endpoint: Assets|Assets]] endpoint.


It also provides data in a similar format to the [[Xero Assets Endpoint: AssetsExpanded|AssetsExpanded]] function.
It also provides data in a similar format to the [[Xero Assets Endpoint: AssetsExpanded|AssetsExpanded]] function.
== Parameters ==
The GetAssetis a [[Function Endpoints|function]] that accepts the following parameters.
;assetId
:A [[Field Type: GUID|guid field]] that determines the asset for which to retrieve data.
:This field is mandatory.




Line 26: Line 37:
;assetTypeId
;assetTypeId
:A [[Field Type: GUID|guid field]] that provides the id of the asset type.
:A [[Field Type: GUID|guid field]] that provides the id of the asset type.
:This field links with the [[Xero Assets Endpoint: AssetTypes|AssetTypes]] endpoint.
:This field links with the [[Xero Assets Endpoint: AssetsTypes|AssetsTypes]] endpoint.


;assetStatus
;assetStatus
Line 251: Line 262:


:[[Xero Assets Endpoint: Assets|Assets]]
:[[Xero Assets Endpoint: Assets|Assets]]
:[[Xero Assets Endpoint: AssetTypes|AssetTypes]]
:[[Xero Assets Endpoint: AssetsExpanded|AssetsExpanded]]
:[[Xero Assets Endpoint: GetAsset|GetAsset]]
:[[Xero Assets Endpoint: AssetsTypes|AssetsTypes]]