getAssetFromSalesForce v0.0.9

Example of asset sensor for SalesForce, raw Data example:

 "Id": "02i1i000000h1OnAAI",
  "ContactId": null,
  "AccountId": "0011i00000A2MktAAF",
  "Product2Id": "01t1i000000eMAjAAM",
  "IsCompetitorProduct": false,
  "CreatedDate": "2019-04-17T14:23:53.000+0000",
  "CreatedById": "0051i000000fYz5AAE",
  "LastModifiedDate": "2019-04-17T14:23:53.000+0000",
  "LastModifiedById": "0051i000000fYz5AAE",
  "SystemModstamp": "2019-04-17T14:23:53.000+0000",
  "IsDeleted": false,
  "Name": "EngineX",
  "SerialNumber": "12345",
  "InstallDate": "2019-04-16",
  "PurchaseDate": "2019-04-04",
  "UsageEndDate": null,
  "Status": "Installed",
  "Price": 10000,
  "Quantity": 1,
  "Description": null,
  "OwnerId": "0051i000000fYz5AAE",
  "LastViewedDate": "2019-04-18T16:09:03.000+0000",
  "LastReferencedDate": "2019-04-18T16:09:03.000+0000"
  

Required properties:

  • SerialNumber
  • Id
  • Name

External Settings:

  • salesForceUser
  • salesForceToken

States:

  • Found
  • Not Found

Raw data:

  • ContactId (string)
  • AccountId (string)
  • Product2Id (string)
  • SerialNumber (integer)
  • InstallDate (string)
  • Status (string)
  • Price (double)
  • Description (string)
  • OwnerId (string)
  • Name (string)
  • Quantity (double)
  • OwnerId (string)