GET v1/customer-assets/types

Gets a list of all available asset types

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

SearchResultOfCustomerAssetTypeSearchResult
NameDescriptionTypeAdditional information
TotalCount

integer

None.

Data

Collection of CustomerAssetTypeSearchResult

None.

Response Formats

application/json, text/json

Sample:
{
  "totalCount": 1,
  "data": [
    {
      "id": 1,
      "assetType": "sample string 2",
      "hasExpirationDate": true,
      "requiresExpirationDate": true,
      "hasDatePurchased": true,
      "requiresDatePurchased": true,
      "hasPresentValue": true,
      "requiresPresentValue": true,
      "defaultStatus": {
        "id": 1,
        "name": "sample string 2"
      }
    },
    {
      "id": 1,
      "assetType": "sample string 2",
      "hasExpirationDate": true,
      "requiresExpirationDate": true,
      "hasDatePurchased": true,
      "requiresDatePurchased": true,
      "hasPresentValue": true,
      "requiresPresentValue": true,
      "defaultStatus": {
        "id": 1,
        "name": "sample string 2"
      }
    }
  ]
}

application/xml, text/xml

Sample:
<SearchResultOfCustomerAssetTypeSearchResult_SxRknhTN xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BAPI.Models">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/BAPI.Models.Assets">
    <d2p1:CustomerAssetTypeSearchResult>
      <d2p1:AssetType>sample string 2</d2p1:AssetType>
      <d2p1:DefaultStatus xmlns:d4p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
        <d4p1:_x003C_Id_x003E_k__BackingField>1</d4p1:_x003C_Id_x003E_k__BackingField>
        <d4p1:_x003C_Name_x003E_k__BackingField>sample string 2</d4p1:_x003C_Name_x003E_k__BackingField>
      </d2p1:DefaultStatus>
      <d2p1:HasDatePurchased>true</d2p1:HasDatePurchased>
      <d2p1:HasExpirationDate>true</d2p1:HasExpirationDate>
      <d2p1:HasPresentValue>true</d2p1:HasPresentValue>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:RequiresDatePurchased>true</d2p1:RequiresDatePurchased>
      <d2p1:RequiresExpirationDate>true</d2p1:RequiresExpirationDate>
      <d2p1:RequiresPresentValue>true</d2p1:RequiresPresentValue>
    </d2p1:CustomerAssetTypeSearchResult>
    <d2p1:CustomerAssetTypeSearchResult>
      <d2p1:AssetType>sample string 2</d2p1:AssetType>
      <d2p1:DefaultStatus xmlns:d4p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
        <d4p1:_x003C_Id_x003E_k__BackingField>1</d4p1:_x003C_Id_x003E_k__BackingField>
        <d4p1:_x003C_Name_x003E_k__BackingField>sample string 2</d4p1:_x003C_Name_x003E_k__BackingField>
      </d2p1:DefaultStatus>
      <d2p1:HasDatePurchased>true</d2p1:HasDatePurchased>
      <d2p1:HasExpirationDate>true</d2p1:HasExpirationDate>
      <d2p1:HasPresentValue>true</d2p1:HasPresentValue>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:RequiresDatePurchased>true</d2p1:RequiresDatePurchased>
      <d2p1:RequiresExpirationDate>true</d2p1:RequiresExpirationDate>
      <d2p1:RequiresPresentValue>true</d2p1:RequiresPresentValue>
    </d2p1:CustomerAssetTypeSearchResult>
  </Data>
  <TotalCount>1</TotalCount>
</SearchResultOfCustomerAssetTypeSearchResult_SxRknhTN>