Inputs

The following inputs are supported:

recordId
string

Record Id

This must correspond to an existing record in SalesDesk.

Outputs

recordFound
boolean

Record Found

record
json

Record Id

An example of the data returned is shown below.

{
  "version": 18,
  "createdAt": 1718729969610,
  "updatedBy": 118753361790548,
  "createdBy": 861416708599989,
  "name": "Edin Opportunity",
  "creationType": "User",
  "objectId": 5,
  "fieldValues": [
    {
      "value": "Fred",
      "fieldName": "name"
    },
    {
      "value": 100000,
      "fieldName": "value"
    },
    {
      "value": "proposal",
      "fieldName": "stage"
    },
    {
      "value": 10,
      "fieldName": "probability"
    },
    {
      "value": 1722384000000,
      "fieldName": "closeDate"
    },
    {
      "value": null,
      "fieldName": "source"
    },
    {
      "value": null,
      "fieldName": "products"
    },
    {
      "value": null,
      "fieldName": "description"
    },
    {
      "value": 861416708599989,
      "fieldName": "accountManager"
    },
    {
      "value": null,
      "fieldName": "resellers"
    }
  ],
  "deleted": false,
  "updatedAt": 1740516434906,
  "ownedBy": 861416708599989,
  "id": 432056223429005,
  "objectVersion": 39,
  "sharedWorkspaceIds": []
}

Exceptions

A record-not-found exception is thrown if the record cannot be found.