getAccountFromSalesForce v0.0.4

Example of asset sensor for SalesForce, example of the return object

{
  “attributes”: {
    “type”: “Account”,
    “url”: “/services/data/v34.0/sobjects/Account/0011i00000A2MktAAF”
  },
  “Id”: “0011i00000A2MktAAF”,
  “IsDeleted”: false,
  “MasterRecordId”: null,
  “Name”: “SmartEngineCompanyX”,
  “Type”: “Customer - Direct”,
  “ParentId”: null,
  “BillingStreet”: null,
  “BillingCity”: null,
  “BillingState”: null,
  “BillingPostalCode”: null,
  “BillingCountry”: null,
  “BillingLatitude”: null,
  “BillingLongitude”: null,
  “BillingAddress”: null,
  “ShippingStreet”: null,
  “ShippingCity”: null,
  “ShippingState”: null,
  “ShippingPostalCode”: null,
  “ShippingCountry”: null,
  “ShippingLatitude”: null,
  “ShippingLongitude”: null,
  “ShippingAddress”: null,
  “Phone”: null,
  “Fax”: null,
  “AccountNumber”: null,
  “Website”: null,
  “PhotoUrl”: “/services/images/photo/0011i00000A2MktAAF”,
  “Sic”: null,
  “Industry”: “Machinery”,
  “AnnualRevenue”: null,
  “NumberOfEmployees”: null,
  “Ownership”: “Private”,
  “TickerSymbol”: null,
  “Description”: null,
  “Rating”: “Hot”,
  “Site”: “Ghent”,
  “OwnerId”: “0051i000000fYz5AAE”,
  “CreatedDate”: “2019-04-17T13:11:06.000+0000”,
  “CreatedById”: “0051i000000fYz5AAE”,
  “LastModifiedDate”: “2019-04-17T14:27:21.000+0000”,
  “LastModifiedById”: “0051i000000fYz5AAE”,
  “SystemModstamp”: “2019-04-17T14:49:03.000+0000”,
  “LastActivityDate”: “2019-04-17”,
  “LastViewedDate”: “2019-04-19T10:02:27.000+0000”,
  “LastReferencedDate”: “2019-04-19T10:02:27.000+0000”,
  “Jigsaw”: null,
  “JigsawCompanyId”: null,
  “CleanStatus”: “Pending”,
  “AccountSource”: null,
  “DunsNumber”: null,
  “Tradestyle”: null,
  “NaicsCode”: null,
  “NaicsDesc”: null,
  “YearStarted”: null,
  “SicDesc”: null,
  “DandbCompanyId”: null,
  “CustomerPriorityc”: “High”,
  “SLAc”: “Gold”,
  “Activec”: “Yes”,
  “NumberofLocationsc”: null,
  “UpsellOpportunityc”: null,
  “SLASerialNumberc”: null,
  “SLAExpirationDatec”: null,
  “Segmentc”: null
}

Required properties:

  • name

External Settings:

  • salesForceUser
  • salesForceToken

States:

  • Found
  • Not Found

Raw data:

  • Name (string)
  • ShippingStreet (string)
  • ShippingCity (string)
  • ShippingPostalCode (string)
  • ShippingCountry (string)
  • Phone (string)
  • Id (string)
  • OwnerId (string)
  • Site (string)
  • ShippingLatitude (double)
  • ShippingLongitude (double)
  • ShippingAddress (string)