Upcoming improvements to Assets API

By Christofer Andersson
12/10/20 15:15

Intelliflo will implement improvements to its Assets API (https://developer.intelliflo.com/apis?tags=assets )

 

The current Assets API include the asset's address in the contract. This will change and we will start using our Address API for this instead. In step one we will include the id and href to the address resource for the asset. The old address properties will then be deprecated at the end of the year (depending on the feedback we get from you).

 

Current contract:

{

  "assetType": "Cash",

  "currentValue": {

    "value": {

      "currency": "string",

      "amount": "string"

    },

    "href": "string",

    "id": 0,

    "valuedOn": "2020-10-12T13:26:37.431Z"

  },

  "isInvestmentProperty": false,

  "description": "string",

  "isLoanAmount": false,

  "isVisibleToClient": false,

  "href": "string",

  "exchangeRate": {

    "currency": "string",

    "rate": 0

  },

  "income": {

    "href": "string",

    "id": 0

  },

  "owners": [

    {

      "href": "string",

      "id": 0,

      "percentOwnership": 0

    }

  ],

  "purchasePrice": {

    "currency": "string",

    "amount": "string"

  },

  "currency": "string",

  "purchasedOn": "2020-10-12T13:26:37.431Z",

  "plan": {

    "href": "string",

    "id": 0

  },

  "address": {

    "locality": "string",

    "country": {

      "code": "string",

      "name": "string"

    },

    "line4": "string",

    "line3": "string",

    "line2": "string",

    "line1": "string",

    "county": {

      "code": "string",

      "name": "string"

    },

    "postalCode": "string"

  },

  "id": 0,

  "originalValue": {

    "value": {

      "currency": "string",

      "amount": "string"

    },

    "href": "string",

    "id": 0,

    "valuedOn": "2020-10-12T13:26:37.431Z"

  }

}

------------

After the change:

{

  "assetType": "Cash",

  "currentValue": {

    "value": {

      "currency": "string",

      "amount": "string"

    },

    "href": "string",

    "id": 0,

    "valuedOn": "2020-10-12T13:26:37.431Z"

  },

  "isInvestmentProperty": false,

  "description": "string",

  "isLoanAmount": false,

  "isVisibleToClient": false,

  "href": "string",

  "exchangeRate": {

    "currency": "string",

    "rate": 0

  },

  "income": {

    "href": "string",

    "id": 0

  },

  "owners": [

    {

      "href": "string",

      "id": 0,

      "percentOwnership": 0

    }

  ],

  "purchasePrice": {

    "currency": "string",

    "amount": "string"

  },

  "currency": "string",

  "purchasedOn": "2020-10-12T13:26:37.431Z",

  "plan": {

    "href": "string",

    "id": 0

  },

  "address": {

    "id": 1, //New property

    "href": "string", //New property

    "locality": "string",

    "country": {

      "code": "string",

      "name": "string"

    },

    "line4": "string",

    "line3": "string",

    "line2": "string",

    "line1": "string",

    "county": {

      "code": "string",

      "name": "string"

    },

    "postalCode": "string"

  },

  "id": 0,

  "originalValue": {

    "value": {

      "currency": "string",

      "amount": "string"

    },

    "href": "string",

    "id": 0,

    "valuedOn": "2020-10-12T13:26:37.431Z"

  }

}

 

 

 

 

 

   

API

Subscribe to Email Updates

Recent Posts

Follow Me

© 2015 Intelliflo Ltd